I'm new plz help me
I'm using esp32 wroom 32e to do nothing much, just blink an led
Instead of powering up with usb computer, I'm using 3.7 v li ion battery x2
The code is all good, the led, resistor are also good. Code works when powered by computer through usb. Heck yeah if I power it through my home power line socket the one we use to charge mobile, the code runs to(the code just blinks the LEDs, nothing else)
I just want to make it portable, so powered it with LI ion battery. But it won't work. The on board red light led of esp32 turns on but it doesn't run the code. I even tried pressing the en button multiple times. I first gave 5 v power through 7805 ic. I saw noticed that the on board red light led was much dimmed so I gave the 7.4 v directly to the vin of esp32(i shined brighter but didn't blink the led). To make sure the esp32 wasn't burned I connected it to computer usb and voila it works. But not when i need it- through external power supply i.e. Li ion battery. Why is this simple thing not so beginner friendly?
Since we can't see what you see, my guess is fake 18650 batteries. Try reading the pinned post re 'How to get the most from the forum'.
I know you have done NO reading re the esp32 otherwise you would not have connected 7.4V to a 5V pin. You need an MT3608 to convert the 3.7 or 7.4 to 5.0.
Read the pinned post then provide the 2 things needed.
Are the batteries connected in series?
Using the 7805 regulator, turn on your project, then measure the voltage
at the battery.
For the 7805 to supply 5V, its input must have at least 7.0V.
Anything below this will not provide 5V at the output.
I built a rc car with these batteries before, so rest assured the batteries aren't fake. I already stated that no issues with hardware part. Also you sound so rude for someone who's veteran. I'm in a hurry, it's for my project. There's hardly any time for formal "read the rules" etc.
Sorry, but if I had a $1 for everytime someone said the hardwrae/software is ok I would be very wealthy.
I am not rude, anyone who is a noob gets the same response if they demonstate they have not read the pinned post.
Good luck
Can you provide a link to a web page for the one you have?
Did you measure the voltage? Maybe one of the batteries is (over) discharged.
I think the CH340 USB<>Serial chip is directly powered from Vin.
That could be deadly for a chip with an absolute max voltage of 5.3volt.
If you wanted battery power then why didn't you buy an ESP32 designed for that.
Another option for battery power is to connect the USB lead of the ESP to a cellphone powerbank.
Leo..
I moved your topic to a more appropriate forum category @ahnaf_9
The Nano Family > Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.
In the future, when creating a topic please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.
Thanks in advance for your cooperation.
Sorry but if you are in such a hurry you cannot read the rules then I will not take the time to give you the answer you need.
Somehow I missed that in your initial post. I am out, good luck!
I bet it would have saved you a lot of time if you had read and followed the rules.
Probably would have your problem fixed by now.
Just because you're in a hurry, doesn't mean we are.