connect Grove temperature and humidity sensor to the mdot

Home Forums mDot/xDot connect Grove temperature and humidity sensor to the mdot

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11532
    sabrine
    Participant

    Hello,

    How can we connect this sensor to the mdot? can’t find a schema describing how to :s

    Thanks in advance for your help!

    #11533
    Jason Reiss
    Keymaster

    Are you connecting through a grove shield or directly to the mdot pins?

    Here is an mbed library and example for the sensor:
    https://developer.mbed.org/cookbook/Grove-temperature–humidity-sensors

    #11535
    sabrine
    Participant

    Thanks for your response, I actually put this link to my sensor:
    http://www.seeedstudio.com/wiki/Grove_-_Temperature_and_Humidity_Sensor
    in my post, but can’t find it :s weird :s

    I am actually starting with the mdot and sensors. I am looking how to connect it to the mdot: what does it mean connect it directly or throw a grove shield?
    Does linking the following pins of the mdot to the pin sensors is enough to be able to read sensor data in the mdot? or should I add some kind of resistor?:

    pin 1: vin -> vcc
    pin 10 ground -> GND
    pin 20, PB_1 (A0) -> to signal, and then I can read the value from the analog input A0

    Am I using the correct pins?

    Thanks.

    #11556
    Mike Fiore
    Blocked

    Pin A0 is an analog pin, so that seems reasonable.

    Does the documentation for the sensor suggest using a resistor or any other component?

    #11557
    Mike Fiore
    Blocked

    Also, note that pin 1 on the mDot is VIN which is not VCC and will not power your sensor. If you want to power your sensor from the mDot, you need to connect pin 24 VOUT to your sensor’s VCC.

    #11558
    sabrine
    Participant

    Thanks for your responses 🙂

    The pin A0 is the one on the UDK not on the mdot, it is linked to the PB_1 on the mdot but its description is “PB_1/AD0/DIO0” so I guess it can be used as the analog pin number 0.

    In this example: https://developer.mbed.org/cookbook/Grove-temperature–humidity-
    sensors
    it connect it directly to the signal and to read its data it uses directly the DHT library without configuring the pin to analog pin so may be the pin configuration is done throw the library DHT.

    Best regards

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