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

Complete tragedy - no OLED, not user friendly install etc #508

Open Sentinel8000 opened 2 years ago

Sentinel8000 commented 2 years ago

I was realy happy after i have found this project because this looked realy a complete full circle project with lot display support. But lookslike this project working almost if all stars stay is good position. My first problem was, not realy clear the install steps, i need run first the radio init, or after? First i try simple complie and upload the code itself with arduino ide, but first comes just problem, lookslike AP 192.168.4.1 ip not compatible with my network. Step by steps instruction realy missing, this comedy video on youtube what was linked funny but not helpfully:)

After i try split my problems to steps, ok first i will be happy to see my 1106 oled display to works or a wifi. Not realy clear after i have uncomment my oled header after i need do anything or no. After i have found this ,,preference" ino and i try add:

preferences.putString ( "pin_tft_scl", "22 # GPIO Pin number for TFT CS" ) ; preferences.putString ( "pin_tft_sda", "21 # GPIO Pin number for TFT DC" ) ;

but still no picture.

However the code is almost well documented, not realy easy understand where i can change this pins directly.

After i have uploaded this prefrence ini, i was happy, because network working, but AP method (what im sure can be a must have/good feature) with the fixed IP not. Code is not ready change this ip into a custom address. I dont know possible to print into a serial monitor the received ip, because after conenction, i was blind what ip received my esp32, i need go into my router to get info:

07:06:37.690 -> D: Connect to WiFi 07:06:42.741 -> D: Start server for commands 07:06:42.741 -> D: Network found. Starting mqtt and OTA

last time i try first upload preferences ini and after the radio code. But currently see weird anomaly in prefrences with lot someting after =:

TKEY_00 = TKEY_01 = TKEY_02 = TKEY_03 = TKEY_04 = TKEY_05 = TKEY_06 = TKEY_07 = TKEY_08 = TKEY_09 = TKEY_10 = TKEY_11 = TKEY_12 = TKEY_13 = TKEY_14 = TKEY_15 = TKEY_16 = TKEY_17 = TKEY_18 = TKEY_19 = TKEY_20 = TKEY_21 = TKEY_22 = TKEY_23 = TKEY_24 = TKEY_25 = TKEY_26 = TKEY_27 = TKEY_28 = TKEY_29 = # preset = -1 # toneha = 0 tonehf = 0 tonela = 0 tonelf = 0 # volume = 0

And also still no display. What i need do to check settings for OLED 1106? where can i find the pin settings in code? What is the install/upload steps? why i see this weird data in config after upload sketch?

thank you

Edzelf commented 2 years ago

Please switch to PlatformIO and to version 2 of the radio. There is no need to fill the preferences with the init sketch. Just edit config.h And read the manual.

Sentinel8000 commented 2 years ago

I have never used platformIO, maybe i will try. config.h, where?

I think the main problem is the complexity of this project with support lot things, i read lot comments before i place this issue here, lot people fighting to bring this project life:) This can be more user friendly if will be just a minimalistic edition with Serial monitor display and web server (this can be a good thing because can change settings without upload a code) and if somebody want add itself any display commands.

I try again..somehow..., but maybe i need try find a more minimalistic project and try customize.

However thank you for your work i see the invested workhours inside.