Edzelf / ESP32-Radio

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

Installmof Nextion display #197

Closed paysan18 closed 5 years ago

paysan18 commented 5 years ago

Hello all, I want to connect a Nextion display to the radio. When I supply power to the display it starts running a kind of Demo. So it seems I have to install new firmware into it. I found inside the folder NEXTION 2 files. A .HMI of about 35kB and a .tft file of 2 bytes. After copying the .HMI file to a fresh formatted SD card I inserted this card into the display and connnected the power. On the screen comes: SD update...... and all remains like this. What do I do wrong? Regards, Wim

Edzelf commented 5 years ago

Looks like the .tft file is damaged. You need a .tft file to upload the data to the nextion. You may use the nextion compiler to create the .tft file. I will upload a new .tft file tomorrow.

paysan18 commented 5 years ago

Ok, but what to do with the .HMI file?

Edzelf commented 5 years ago

.hmi is the source file. It is the input for the Nextion compiler. You may edit the .hmi file to adapt the nextion interface to your needs.

Edzelf commented 5 years ago

.tft file is now complete (139 kB).

paysan18 commented 5 years ago

Great, thank a lot. I will try it this afternoon.

paysan18 commented 5 years ago

Ik probeer het van,iddag. Moet nu even weg.

Groeten, Wim

Op 10 dec. 2018 om 08:44 heeft Ed Smallenburg notifications@github.com het volgende geschreven:

.tft file is now complete (139 kB).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

paysan18 commented 5 years ago

Update succeeded. But during te restart of the radio the display shows:

Read SD card 27 tracks on SD

and this loops every second.

Looks like this message comes from the SD card in the VS1053. I removed the card and the message now says : SD card mount failed. The pin def is now back like it was before: { "pin_sd_cs", &ini_block.sd_cs_pin, -1 },

paysan18 commented 5 years ago

Everything is OK now. It seemed I also had problems with the powersupply. Ed, thanks for uploading the .tft file.

paysan18 commented 5 years ago

Issue can be closed.