I'm currently working on a project with the ESP8266 and Arduino Nano, and when I power the device via USB they talk to each other via SoftwareSerial just fine. I use the Arduino IDE Serial Monitor to monitor this communication. But when I power it with a 15 V wall wart to Vin it returns mostly garbage, again I can tell this with the Arduino IDE Serial Monitor (I know I shouldn't connect two power supplies at a time). When powered over 5 V USB everything is great. Why would I have a problem only when connected to an external power supply?
-
1Have you measured this wall wart? 15V is high for Vin, and it might be noisy conceivably. Try a different one. Preferably lower voltage.– Nick Gammon ♦Oct 3, 2015 at 22:58
-
I did measure it. 15v is whats coming out. How would i check noise?– CjuedenOct 3, 2015 at 22:59
-
1Put the meter on AC voltage and see if you get any reading. Try a different wall-wart. Recommended input voltage is 7 to 12 V.– Nick Gammon ♦Oct 3, 2015 at 23:06
-
@NickGammon i dont have another voltage supply. Can i use a voltage divider?– CjuedenOct 3, 2015 at 23:09
-
Voltage dividers are not recommended as voltage regulators. Are you using a level shifter for communicating with the ESP8266? Plus, can you measure what voltage is on the 5V pin when you are powering the Nano from the wall-wart?– Nick Gammon ♦Oct 3, 2015 at 23:16
1 Answer
If you check the specifications they stat 12VDC is the max. Your on board regulator is probably very hot and either shutting down or allowing the voltage to sag. You can get a 9V wall Wart for under $5. the 9V will keep the on-board regulator much cooler and add reliability.