![]() I have other questions, but I'll post them as new topics in the right forums. $10 lesson learned about checking voltages before hooking things up. Changed it to 5v 328 and tada: Temperature, RH, etc. In the arduino software I had selected 3.3v 328 pro mini. I switched back to the DHT22 to troubleshoot this and make sure since this was the first sensor I hooked up to the pro mini, that it could talk to a sensor. I also learned that picking the right arduino (5v vs 3.3v) in the software can be the difference for even sensors that work at 5v. I also don't think the pro mini I have by itself can give 3.3v (I've got 3 of these ordered now though for future 3.3v needs with pro mini: ) Use a multimeter to confirm you have 3.3 volt before just trying it out. Tip for someone that reads this before hooking up the sensor. I'm doing this for fun and to learn though, and I'm fortunate enough to be able to afford another sensor. Hooking him up to 3.3 on my uno still returned nothing (probably because his brains are crispy from the 5v I been sending him). Multimeter confirmed I've been feeding him 5v. ![]() Pages I've used (with adjustments for the hardware I have) Adafruit Learning System Do I not have enough resistors in the right place? The sensor says it's 3.3V also, but I've not found any documentation for the 328 pro mini which line is 3.3V or if there's a sketch line you have to enter to say power this port with 3.3. I'm just doing this for fun and learning. My last experiment with the DHT22 was with the arduino uno and worked fine printing that out to the LCD. When I try to read the sensor, it prints out 234 for the pressure setting and a long negative number for temperature (using the adafruit library). The wiring is a little different than the adafruit, which I've corrected for. Problem: I'm not getting anything from this sensor. I suspect I should have more, but it's not entirely clear to me where. There's 1 potentiometer on the LCD contrast line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |