I'm running a esp8266 with 4M and SSD1306 LCD integrated on software mega-20240822.
I'm not able to enable the LCD in the Devices TAB/Task setting. When I select enable and press "Submit" the page is reloaded with enabled selection set to disabled. This is the case for both Devices SSD1306 and SSD1306 Framed. The same behaviour can be observed with a MAX ESP32-S3 and a NodeMCU with ESP8266.
What am I doing wrong here ?
I want to use the LCD to display data from my Deepsleep Espeasy temp sensors.
Can anyone help me with the problem ?
Thanks in advance.
Jos
The Netherlands
Cannot enable SSD1306 LCD in Task Settings
Moderators: grovkillen, Stuntteam, TD-er
Cannot enable SSD1306 LCD in Task Settings
- Attachments
-
- When I select enable and press 'Submit" the selection is made undone when reloaded
- Enable on SDD1306 Framed does not stick.png (8.58 KiB) Viewed 786 times
-
- When I select enable and press 'Submit" the selection is made undone when reloaded
- Enable on SDD1306 does not stick.png (9 KiB) Viewed 786 times
-
- ESP8266 with integrated SSD1306 LCD
- 8266 with LCD SSD1306.jpg (102.83 KiB) Viewed 786 times
Last edited by JosD on 12 Sep 2024, 11:18, edited 1 time in total.
Re: Cannot enable SSD1306 LCD in Task Settings
Most likely your I2C configuration isn't correct, maybe the SDA and SCL pins are swapped or configured incorrectly? I assume the I2C scan (Tools page) doesn't list the display either?
/Ton (PayPal.me)
Re: Cannot enable SSD1306 LCD in Task Settings
Because this is an integrated module with OLED on the board, I checked the pinout with the manufacture https://heltec.org/project/wifi-kit-8/ and it is the standaard setup GPIO-4 SDA and GPIO-5 SLA. But it does not show up in the I2C scan, I suppose the OLED is broken. I have to get a new board.
Thanks for support.
Thanks for support.
- Attachments
-
- Nothing found
- Nothing found.png (12.57 KiB) Viewed 778 times
-
- pinout
- module.png (335.82 KiB) Viewed 779 times
Re: Cannot enable SSD1306 LCD in Task Settings
Those boards with integrated OLED sometimes need to have some reset pin configured.
And since ESPEasy by default does have "Check I2C devices when enabled" checked (tools->Advanced page), it will not allow you to keep the task enabled if the device cannot be found via I2C scan.
You should test if GPIO-16 of your board needs to be pulled up or down before the display can be used.
Simple test is to set the pin via the command line field on the tools page and then see if it can be found via I2C scan
Or change the last argument to 0.
If this does help, then you can set the OLED_RST pin via rules or on the Hardware tab as GPIO boot state.
Remember to uncheck "Check I2C devices when enabled" on the tools->Advanced page if you can't get it to work after reboot even with GPIO-16 set on the Hardware tab.
And since ESPEasy by default does have "Check I2C devices when enabled" checked (tools->Advanced page), it will not allow you to keep the task enabled if the device cannot be found via I2C scan.
You should test if GPIO-16 of your board needs to be pulled up or down before the display can be used.
Simple test is to set the pin via the command line field on the tools page and then see if it can be found via I2C scan
Code: Select all
gpio,16,1
If this does help, then you can set the OLED_RST pin via rules or on the Hardware tab as GPIO boot state.
Remember to uncheck "Check I2C devices when enabled" on the tools->Advanced page if you can't get it to work after reboot even with GPIO-16 set on the Hardware tab.
Re: Cannot enable SSD1306 LCD in Task Settings
Thanks TD-er !
Your info has helped me to make the OLED screen work great !
I now have my project complete. 5 tempssensors in deepsleep send data via P2Pnetwerking to the OLED NodeMCU, which shows all temp data and it is also sended to Domoticz for historical information.
I had to set RST pin OLED (GPIO16) to HIGH in tab HARDWARE -> GPIO boot state
Hopefully other EspEasy user can also use this info when they run into the same problems.
Keep up the good work !!
Your info has helped me to make the OLED screen work great !
I now have my project complete. 5 tempssensors in deepsleep send data via P2Pnetwerking to the OLED NodeMCU, which shows all temp data and it is also sended to Domoticz for historical information.
I had to set RST pin OLED (GPIO16) to HIGH in tab HARDWARE -> GPIO boot state
Hopefully other EspEasy user can also use this info when they run into the same problems.
Keep up the good work !!
- Attachments
-
- Working LCD/OLED screen !!!!
- working LCD !!.jpg (83.48 KiB) Viewed 709 times
-
- Boot state GPIO16 must be set HIGH
- output at boot GPIO16.png (4.44 KiB) Viewed 709 times
Who is online
Users browsing this forum: No registered users and 0 guests