ESP32 voltage regul...
 
Notifications
Clear all

ESP32 voltage regulator

6 Posts
2 Users
3 Likes
1,055 Views
(@davidl)
Member
Joined: 2 years ago
Posts: 39
Topic starter  

Hi,

I'm working on the esp32 cam car project and I have a question about the voltage regulator requirement for the esp32.  

This article AMS1117-3.3: The Linear Voltage Regulator on the ESP32-CAM seems to say that the esp32 cam has a built-in voltage regulator.  

Is a separate voltage regulator needed?

Disclaimer:  I'm new to this, so I might be asking nonsense questions.  Please let me know if I need to clarify.

 

Thanks.

 

David


   
ron bentley reacted
Quote
Topic Tags
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6970
 

@cdavidl The ESP32CAM does indeed have a VR on it. Check randomnerds.com for diagram showing it. The board operates at 3.3V but since it has a USB inout, which is at 5V it needs the VR to drop it to 3.3V. Although you will see there is both a 3.3V and 5V output pin, they are very limited in current and probably should not be used by your car. Check the board specs (google) for ma, but it is likely 40ma. Randomnerds.com is the goto first place for info on most boards, see what they have on the subject.

I do not know what esp32cam sketch you plan to use but be aware that the facial recognition is very slow and was removed in a way that broke the library code. There are 2 ways to fix it, put your board back to ver 1.0.6, that is done in the board manager but be aware that affects everything you do and you might break it agian by updating by mistake. The other approcah I use now is to get ver 4. It is at HERE

After the download goto "Sketch/Include library/Add Zip kibrary..." in the IDE (my wording may be off but it's obvious)

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ron bentley reacted
ReplyQuote
(@davidl)
Member
Joined: 2 years ago
Posts: 39
Topic starter  

@zander, Thanks for the help.  Your explanation about how the internal voltage regulator is used is very helpful.  I will use an external voltage regulator in the project.  

I've read a little about the facial recognition functionality, but I had not thought about using it.  I see some references to it in the sketch in the project, but I didn't realize it was part of the core library.  If I'm reading the documentation correctly, I should use a 3.x to get that.  I will keep that in mind.

I'll check out randomnerds.com.  Looks like a good resource.

 

Thanks!

 

David


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6970
 

@davidl Don't be shocked if the sketch doesn't compile. BTW, us old timers almost always crank up the compiler messages to ALL. Also check these other settings, all in Preferences under the Arduino main menu. When it doesn't compile, HMU and I will tell you how to deal with it.

Screen Shot 2022 07 17 at 17.13.15

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
Duce robot reacted
ReplyQuote
(@davidl)
Member
Joined: 2 years ago
Posts: 39
Topic starter  

@zander, Thanks again!  I'll be prepared for a failed compile.  It's going to be a while before I get to that point, but I will contact you when I'm there.

Regarding the compiler options, I've been using VSCode and PlatformIO instead of the Arduino so I might have different options.  I like to see all of the errors and warnings too, so I'll make sure I have the correct configuration.

 

Thanks.

 

Davidl


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6970
 

@davidl Good for you using VScode and platformio. Unfortunately I have not used that much so if you get an error I can tell you why, but don't know how to fix it. I really recommend using the V4 code, you lose facial detection but gain other things and it is being activly supported, the one you are using is retired. 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote