schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
316 stars 77 forks source link

Radio reset due to discharge of static electricity #396

Closed clear-sky closed 4 months ago

clear-sky commented 5 months ago

If at a distance of less than one meter, the static electricity of the body is discharged due to contact with metal objects, the radio will be reset. Have you had such an experience? my radio does not have any case

schreibfaul1 commented 5 months ago

An electrostatic discharge must not lead to a reset. Please take a look at the log at the very beginning: image

There you can see the field strength with the connected network. It should never be lower than -50dB. Some users complain about poor reception with Chinese S3 boards.

clear-sky commented 5 months ago

Hi Dear wolle! thanks for the answer
you are right -- my mcu is ESP-S3-12K 8m --my radio is on my desk and distance between radio and wifi router is 1m but rssi is something between -49 to -54 sometimes when i sit on the chair or touch metal objects radio resets! what is your opinion using an antenna? something like this one: wifi-antenna-LRG

schreibfaul1 commented 5 months ago

Have a look at the issue "Display und SD Probleme #395" The user has the same problems and has scratched the aerial free and soldered on a short piece of wire. No idea if it helps, but it might work.

clear-sky commented 4 months ago

Hi dear Wolle! thanks for the answer-I plan to use a metal box for the radio, so the WiFi reception will be worse, I will also use a WiFi antenna, if the result is good, I will announce here.

clear-sky commented 4 months ago

Hi dear Wolle! finally my radio is finished! i made MWR in a metal case and used wifi antenna
reception is good (there is no reset)-i can not say excellent because i have problem in in serial monitor and can not see real resault sma how_to_connect_an_external_antenna_VM7f9MQXes IMG_20240422_123737 IMG_20240422_123710 IMG_20240422_123651 IMG_20240422_125722

schreibfaul1 commented 4 months ago

This has turned out very nicely.

The monitor speed is 512000. I have increased it so that not too much time is used for the output. The serial terminal in VSCode gets the monitor_speed from platfornio.ini

valera39 commented 4 months ago

clear-sky Bravo, very neat editing. What's that device you have down there with the switches? Real time clock module how did you connect

clear-sky commented 4 months ago

Hi dear valera39! that box below of radio is for switch off and on my pc1 pc2 project radio and etc via 5 SSR and high and low voltage sensor with lm324 as you see FM radio is pre installed!!! RTC is DS3234 with spi bus

valera39 commented 4 months ago

Is FM information displayed on the display?

clear-sky commented 4 months ago

FM info is several parts: freq and vol info can be obtained from data bus(I2C) other is called RDS that contains some info like station name-program info-program start and ending time etc i live in iran and rds only gives me station name bad news is fm audio path is directly from rda5807fp to pcm5102 though there is no possibility to have level meter fm radio and rtc work but not combined to wolles code! This design is not final and may have changes. I made this to make my desk a little quieter!!! Mr. Wolle may consider a place as a gallery for users to post their final designs so that others can better get ideas.

schreibfaul1 commented 4 months ago

If you would like to publish the photos, I would be happy to do so with a link on the homepage

clear-sky commented 4 months ago

I will definitely send you more complete pictures

clear-sky commented 4 months ago

hi dear Wolle! I tried to make the radio with simplest tools that every electronic user have it sent some pictures! please check your mail!

clear-sky commented 4 months ago

now i can say that wifi antenna is working well!!! this is my rssi [ 9423][I][WiFiMulti.cpp:263] run(): [WIFI] Connecting BSSID: 02:10:18:01:00:02 SSID: darmstadt Channel: 1 (-31)