Shop OBEX P1 Docs P2 Docs Learn Events
Trouble driving the Sensirion SHT11 Temp/Humidity Sensor on Propeller — Parallax Forums

Trouble driving the Sensirion SHT11 Temp/Humidity Sensor on Propeller

propwellpropwell Posts: 87
edited 2010-01-11 19:01 in Accessories
Hi folks,

i finally got the SHT11 and connected it to the Propeller. On the data line, i've got an 10k-Pull-Up-Resisotr.
The VDD-Voltage is 3,3V as used on the Propeller. I want to send the measured data via the SerialMirror.spin-Object, but all i get is very strange results.
They jump around with no sense!
I use the Sensirion-Object from the Object Exchange.
If is try "sm.tx("a")", i get the "a" totally correct, so i don't think it's a problem with my transmission.
Don't know, could it be a problem of senden the 14-bit signal? I'm very confused!

Thank you for your help,

Max

Comments

  • StefanL38StefanL38 Posts: 2,292
    edited 2010-01-09 13:42
    did you try the file SensirionDemo.spin?

    without your code and schematic it is hard to analyse what is wrong.

    see attached picture for attaching zip-archived code to a posting.

    best regards

    Stefan
  • propwellpropwell Posts: 87
    edited 2010-01-09 13:45
    Hi Stefan,

    thanks for your answer. Attached is my project.
    I've got the Data-Pin (Pin 2 of the SHT11) connected to Pin0 (Propeller) with a 10k-Pull-Up to 3,3V and Pin3 of SHT11 connected to Pin 1 Propeller!

    Thank you very much!

    Max
  • FranklinFranklin Posts: 4,747
    edited 2010-01-11 19:01
    Did you try the file SensirionDemo.spin? You need to test the setup with a simple program first before you complicate it with your own code. Run the file and make sure it works.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.