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

PCB Webradio available #198

Open certeza opened 5 years ago

certeza commented 5 years ago

Dear friends,

It took some time because I was moving my workshop, but I can now offer the webradio PCB with USB connector already soldered onto the board, see webradio pcb This is a new version of the PCB, the potmeter switch of the PAM amplifier will now switch the power of the radio on and off.

Also included is a Bill of Material with links to components sold on AliExpress. I have no affiliation with AliExpress, so if can you find them cheaper or better elsewhere, be my guest.

You can get the webradio pcb on my website: nakedninja.cc

Best Regards, Harm

Edzelf commented 5 years ago

I've build the radio with your PCB. It worked without problems. The pins used are the same as my default settings. I'm still waiting for the PAM amplifier to arrive from China, but with an external amplifier it plays. Good to hear that the USB connector is already mounted, because that's a little bit hard to do. img_0752 1

MakeySQ commented 5 years ago

That's cool!!

certeza commented 5 years ago

All,

The PCB uses GPIO 16 for the DCS pin of the VS1053, so set this accordingly in defaultprefs.h: pin_vs_dcs = 16 # GPIO Pin number for VS1053 "DCS"

Edzelf commented 5 years ago

Note that changing defaultprefs.h does NOT have direct effect on the settings. Use the config page of the webinterface to change all settings including pin_vs_dcs.

trombose009 commented 4 years ago

I have build the radio too. I have two principal questions: 1.) To do the upload of the sketch, you have to plug into the esp32 directly, right? If I do so, it ends up in a boot loop. I can give more information if neccesary. 2.) If i plug in a USB-power supply at the onboard usb connector, nothing happens. the led of the esp32 does not switch on.

What could be wrong? Has anyone any idea?

Edzelf commented 4 years ago

Use the bare ESP32, without any wires or connections. Then use a USB cable to connect the ESP32 to your PC running the Arduino IDE. Upload the sketch. Replace the ESP32 is no success.

trombose009 commented 4 years ago

thank you for answering that fast. I gonna try that. thanks.

Rainer-G commented 4 years ago

Looking at the PCB picture, I cannot find the PCB's USB connector, on December's picture it is on top side of the board??? Did you check the voltage ?

Rainer

trombose009 commented 4 years ago

https://user-images.githubusercontent.com/23176307/49999283-b4e6c500-ff96-11e8-9ae9-41a038121670.jpg it's the same PCB. top left you can see the micro usb connector. I will check the voltage and try to remove the esp32 from the board this evening.

nakedninja-design commented 4 years ago

Don't forget that the potmeter switch of the PAM module is used to switch the power on and off for the entire board, including the ESP32. You should use the usb connector of the ESP32 itself to program the ESP32.

Harm

trombose009 commented 4 years ago

I have removed the ESP32-WROOM-32 from the PCB. If I try to upload any sketch, it still goes into a boot loop...

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1100 load:0x40078000,len:9232 load:0x40080400,len:6400 entry 0x400806a8 ets Jun 8 2016 00:22:57

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1100 load:0x40078000,len:9232 load:0x40080400,len:6400 entry 0x400806a8 ets Jun 8 2016 00:22:57

is it corrupt?

uploading of the sketch seems to be fine. But then the boot loop.

Rainer-G commented 4 years ago

Before putting the ESP32 into the bin, try with a different ( shorter ) USB cable and/or reduce the upload speed ...

Edzelf commented 4 years ago

As I understand, the upload succeeds, but the sketch does not start. Try the blink example first.

trombose009 commented 4 years ago

I did so. Same boot loop. I ordered a new one.

trombose009 commented 4 years ago

OK, I moved on and get the blinking thing working. but not by using Arduino IDE for uploading. I did following with success: 1.) esptool.exe --chip esp32 --port COM3 --baud 115200 --before default_reset --after hard_reset erase_flash 2.) esptool.exe --chip esp32 --port COM3 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x8000 ESPEasy.ino.partitions.bin 0xe000 boot_app0.bin 0x1000 bootloader.bin 3.) esptool.exe --chip esp32 --port COM3 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x10000 sketch_nov20a.ino.esp32.bin

sketch_nov20a.ino.esp32.bin is exported from Arduino IDE.

If I try upload the ino-file with IDE I get the boot loop. Is there any configuration wrong inside Arduino IDE?

IDE

trombose009 commented 4 years ago

OMG! suddenly it is working! I change nothing. just played around with the configuration of IDE. But With this setup shown in the screenshot, it is working now. Thank you for helping me. I know, it was a little bit off-topic but maybe it helps other newbies getting things working well. Thank you.

Rainer-G commented 4 years ago

Just for my curiosity: if you change Flash Frequency to 80 MHz and Upload Speed to 921600, will it still work ? Please try one after the other, not both changes at the same time. When I select the ESP32 Dev. Module, these values are the default ones, all other are like the ones on you screenshot. Many thanks, Rainer

trombose009 commented 4 years ago

I am not sure if i want to do that. I am happy to get this thing working now. :-)I tried different speeds, especially slower baud rates. always also adepting the driver baud rate in windows of course. but i am not sure if i have tried the suggested speed. finally (at the moment) it's also not 921600 which is working well now. 

trombose009 commented 4 years ago

It drives me crazy. I can visit the site of the radio, the nextion display also shows me the station. But the speaker only rustles and at the display I can see .... is playing. Often it reboots and during the reboot it tells me that the SD Card mount fails; Hopefully that'S normal becaus i dont have any SD card reader attached (except that on, which is included in the nextion display. But I dont think you could use this reader?!).

Edzelf commented 4 years ago

The answer is in the logging at the serial output.

trombose009 commented 4 years ago

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5828 entry 0x400806ac

D: Starting ESP32-radio running on CPU 1 at 160 MHz. Version Thu, 16 May 2019 12:10:00 GMT. Free memory 294204 D: Display type is NEXTION D: Partition nvs found, 20480 bytes D: Read 43 keys from NVS D: pin_ir set to 35 D: pin_enc_clk set to 25 D: pin_enc_dt set to 26 D: pin_enc_sw set to 27 D: pin_tft_cs set to 15 D: pin_tft_dc set to 2 D: pin_tft_scl set to -1 D: pin_tft_sda set to -1 D: pin_tft_bl set to -1 D: pin_tft_blx set to -1 D: pin_sd_cs set to 21 D: pin_vs_cs set to 5 D: pin_vs_dcs set to 16 D: pin_vs_dreq set to 4 D: pin_shutdown set to -1 D: pin_shutdownx set to -1 D: pin_spi_sck set to 18 D: pin_spi_miso set to 19 D: pin_spi_mosi set to 23 D: GPIO0 is HIGH D: GPIO2 is LOW, probably no PULL-UP D: GPIO4 is HIGH D: GPIO5 is HIGH D: GPIO12 is HIGH D: GPIO13 is HIGH D: GPIO14 is HIGH D: GPIO15 is HIGH D: GPIO16 is HIGH D: GPIO17 is HIGH D: GPIO18 is HIGH D: GPIO19 is HIGH D: GPIO21 is HIGH D: GPIO22 is HIGH D: GPIO23 is HIGH D: GPIO25 is HIGH D: GPIO26 is HIGH D: GPIO27 is HIGH D: GPIO32 is HIGH D: GPIO33 is HIGH D: GPIO34 is LOW, probably no PULL-UP D: GPIO35 is LOW, probably no PULL-UP D: GPIO39 is LOW, probably no PULL-UP D: gpio_00 will execute uppreset = 1 D: gpio_12 will execute upvolume = 2 D: gpio_13 will execute downvolume = 2 D: Enable pin 35 for IR D: Start display D: Init Nextion, pins 16,17 D: Pin 16 is already reserved! D: Nextion command cls BLACK D: Nextion command page 0 D: SD Card Mount Failed! D: Create list with acceptable WiFi networks D: Added dampfmaschine2 to list of networks D: Added SSID2 to list of networks D: End adding networks D: Scan Networks D: Scan completed D: Number of available networks: 2 D: 1 - dampfmaschine2 Signal: -85 dBm, Encryption WPA2_PSK, Acceptable D: 2 - fritzboxdampf Signal: -91 dBm, Encryption WPA_WPA2_PSK, D: End of list D: Command: clk_dst with parameter 1 D: Command: clk_offset with parameter 1 D: Command: clk_server with parameter pool.ntp.org D: Command: gpio_00 with parameter uppreset = 1 D: Command: gpio_12 with parameter upvolume = 2 D: Command: gpio_13 with parameter downvolume = 2 D: Command: ir_40bf with parameter upvolume = 2 D: Command: ir_c03f with parameter downvolume = 2 D: Command: mqttbroker with parameter 192.168.178.30 D: Command: mqttpasswd with parameter *** D: Command: mqttport with parameter 1883 D: Command: mqttprefix with parameter none D: Command: mqttuser with parameter none D: Command: pin_enc_clk with parameter 25 D: Command: pin_enc_dt with parameter 26 D: Command: pin_enc_sw with parameter 27 D: Command: pin_ir with parameter 35 D: Command: pin_sd_cs with parameter 21 D: Command: pin_tft_cs with parameter 15 D: Command: pin_tft_dc with parameter 2 D: Command: pin_vs_cs with parameter 5 D: Command: pin_vs_dcs with parameter 16 D: Command: pin_vs_dreq with parameter 4 D: Command: preset with parameter 1 D: Command: preset_00 with parameter 109.206.96.34:8100 D: Command: preset_01 with parameter airspectrum.cdnstream1.com:8114/1648_128 D: Command: preset_02 with parameter us2.internet-radio.com:8050 D: Command: preset_03 with parameter airspectrum.cdnstream1.com:8000/1261_192 D: Command: preset_04 with parameter airspectrum.cdnstream1.com:8008/1604_128 D: Command: preset_05 with parameter us1.internet-radio.com:8105 D: Command: preset_06 with parameter icecast.omroep.nl:80/radio1-bb-mp3 D: Command: preset_07 with parameter 205.164.62.15:10032 D: Command: preset_08 with parameter skonto.ls.lv:8002/mp3 D: Command: preset_09 with parameter 94.23.66.155:8106 D: Command: preset_10 with parameter 31.220.29.159:9330/stream D: Command: preset_11 with parameter ihr/IHR_TRAN D: Command: toneha with parameter 0 D: Command: tonehf with parameter 0 D: Command: tonela with parameter 0 D: Command: tonelf with parameter 0 D: Command: volume with parameter 72 D: Slow SPI, Testing VS1053 read/write registers... D: VS1053 not properly installed! D: Connect to WiFi D: Connected to dampfmaschine2 D: IP = 192.168.178.59 D: Nextion command page 1 D: Start server for commands D: Network found. Starting mqtt and OTA D: MQTT uses prefix P088E0D84 D: Init MQTT D: MDNS responder started D: Rotary encoder is enabled D: Sync TOD D: Sync TOD, new value is 20:13:52 D: STOP requested D: New preset/file requested (1/0) from airspectrum.cdnstream1.com:8114/1648_128 D: Connect to new host airspectrum.cdnstream1.com:8114/1648_128 D: Connect to airspectrum.cdnstream1.com on port 8114, extension /1648_128 D: SPI semaphore not taken within 120 ticks by CPU 0, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: Connected to server D: nvs_get_str failed 1102 for key basicauth, keylen is 9, len is 150! D: Contents: D: Duration mp3loop 1 D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 230 ticks by CPU 1, id hspec D: (Re)connecting number 1 to MQTT 192.168.178.30 D: Switch to HEADER D: Headerline: Content-Type: audio/mpeg D: audio/mpeg seen. D: Headerline: icy-br:128 D: Headerline: ice-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2 D: Headerline: icy-br:128 D: Headerline: icy-description:Today's Easy Hits from the 70s, 80s, 90s through Today! D: Headerline: icy-genre:Easy Listening D: Headerline: icy-name:Easy Hits Florida D: Headerline: icy-private:0 D: Headerline: icy-pub:1 D: Headerline: icy-url:http://www.easyhitsflorida.com D: Headerline: Server: Icecast 2.4.0-kh3 D: Headerline: Cache-Control: no-cache, no-store D: Headerline: Pragma: no-cache D: Headerline: Access-Control-Allow-Origin: * D: Headerline: Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type D: l-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type seen. D: Headerline: Access-Control-Allow-Methods: GET, OPTIONS, HEAD D: Meaderline: Connection: Close D: Headerline: Connection: Close D: Headerline: Expires: Mon, 26 Jul 1997 05:00:00 GMT D: Headerline: icy-metaint:16000 D: Switch to DATA, bitrate is 128, metaint is 16000 D: Duration mp3loop 88 D: Nextion t0.txt="ESP32-Radio" D: Nextion t2.txt="Easy Hits Florida" D: Duration mp3loop 106 D: Metadata block 48 bytes D: Streamtitle found, 42 bytes D: StreamTitle='Taco - Puttin' on the Ritz '; D: Nextion t1.txt="Taco\rPuttin' on the Ritz " D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 230 ticks by CPU 1, id hspec D: SPI semaphore not taken within 240 ticks by CPU 1, id hspec D: SPI semaphore not taken within 250 ticks by CPU 1, id hspec D: SPI semaphore not taken within 260 ticks by CPU 1, id hspec D: SPI semaphore not taken within 270 ticks by CPU 1, id hspec D: SPI semaphore not taken within 280 ticks by CPU 1, id hspec D: SPI semaphore not taken within 290 ticks by CPU 1, id hspec D: SPI semaphore not taken within 300 ticks by CPU 1, id hspec D: SPI semaphore not taken within 310 ticks by CPU 1, id hspec D: SPI semaphore not taken within 320 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 230 ticks by CPU 1, id hspec D: SPI semaphore not taken within 240 ticks by CPU 1, id hspec D: SPI semaphore not taken within 250 ticks by CPU 1, id hspec D: SPI semaphore not taken within 260 ticks by CPU 1, id hspec D: SPI semaphore not taken within 270 ticks by CPU 1, id hspec D: SPI semaphore not taken within 280 ticks by CPU 1, id hspec D: SPI semaphore not taken within 290 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 230 ticks by CPU 1, id hspec D: SPI semaphore not taken within 240 ticks by CPU 1, id hspec D: SPI semaphore not taken within 250 ticks by CPU 1, id hspec D: SPI semaphore not taken within 260 ticks by CPU 1, id hspec D: SPI semaphore not taken within 270 ticks by CPU 1, id hspec D: SPI semaphore not taken within 280 ticks by CPU 1, id hspec D: SPI semaphore not taken within 290 ticks by CPU 1, id hspec D: SPI semaphore not taken within 300 ticks by CPU 1, id hspec D: SPI semaphore not taken within 310 ticks by CPU 1, id hspec D: SPI semaphore not taken within 320 ticks by CPU 1, id hspec D: SPI semaphore not taken within 330 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: (Re)connecting number 2 to MQTT 192.168.178.30 D: MQTT connection failed, rc=-2 E (15864) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: E (15864) task_wdt: - IDLE0 (CPU 0) E (15864) task_wdt: Tasks currently running: E (15864) task_wdt: CPU 0: Playtask E (15864) task_wdt: CPU 1: loopTask E (15864) task_wdt: Aborting. abort() was called at PC 0x400e5563 on core 0

Backtrace: 0x4008cc58:0x3ffbe170 0x4008ce89:0x3ffbe190 0x400e5563:0x3ffbe1b0 0x40084f25:0x3ffbe1d0 0x400e29ce:0x3ffd78d0 0x400df569:0x3ffd78f0 0x400d2624:0x3ffd7910 0x40089369:0x3ffd7930

trombose009 commented 4 years ago

Just for my curiosity: if you change Flash Frequency to 80 MHz and Upload Speed to 921600, will it still work ? Please try one after the other, not both changes at the same time. When I select the ESP32 Dev. Module, these values are the default ones, all other are like the ones on you screenshot. Many thanks, Rainer

I tried to do that. but it is not possible to switch the driver inside windows device manager to 921600. so it's not possible.

certeza commented 4 years ago

The semaphore errors are indication of insufficient power or poor wiring.

Regards, Harm

On Wed, Nov 27, 2019, 20:16 trombose009 notifications@github.com wrote:

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5828 entry 0x400806ac

D: Starting ESP32-radio running on CPU 1 at 160 MHz. Version Thu, 16 May 2019 12:10:00 GMT. Free memory 294204 D: Display type is NEXTION D: Partition nvs found, 20480 bytes D: Read 43 keys from NVS D: pin_ir set to 35 D: pin_enc_clk set to 25 D: pin_enc_dt set to 26 D: pin_enc_sw set to 27 D: pin_tft_cs set to 15 D: pin_tft_dc set to 2 D: pin_tft_scl set to -1 D: pin_tft_sda set to -1 D: pin_tft_bl set to -1 D: pin_tft_blx set to -1 D: pin_sd_cs set to 21 D: pin_vs_cs set to 5 D: pin_vs_dcs set to 16 D: pin_vs_dreq set to 4 D: pin_shutdown set to -1 D: pin_shutdownx set to -1 D: pin_spi_sck set to 18 D: pin_spi_miso set to 19 D: pin_spi_mosi set to 23 D: GPIO0 is HIGH D: GPIO2 is LOW, probably no PULL-UP D: GPIO4 is HIGH D: GPIO5 is HIGH D: GPIO12 is HIGH D: GPIO13 is HIGH D: GPIO14 is HIGH D: GPIO15 is HIGH D: GPIO16 is HIGH D: GPIO17 is HIGH D: GPIO18 is HIGH D: GPIO19 is HIGH D: GPIO21 is HIGH D: GPIO22 is HIGH D: GPIO23 is HIGH D: GPIO25 is HIGH D: GPIO26 is HIGH D: GPIO27 is HIGH D: GPIO32 is HIGH D: GPIO33 is HIGH D: GPIO34 is LOW, probably no PULL-UP D: GPIO35 is LOW, probably no PULL-UP D: GPIO39 is LOW, probably no PULL-UP D: gpio_00 will execute uppreset = 1 D: gpio_12 will execute upvolume = 2 D: gpio_13 will execute downvolume = 2 D: Enable pin 35 for IR D: Start display D: Init Nextion, pins 16,17 D: Pin 16 is already reserved! D: Nextion command cls BLACK D: Nextion command page 0 D: SD Card Mount Failed! D: Create list with acceptable WiFi networks D: Added dampfmaschine2 to list of networks D: Added SSID2 to list of networks D: End adding networks D: Scan Networks D: Scan completed D: Number of available networks: 2 D: 1 - dampfmaschine2 Signal: -85 dBm, Encryption WPA2_PSK, Acceptable D: 2 - fritzboxdampf Signal: -91 dBm, Encryption WPA_WPA2_PSK, D: End of list D: Command: clk_dst with parameter 1 D: Command: clk_offset with parameter 1 D: Command: clk_server with parameter pool.ntp.org D: Command: gpio_00 with parameter uppreset = 1 D: Command: gpio_12 with parameter upvolume = 2 D: Command: gpio_13 with parameter downvolume = 2 D: Command: ir_40bf with parameter upvolume = 2 D: Command: ir_c03f with parameter downvolume = 2 D: Command: mqttbroker with parameter 192.168.178.30 D: Command: mqttpasswd with parameter *** D: Command: mqttport with parameter 1883 D: Command: mqttprefix with parameter none D: Command: mqttuser with parameter none D: Command: pin_enc_clk with parameter 25 D: Command: pin_enc_dt with parameter 26 D: Command: pin_enc_sw with parameter 27 D: Command: pin_ir with parameter 35 D: Command: pin_sd_cs with parameter 21 D: Command: pin_tft_cs with parameter 15 D: Command: pin_tft_dc with parameter 2 D: Command: pin_vs_cs with parameter 5 D: Command: pin_vs_dcs with parameter 16 D: Command: pin_vs_dreq with parameter 4 D: Command: preset with parameter 1 D: Command: preset_00 with parameter 109.206.96.34:8100 D: Command: preset_01 with parameter airspectrum.cdnstream1.com:8114/1648_128 D: Command: preset_02 with parameter us2.internet-radio.com:8050 D: Command: preset_03 with parameter airspectrum.cdnstream1.com:8000/1261_192 D: Command: preset_04 with parameter airspectrum.cdnstream1.com:8008/1604_128 D: Command: preset_05 with parameter us1.internet-radio.com:8105 D: Command: preset_06 with parameter icecast.omroep.nl:80/radio1-bb-mp3 D: Command: preset_07 with parameter 205.164.62.15:10032 D: Command: preset_08 with parameter skonto.ls.lv:8002/mp3 D: Command: preset_09 with parameter 94.23.66.155:8106 D: Command: preset_10 with parameter 31.220.29.159:9330/stream D: Command: preset_11 with parameter ihr/IHR_TRAN D: Command: toneha with parameter 0 D: Command: tonehf with parameter 0 D: Command: tonela with parameter 0 D: Command: tonelf with parameter 0 D: Command: volume with parameter 72 D: Slow SPI, Testing VS1053 read/write registers... D: VS1053 not properly installed! D: Connect to WiFi D: Connected to dampfmaschine2 D: IP = 192.168.178.59 D: Nextion command page 1 D: Start server for commands D: Network found. Starting mqtt and OTA D: MQTT uses prefix P088E0D84 D: Init MQTT D: MDNS responder started D: Rotary encoder is enabled D: Sync TOD D: Sync TOD, new value is 20:13:52 D: STOP requested D: New preset/file requested (1/0) from airspectrum.cdnstream1.com:8114/1648_128 D: Connect to new host airspectrum.cdnstream1.com:8114/1648_128 D: Connect to airspectrum.cdnstream1.com on port 8114, extension /1648_128 D: SPI semaphore not taken within 120 ticks by CPU 0, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: Connected to server D: nvs_get_str failed 1102 for key basicauth, keylen is 9, len is 150! D: Contents: D: Duration mp3loop 1 D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 230 ticks by CPU 1, id hspec D: (Re)connecting number 1 to MQTT 192.168.178.30 D: Switch to HEADER D: Headerline: Content-Type: audio/mpeg D: audio/mpeg seen. D: Headerline: icy-br:128 D: Headerline: ice-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2 D: Headerline: icy-br:128 D: Headerline: icy-description:Today's Easy Hits from the 70s, 80s, 90s through Today! D: Headerline: icy-genre:Easy Listening D: Headerline: icy-name:Easy Hits Florida D: Headerline: icy-private:0 D: Headerline: icy-pub:1 D: Headerline: icy-url:http://www.easyhitsflorida.com D: Headerline: Server: Icecast 2.4.0-kh3 D: Headerline: Cache-Control: no-cache, no-store D: Headerline: Pragma: no-cache D: Headerline: Access-Control-Allow-Origin: * D: Headerline: Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type D: l-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type seen. D: Headerline: Access-Control-Allow-Methods: GET, OPTIONS, HEAD D: Meaderline: Connection: Close D: Headerline: Connection: Close D: Headerline: Expires: Mon, 26 Jul 1997 05:00:00 GMT D: Headerline: icy-metaint:16000 D: Switch to DATA, bitrate is 128, metaint is 16000 D: Duration mp3loop 88 D: Nextion t0.txt="ESP32-Radio" D: Nextion t2.txt="Easy Hits Florida" D: Duration mp3loop 106 D: Metadata block 48 bytes D: Streamtitle found, 42 bytes D: StreamTitle='Taco - Puttin' on the Ritz '; D: Nextion t1.txt="Taco\rPuttin' on the Ritz " D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 230 ticks by CPU 1, id hspec D: SPI semaphore not taken within 240 ticks by CPU 1, id hspec D: SPI semaphore not taken within 250 ticks by CPU 1, id hspec D: SPI semaphore not taken within 260 ticks by CPU 1, id hspec D: SPI semaphore not taken within 270 ticks by CPU 1, id hspec D: SPI semaphore not taken within 280 ticks by CPU 1, id hspec D: SPI semaphore not taken within 290 ticks by CPU 1, id hspec D: SPI semaphore not taken within 300 ticks by CPU 1, id hspec D: SPI semaphore not taken within 310 ticks by CPU 1, id hspec D: SPI semaphore not taken within 320 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 230 ticks by CPU 1, id hspec D: SPI semaphore not taken within 240 ticks by CPU 1, id hspec D: SPI semaphore not taken within 250 ticks by CPU 1, id hspec D: SPI semaphore not taken within 260 ticks by CPU 1, id hspec D: SPI semaphore not taken within 270 ticks by CPU 1, id hspec D: SPI semaphore not taken within 280 ticks by CPU 1, id hspec D: SPI semaphore not taken within 290 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: SPI semaphore not taken within 230 ticks by CPU 1, id hspec D: SPI semaphore not taken within 240 ticks by CPU 1, id hspec D: SPI semaphore not taken within 250 ticks by CPU 1, id hspec D: SPI semaphore not taken within 260 ticks by CPU 1, id hspec D: SPI semaphore not taken within 270 ticks by CPU 1, id hspec D: SPI semaphore not taken within 280 ticks by CPU 1, id hspec D: SPI semaphore not taken within 290 ticks by CPU 1, id hspec D: SPI semaphore not taken within 300 ticks by CPU 1, id hspec D: SPI semaphore not taken within 310 ticks by CPU 1, id hspec D: SPI semaphore not taken within 320 ticks by CPU 1, id hspec D: SPI semaphore not taken within 330 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: SPI semaphore not taken within 200 ticks by CPU 1, id hspec D: SPI semaphore not taken within 210 ticks by CPU 1, id hspec D: SPI semaphore not taken within 220 ticks by CPU 1, id hspec D: (Re)connecting number 2 to MQTT 192.168.178.30 D: MQTT connection failed, rc=-2 E (15864) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: E (15864) task_wdt: - IDLE0 (CPU 0) E (15864) task_wdt: Tasks currently running: E (15864) task_wdt: CPU 0: Playtask E (15864) task_wdt: CPU 1: loopTask E (15864) task_wdt: Aborting. abort() was called at PC 0x400e5563 on core 0

Backtrace: 0x4008cc58:0x3ffbe170 0x4008ce89:0x3ffbe190 0x400e5563:0x3ffbe1b0 0x40084f25:0x3ffbe1d0 0x400e29ce:0x3ffd78d0 0x400df569:0x3ffd78f0 0x400d2624:0x3ffd7910 0x40089369:0x3ffd7930

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Edzelf/ESP32-Radio/issues/198?email_source=notifications&email_token=AFQ2I442VASNBDRVQZOWTXDQV3BQ7A5CNFSM4GKNINSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKP5OQ#issuecomment-559218362, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQ2I43T33L6VOSLKL7LBL3QV3BQ7ANCNFSM4GKNINSA .

Rainer-G commented 4 years ago

Both changes are done inside the Arduino IDE, look at your screenshot, there are select option on the right of upload speed and flash frequency, ( but this does not solve your problem with the radio station …)

Gesendet von Mail für Windows 10

Von: trombose009 Gesendet: Mittwoch, 27. November 2019 20:21 An: Edzelf/ESP32-Radio Cc: Rainer-G; Comment Betreff: Re: [Edzelf/ESP32-Radio] PCB Webradio available (#198)

Just for my curiosity: if you change Flash Frequency to 80 MHz and Upload Speed to 921600, will it still work ? Please try one after the other, not both changes at the same time. When I select the ESP32 Dev. Module, these values are the default ones, all other are like the ones on you screenshot. Many thanks, Rainer I tried to do that. but it is not possible to switch the driver inside windows device manager to 921600. so it's not possible. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Edzelf commented 4 years ago

Note the error: VS1053 not properly installed.

trombose009 commented 4 years ago

ok, i found two cold soldered points. since i have corrected this, there are no reboots anymore. but i still can'T hear any music. just rustles, maybe rustles with some kind of rhythm. the logging: D: New preset/file requested (7/0) from 205.164.62.15:10032 D: Connect to new host 205.164.62.15:10032 D: Connect to 205.164.62.15 on port 10032, extension / D: Nextion t0.txt="ESP32-Radio" D: Connected to server D: nvs_get_str failed 1102 for key basicauth, keylen is 9, len is 150! D: Contents: D: SPI semaphore not taken within 120 ticks by CPU 1, id hspec D: SPI semaphore not taken within 130 ticks by CPU 1, id hspec D: SPI semaphore not taken within 140 ticks by CPU 1, id hspec D: SPI semaphore not taken within 150 ticks by CPU 1, id hspec D: SPI semaphore not taken within 160 ticks by CPU 1, id hspec D: SPI semaphore not taken within 170 ticks by CPU 1, id hspec D: SPI semaphore not taken within 180 ticks by CPU 1, id hspec D: SPI semaphore not taken within 190 ticks by CPU 1, id hspec D: Switch to HEADER D: Headerline: icy-br: 192 D: Headerline: icy-pub: 1 D: Headerline: icy-description: 1.FM - Radio Gaia D: Headerline: icy-url: http://1.fm D: Headerline: Instance-id: 04d1fe41d6855da0ebc5ca17498779d8 D: Headerline: Cache-Control: no-cache D: Headerline: Server: AIS Streaming Server 8.4.1 D: Headerline: icy-genre: Chill D: Headerline: Expires: Mon, 26 Jul 1997 05:00:00 GMT D: Headerline: icy-metaint: 8192 D: Headerline: Pragma: no-cache D: Headerline: icy-name: 1.FM - Radio Gaia D: Headerline: Connection: close D: Hextion t2.txt="1.FM - Radio Gaia"gD: Nextion t2.txt="1.FM - Radio Gaia" D: audio/mpeg seen. D: Switch to DATA, bitrate is 192, metaint is 8192 D: Rotation count -1 D: Metadata block 48 bytes D: Streamtitle found, 46 bytes D: StreamTitle='LLEWELLYN - FINN AND THE FIANNA'; D: Nextion t1.txt="LLEWELLYN\rFINN AND THE FIANNA" D: Command client available D: handlehttp started D: Get command is: upvolume=2 D: Send reply for upvolume=2 D: Command: upvolume with parameter 2 D: Rotation count -1 D: Command client available D: handlehttp started D: Get command is: upvolume=2 D: Send reply for upvolume=2 D: Command: upvolume with parameter 2 D: Rotation count -1 D: Rotation count -1 D: Command client available D: handlehttp started D: Get command is: status D: Send reply for status D: Command: status with parameter 0 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1 D: Rotation count -1

Davet998 commented 2 years ago

Will you be getting more stock of these boards? Regards Dave

iMike78 commented 2 years ago

@certeza Hi! I can see that your webshop is closed. Is there any chance to share the gerber files to order the board for myself? Cheers

z34pec commented 1 year ago

Hello. Regarding this post, anyone managed to get gerber or dip files for this pcb because it is not sold anymore and ninja's site is closed ? Also anyone tried to contact ninja so get info how to get this pcb board ?

Edzelf commented 1 year ago

There is a .dip file on https://github.com/Edzelf/ESP32Radio-V2/blob/main/doc/ESP32-Radio.dip. You can open it with the free version of "Dip Trace PCB", see https://diptrace.com/download/download-diptrace/, change it if you like and generate gerber files.

z34pec commented 1 year ago

There is a .dip file on https://github.com/Edzelf/ESP32Radio-V2/blob/main/doc/ESP32-Radio.dip. You can open it with the free version of "Dip Trace PCB", see https://diptrace.com/download/download-diptrace/, change it if you like and generate gerber files.

Thank you for this information. I already did it, and upload it on JLCPCB. Because I am a newbie to this I wonder, due to two layer PCB, where soldering is made? Do we solder on only bottom side or on both sides ? Any kind of wiring diagram is welcome. :)

Edzelf commented 1 year ago

The holes are plated-through. So you just solder the backside. I did not design the print, so the wiring requires some reverse engineering.