RPi B+ AM2302

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Ap4ch3
 
Posts: 4
Joined: Wed Sep 17, 2014 7:26 pm

RPi B+ AM2302

Post by Ap4ch3 »

Hello,
I’m trying to follow this guide, https://learn.adafruit.com/dht-humidity ... g?view=all, and seem to be missing something. I figure its pretty straight forward wiring but after I “sudo modprobe w1-gpio/therm” and cd to the devices directory then list I get nothing. I have restarted the RPi and with multiple configurations using various resistors even though you don’t need one with this model. Everything on the RPi is up to date. I bought a new breadboard thinking it was that and soldered the AM2302 to male wire jumpers just to make sure the connection was sound. I am about to order a new ribbon cable and Pi Cobbler Plus as mine is not from you guys. I have attached what my setup is, any insight would be greatly appreciated.
Attachments
Picture 1.jpg
Picture 1.jpg (293.72 KiB) Viewed 428 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: RPi B+ AM2302

Post by adafruit_support_rick »

What does AdafruitDHT.py do?

User avatar
Ap4ch3
 
Posts: 4
Joined: Wed Sep 17, 2014 7:26 pm

Re: RPi B+ AM2302

Post by Ap4ch3 »

I didn't get that far, I found https://learn.adafruit.com/downloads/pd ... ensing.pdf and figured I could probe the device to make sure the connections were good. Could you tell me why I need to use that if the RPi doesn't see the device?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: RPi B+ AM2302

Post by adafruit_support_rick »


User avatar
Ap4ch3
 
Posts: 4
Joined: Wed Sep 17, 2014 7:26 pm

Re: RPi B+ AM2302

Post by Ap4ch3 »

adafruit_support_rick wrote:Have you configured GPIO?
https://learn.adafruit.com/adafruits-ra ... uring-gpio
Yes, I have done that and went through it again to make sure. And to no avail.
Thank you Rick for your help so far!

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: RPi B+ AM2302

Post by adafruit2 »

Hello,
I’m trying to follow this guide, https://learn.adafruit.com/dht-humidity ... g?view=all, and seem to be missing something. I figure its pretty straight forward wiring but after I “sudo modprobe w1-gpio/therm” and cd to the devices directory then list I get nothing. I have restarted the RPi and with multiple configurations using various resistors even though you don’t need one with this model. Everything on the RPi is up to date. I bought a new breadboard thinking it was that and soldered the AM2302 to male wire jumpers just to make sure the connection was sound. I am about to order a new ribbon cable and Pi Cobbler Plus as mine is not from you guys. I have attached what my setup is, any insight would be greatly appreciated.
AM2303 isn't a w1-gpio device, so you'll never see it on the 1-wire driver. DS18B20's are 1-Wire devices.

User avatar
Ap4ch3
 
Posts: 4
Joined: Wed Sep 17, 2014 7:26 pm

Re: RPi B+ AM2302

Post by Ap4ch3 »

adafruit2 wrote:
Hello,
I’m trying to follow this guide, https://learn.adafruit.com/dht-humidity ... g?view=all, and seem to be missing something. I figure its pretty straight forward wiring but after I “sudo modprobe w1-gpio/therm” and cd to the devices directory then list I get nothing. I have restarted the RPi and with multiple configurations using various resistors even though you don’t need one with this model. Everything on the RPi is up to date. I bought a new breadboard thinking it was that and soldered the AM2302 to male wire jumpers just to make sure the connection was sound. I am about to order a new ribbon cable and Pi Cobbler Plus as mine is not from you guys. I have attached what my setup is, any insight would be greatly appreciated.
AM2303 isn't a w1-gpio device, so you'll never see it on the 1-wire driver. DS18B20's are 1-Wire devices.
Do you have any other incite for me? Maybe another guide or the correct commands to use to access it, I have looked over most of the guides from googling and havent found anything pertaining to how to access anything other then a 1 wire device. Also why is the AM2302 in this guide then? https://learn.adafruit.com/downloads/pd ... ogging.pdf Is there an update to this?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: RPi B+ AM2302

Post by adafruit_support_rick »

The AM2302 behaves the same way as the DHT sensors. It uses a single wire for communications, but it is not a "One-Wire" device. "One-Wire" is a special bus protocol used by Dallas/Maxim chips.

Have you tried actually following the tutorial and running the python script?

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”