USE DISCOUNT CODEEXPERT30TO SAVE $30 USD
ESP32-S3 Custom Board Design: Beginner Questions and Guidance Needed
Tsukuyomi95 , 04-10-2025, 07:18 AM
Hi everyone! Hope you're all doing well 😊I just found this channel and wanted to ask a few questions. I'm currently designing a custom board using the ESP32-S3 WROOM-1 in Altium, and it's my first time doing something like this.Here are a few things I’d love your input on:Can the 5V pin be used as both input and output? If not, how can I make that possible?(I'm curious too about generating a 5V output not coming from USB , just trying to deepen my understanding here.)I’ll be adding some sensors to my board. How should I properly manage the voltage levels?Also, what’s the best advice you can give me to ensure this custom board turns out well?Can I rely only on the native USB (USB-OTG) for my board for flashing and programming?Do I still need a USB-to-UART converter? If not, could you explain why?Thanks a lot in advance! Any help or tips would be really appreciated 🙏
Robert Feranec , 04-10-2025, 07:34 AM
I am not sure which 5V you mean (probably VCC_5V), there is a diode which will prevent 5V flowing back to USB if external power is connected. But still you need to be careful e.g. if your external power supply has lower voltage than USB there may be some "fight" between the powers.
Tsukuyomi95 , 04-10-2025, 08:19 AM
Oh, right , I did add a diode for protection, and I don’t think I need to add a header or jumper cap in this case
Tsukuyomi95 , 04-10-2025, 08:19 AM
Sorry if I wasn’t clear earlier about the 5V, I meant it more like you said: VCC_5V or Vin, like on the older ESP32 boards
QDrives , 04-10-2025, 04:04 PM
I made a design where the USB could be either in host or peripheral mode and get powered from the PC or supply power to a bluetooth module. All on the same USB A connector.You need both hardware and software capabilities for this.In a sense it would just swap constantly between host and peripheral.In peripheral mode, Vbus is an input and you check to see if power is applied.In host mode, you supply power and see if a device is detected.
QDrives , 04-10-2025, 04:06 PM
"*How should I properly manage the voltage levels?*" -- What voltage levels? Signal or supply? Higher or lower? Analog or digital?
QDrives , 04-10-2025, 04:09 PM
"*Can I rely only on the native USB (USB-OTG) for my board for flashing and programming?*" -- You need to strap the right pins during boot-up.
Tsukuyomi95 , 04-11-2025, 06:47 PM
Thanks for your response! I think I have a better understanding now of what I need to do. And sorry for the late reply, I’ve been a bit busy lately.If you don’t mind, I have another question:I'm planning to integrate the OV2640 camera into my custom board. While reviewing the schematics of the ESP32-CAM and ESP32-S3-EYE MB v2.2, I noticed something:The ESP32-CAM uses 2.8V and 1.2V for the camera power supplyThe S3-EYE MB uses 2.8V and 1.5VHowever, the OV2640 datasheet specifies compatibility with 2.8V and 1.2V. So I’m a bit confused , why does the S3-EYE board use 1.5V instead of 1.2V? Is there a specific reason for this change?In your opinion, what's the best voltage setup for the OV2640? And what kind of issues could arise if I supply 1.5V instead of 1.2V?Thanks again for your help!
QDrives , 04-11-2025, 06:52 PM
Is the 1.5V intended for a 1.2V camera? Or is it designed for another camera system?
Tsukuyomi95 , 04-11-2025, 07:27 PM
well, as you see, they both use the same module Ova2640 :
Tsukuyomi95 , 04-11-2025, 07:28 PM
and this is the shcematics
Tsukuyomi95 , 04-11-2025, 07:28 PM
for S3-EYE MB :
Tsukuyomi95 , 04-11-2025, 07:29 PM
ESP32-CAM :
QDrives , 04-11-2025, 08:29 PM
On the first picture I see RYS - 2640 - M7 and on the second picture I see TY - OV2640-V2.0 So I do not know if it is exactly the same.Secondly, do you have the schematic section of the regulator of the S3-EYE MB?What does the datasheet of the OV2640 state on the supply limits?
Tsukuyomi95 , 04-13-2025, 12:47 PM
Well, as I mentioned before, the OV2640 datasheet specifies compatibility with 2.8V and 1.2V. To keep things simple, I’ll just follow what the datasheet recommends. And yeah, thanks again for your help!
QDrives , 04-13-2025, 03:06 PM
"Limits" is something else than "compatibility".What is the minimum and maximum?
Tsukuyomi95 , 04-13-2025, 05:39 PM
There is not much difference..
Tsukuyomi95 , 04-13-2025, 05:40 PM
And btw do you have any ideas or advice on designing a custom ESP32-based board that’s battery-powered, with charging, protection, and the ability to switch between a 5V input and a 2S lithium battery without damaging the board?
QDrives , 04-13-2025, 08:02 PM
So 1.2V ±5%. That means you cannot supply it with 1.5V.
QDrives , 04-13-2025, 08:04 PM
Yes. Look up OR-ing, OR controllers or ideal diodes.
Tsukuyomi95 , 04-15-2025, 11:40 AM
Is this connected the right way?
Use our interactive
Discord forum to reply or ask new questions.