OpenSprinkler Forums Hardware Questions Opensprinkler pi + temperature-humidity sensor

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22682

    Pablo
    Member

    Hi all,
    I’ve just order my opensprinkler pi and I would like to use it with a temperature-humidity sensor AM2302 I already have.
    My question is how may I perform the connection?
    For the serial data I plan to use GPIO 8 which is not used by the OSPi. But where can I connect the VCC (3,3V-5V) and the GND? The 3V3 pin and the GND pin at the raspberry pi are already used by the OSPi.
    I noticed that the opensprinkler pi v1.2 has some VCC and GND pinouts. May I use then?

    Following links contains the information I have been using:
    http://rayshobby.net/?p=6704
    http://mon.dubna.tk/files/AM2302.pdf
    http://www.davidfraj.com/2013/04/crear-una-estacion-meteorologica-con.html

    Thank you in advance for your help.

    BR, Pablo

    #25730

    Ray
    Keymaster

    Sure, you can use any pair of Vcc / Gnd pins on the OSPi board. Those are designed for connection to external components. You should use Vcc (3.3V) and *not* VIN (5V), because Raspberry Pi’s GPIO pins in theory can only accept 3.3V input.

    Note that Adafruit also has a tutorial on interfacing with these temperature / humidity sensors using Raspberry Pi:
    http://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions Opensprinkler pi + temperature-humidity sensor