Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
964 stars 227 forks source link

Using LCD1602 i2c Display #478

Open getimmer opened 2 years ago

getimmer commented 2 years ago

The VERSION is "Mon, 28 Jun 2021 12:40:00 GMT" I am having problems with the ESP32 Radio when using the LCD1602 i2c display. The i2c adress is set to 0x3F.

The initalisation ( at the beginning of the debug trace ) of the display looks OK: D: Start display D: Init LCD1602, I2C pins 21,15 D: Create list with acceptable WiFi networks D: Added VGV7519170263 to list of networks D: End adding networks

The end of the trace when using the LCD1602 Display, it is not connecting to the network D: endFillByte is 0 D: Connect to WiFi D: Try WiFi VGV7519170263 D: WiFi Failed! Trying to setup AP with name ESP32Radio and password ESP32Radio. D: IP = 192.168.4.1 D: Start server for commands D: Rotary encoder is enabled D: STOP requested D: Song stopped correctly after 0 msec

When using the LCD2004 i2c display set to adress 0x27 everything is working fine. Is this a known phenomena or bug ?

Regards Gé

h1aji commented 2 years ago

You should use I2C scanner sketch to verify address.

For example: https://www.esp32.com/viewtopic.php?t=4742