ESP8266 produces noise on Arduino's analog input
Posted: Mon Jul 13, 2015 7:37 am
I'm using ESP8266 just for WiFi connectivity and Atmega32U4 for reading various sensors. One of sensors is microphone that is preamplified and connected to analog input of AtMega32U4.
Without ESP8266 connected it works just fine, it reads very small changes on analog input when there is silence. But as soon as I connect ESP it starts jumping around. My ESP sends data every 2 seconds and I can see that analog value jumps every 2 seconds.
Tried powering ESP8266 from separate power supply and works just fine.
ESP8266 is powered from the same 5V rail trough LM1117 3.3V. Tried to put lot of decoupling capacitors right to ESP8266 and it helps a bit but still my reading are jumping arounds. Even tried choke in series with EPS8266 but didn't help.
Any ideas to fix this without using two separate adapters to power Atmega32U4 and ESP8266 ?
Without ESP8266 connected it works just fine, it reads very small changes on analog input when there is silence. But as soon as I connect ESP it starts jumping around. My ESP sends data every 2 seconds and I can see that analog value jumps every 2 seconds.
Tried powering ESP8266 from separate power supply and works just fine.
ESP8266 is powered from the same 5V rail trough LM1117 3.3V. Tried to put lot of decoupling capacitors right to ESP8266 and it helps a bit but still my reading are jumping arounds. Even tried choke in series with EPS8266 but didn't help.
Any ideas to fix this without using two separate adapters to power Atmega32U4 and ESP8266 ?