ssd1306 oled on i2c not showing up ( esp Azure iot kit )
ssd1306 oled on i2c not showing up ( esp Azure iot kit )
I used esp32_azure_iot_kit example code from this repo.
I tried using esp_tool to scan for available devices, Except OLED ( addr: 0x3c ) other sensors are showing up. Below is the result on i2cdetect
Scanning I2C Addresses
.. .. .. .. .. .. .. .. .. .. .. .. .. .. 0E ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. 23 .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 5F
.. .. .. .. .. .. .. .. 68 .. .. .. .. 6D .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
I tried using esp_tool to scan for available devices, Except OLED ( addr: 0x3c ) other sensors are showing up. Below is the result on i2cdetect
Scanning I2C Addresses
.. .. .. .. .. .. .. .. .. .. .. .. .. .. 0E ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. 23 .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 5F
.. .. .. .. .. .. .. .. 68 .. .. .. .. 6D .. ..
.. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
-
- Posts: 132
- Joined: Thu Nov 15, 2018 2:06 am
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: ssd1306 oled on i2c not showing up ( esp Azure iot kit )
Does the display actually work if you try to control it? (FWIW, the display has a separate pin on which the ACK is sent, that should, according to the schematic, be tied into theSDA line... but if it's not, you'd get this effect.)
Re: ssd1306 oled on i2c not showing up ( esp Azure iot kit )
@ESP_Sprite
Board : Esp Azure IOT kit
It has temperature/humidity, light, motion etc,., sensors. Everything was working perfectly working when i bought it.
I flashed a example code from esp-iot-solution repo and suddenly led stopped working, now all the sensors stopped working.
when i scan for i2c device using i2ctool, i am getting this,
esp32> i2cconfig --port=1 --freq=100000 --sda=25 --scl=26
esp32> i2cdetect
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
10: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
20: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
30: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
40: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
50: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
60: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
70: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
esp32> i2cget -c 0x5F -r 0x0F
W (136645) cmd_i2ctools: Bus is busy
Iam very new to esp, I dont know how to control display. Please let me know if you have any link where I can go through and debug this.
Board : Esp Azure IOT kit
It has temperature/humidity, light, motion etc,., sensors. Everything was working perfectly working when i bought it.
I flashed a example code from esp-iot-solution repo and suddenly led stopped working, now all the sensors stopped working.
when i scan for i2c device using i2ctool, i am getting this,
esp32> i2cconfig --port=1 --freq=100000 --sda=25 --scl=26
esp32> i2cdetect
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
10: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
20: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
30: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
40: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
50: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
60: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
70: UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU UU
esp32> i2cget -c 0x5F -r 0x0F
W (136645) cmd_i2ctools: Bus is busy
Iam very new to esp, I dont know how to control display. Please let me know if you have any link where I can go through and debug this.
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: ssd1306 oled on i2c not showing up ( esp Azure iot kit )
Do you have anything connected to the ESP32 board? Did you do anything that may have broken the hardware?
Re: ssd1306 oled on i2c not showing up ( esp Azure iot kit )
No I haven't connected anything to board. I have powered up the board through USB. From debugging what i got to know is SDA value is always 0 and SCL value remains 1.
Re: ssd1306 oled on i2c not showing up ( esp Azure iot kit )
@ESP_Sprite any thought on this behavior
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: ssd1306 oled on i2c not showing up ( esp Azure iot kit )
Sorry, I'm not too familiar with that exact hardware... It seems the default firmware for the board should light up the OLED. Can you try compiling/flashing this perhaps?
Re: ssd1306 oled on i2c not showing up ( esp Azure iot kit )
@ESP_Sprite I tried but still no data from any sensors.
Re: ssd1306 oled on i2c not showing up ( esp Azure iot kit )
Nothing on the OLED too...
Who is online
Users browsing this forum: No registered users and 52 guests