Hi, I am getting an error on the data from my new DHT11 Sensor. It is a 3-pin sensor, wired into a breadboard, with wires going to pin 2 (Digital) and GND and 5V.
The whole setup was verified using two Youtube videos, but I am still getting the following result in the serial monitor: ĥ⸮⸮⸮⸮⸮ ĥ⸮⸮⸮⸮⸮ ĥ⸮⸮⸮⸮⸮ ĥ⸮⸮⸮⸮⸮ repeatedly.
I am sure I followed the instructions clearly, but it is my first time working with such sensor.
If you look at the code you posted in the original post, you'll see that you set the serial speed to 9600, which is what the serial monitor should be set to.
(+ karma for using code tags in your first post - Bravo!)
battilory:
Got it! Thanks! +karma to you for being so helpful!
Question: does the DHT11 work, that is, does it produce meaningful humidity information in Serial Monitor?
In your original post you say you connect the data wire from the DHT11 with pin 2 of the Arduino, while the sketch says "#define DHT11_PIN 7" -- this means that you should have the data wire from the DHT 11 connected with pin D7 of the arduino.