ESP32-MiniWebRadio
ESP32-MiniWebRadio copied to clipboard
How to connect ESP32-S3-Wroom-1 with N16R8
Hello everyone,
I decided to replace the ESP32 D32 with the ESP32-S3-Wroom-1 with N16R8, but the resulting devboard has a different pineout.
How should it be connected?
working and tested wiring for s3 can be found here:(line 88 #ifdef CONFIG_IDF_TARGET_ESP32S3)
https://github.com/schreibfaul1/ESP32-MiniWebRadio/blob/master/src/common.h
Hello, can no one help? I cannot understand how to connect this ESP with DAC and the display. Which conclusion to who is in line with. Please help, I want this radio!
maybe this will help you
Hello, Something weird, I don't see the answers under my question. When I write a new comment, I see an answer from before, I delete the comment as an out of date and the answer disappears. I apologize to the answers, I just don't see your answers, I don't know if the problem is on the site, it happens to me for the first time.
I'm I needing to update the code to reflect the image above? //ESP32-S3 #define I2S_DOUT 9 /* DIN connection / #define I2S_BCLK 3 / BCLK Bit clock / #define I2S_LRC 1 / WSEL Left Right Clock */
I'm sorry, but I can't help. I'm not doing well with the software when I have a problem and I ask here. I hope someone will answer, greetings and success.
The pins in the CONFIG_IDF_TARGET_ESP32S3 section in "config.h" are only suggestions. You have much more freedom in the choice of pins than with the ESP32. What exactly is causing you difficulties?
Have I correctly understood the Arne65 scheme, should the T_CS connection be removed with SCK and connect T_DO to SDO (MISO)? Is that how it has to connect display to ESP32S3 ?
Hello make the bridges as in the original schema.Bridge SPI_SCK with SCK and of course SPI_MOSI with SOI(MOSI) as shown in the original schematic.
You can assign the pins like in common.h
This definitely works.
With the ESP 32-S3 you are more independent when it comes to pin assignment than with the ESP 32 S2 .
Exactly, T_CLK and SCK must be connected. MISO from the TFT can also be connected, unless you have this display https://github.com/Bodmer/TFT_eSPI/discussions/898
Thanks for the quick answers. Have I correctly realized that there should be three bridges SDO(MISO) to T_DO SDI(MOSI) to T_DIN SCK to T_CLK
You only need
DI(MOSI) to T_DIN SCK to T_CLK
What kind of display do you use?
My display is 3.2 TFT SPI 240x320 V1.0. Maybe I'm misleading this scheme. Thanks.
This might be helpful for you. There are only two bridges. Pin assignment original common.h
The first schema is not mine but rather from another user.
Thank you, it's so much more understandable.
When the radio is switched on, it loads the home screen and starts flashing - screen, dark, screen, dark ... I don't know if I explained it well, I don't accept a video here. What can be the reason for this restart?
Send the output to the serial monitor, maybe you can see more. All pins connected properly and voltage is correct?
I'm sorry, I don't know how to do it. For the first time I work with Arduino and everything is new and unknown to me.
Work !!! The Arne65 was right, the problem is in the supply voltage. Strange, the power source and the multimeter show me 4.95 volts, and I have 4.45 volts on the board.
I have a question about ESP32, the RGB led shines very bright, the PWR red led shines normally, and the TX green led blinks
barely visible. Is it normal? Or there is a problem with the module?
The RGB LED is very bright on the boards, so that's normal, but in my opinion it's nonsense - no one needs a "headlight" on the boards.
Normally you should measure around 3.3 V after regulation.
Input voltage 5V after the voltage regulator 3.3V.
Yes, at a voltage of 4.45 volts after the regulator I had 3.2 volts. I raised the supply voltage to 5.2 volts and now after the regulator I have 3.3 volts. There is now another problem - with an increase over 8 radio restarts, although the supply voltage does not fall and consumption is about 250 miliampers.
Start the serial monitor, maybe you can find out where your problem is
I turned on the serial monitor, in the command of the amplification or reduction of the sound, everything turns red. I do not understand what it means, but with a serial monitor, I strengthen it to 21 and do not restart. After the serial monitor is switched off, it restarts again with a reinforcement exceeding 8.
I wonder if you are using an external DAC with I2C control, like ES8388. If you have a DAC without I2C, e.g. PCM5102, the pins I2C_DATA and I2C_CLK in common.h must be set to -1. If you do have an I2C DAC, then the wiring (SDA/SDC) is wrong.
Are you using an SD card adapter? I think you have write protection turned on
My DAC is PCM5102, do I have to change values here? I tried a locked and unlocked card, the effect is the same. But I have a problem with the card, I upload new stations, but they can't play.
If you do not have an audio board (AI Thinker , Lyra, Olimex), set to 1 to deactivate I2C.
For PCM5102A, DECODER = 1 must be set in common.h.
I changed the Decoder setting = 1 but my restart remained. Did I correctly set the type of ESP in Platformio.ini. Why is this getting this?
You probably have an ESP32-S3, so please set this in the taskbar
and then send a log of the restart
I changed the appearance of the board, but the restart remains. How to upload Log of the Restart? When the serial monitor is turned on, there is no restart, can it really be a power problem?