Hi everyone,
I'm trying to upload de data from a DHT11 (temperature and humidity) to ThingSpeak through an arduino nano and a ESP8266 WIFI module.
The problem I have is that when I connect the arduino nano to PC it diconnects at the same time, this only happens when I have the ESP8266 connected to the arduino (via the 3V3 pin), so if I connect the arduino itself without the ESP8266 connected to it the issue does not happen.
Does anyone know what am I doing wrong?
Thanks!
likely due to current overdraw - i.e. you have your sensor + - leads backwards. if not that, its some other short like condition. I've had that happen with wrong wiring - windows sees the Arduino, then disconnects the port a second later.
FullOfBadIdeas:
likely due to current overdraw - i.e. you have your sensor + - leads backwards. if not that, its some other short like condition. I've had that happen with wrong wiring - windows sees the Arduino, then disconnects the port a second later.
Probably that was the problem, now I'm powering the ESP8266 with two 1,5V batteries and arduino connects to PC correctly. ç
But it seems that my code is wrong (adapted from thingspeak libraries examples). Do you know where I can find some similar code that lets me upload data to ThingSpeak?
That I don't know. Post up your code and I'm sure someone that's worked with that sensor will know. Think I've seen a few posts under "sensors" section about that. Also- connect the ground from your external batts to nano before you try anything else.