Timeline for arduino resets or hangs after providing power to DHT22
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 7, 2017 at 2:41 | comment | added | SDsolar | I haven't ever had to use the cap even with 20 meter cable runs. (Maybe the cable does that for me.) With that long of a run I get a definite voltage drop so it barely takes any current yet provides accurate values. Never would I put a resistor across any of the pins, even if my cable is only 10cm long. But have you tried it? | |
Dec 29, 2015 at 11:32 | comment | added | Mikael Patel | pinMode(4, OUTPUT)? | |
Dec 29, 2015 at 8:07 | answer | added | William L | timeline score: 0 | |
Feb 1, 2015 at 23:38 | history | tweeted | twitter.com/#!/StackArduino/status/562032243275997184 | ||
Feb 1, 2015 at 15:23 | answer | added | Marla | timeline score: 0 | |
Feb 1, 2015 at 13:26 | comment | added | Gerben | The 220 resistor is a solution, but you probably want to add a capacitor after it, to smooth the voltage at the DHT. The datasheet already suggest adding a 100nF capacitor across the power of the sensor. | |
Feb 1, 2015 at 8:41 | answer | added | MAC | timeline score: 2 | |
Feb 1, 2015 at 8:32 | comment | added | jfpoilpret | Please note that sub 10uA consumption when idle is very ambitious and I wonder how you'll be able to stay under this threshold with such a circuit. | |
Feb 1, 2015 at 8:27 | comment | added | jfpoilpret | This is probably due to a voltage drop when you start powering the DHT. Have you tried adding a decoupling cap between pin 4 and GND? Otherwise a MOSFET triggered by pin 4 and providing the supply to the DHT may be a good solution. | |
Jan 31, 2015 at 20:05 | history | asked | rubix_addict | CC BY-SA 3.0 |