Go Down

Topic: Problems with the SEN0148 on arduino uno (Read 154 times) previous topic - next topic

msaborido

Nov 08, 2018, 01:53 pm Last Edit: Nov 08, 2018, 01:54 pm by msaborido
Hello!



First of all, sorry if my grammar is bad, or I make errors typing. I will try to do it the best I can.


I am new in the forum and Arduino itself, I started a few months ago building my first circuits and I´ve never had this problem before. I wanna try this sensor because is corrosion resistant and i live in a city with hight percentage of humidity in air so it´s easy to get corrosion in the standard humidity and temperature  sensors.

when I try to print the measures using the tutorial on this page :

https://www.dfrobot.com/wiki/index.php/Digital_Temperature_and_Humidity_sensor_(With_Stainless_Steel_Probe)_(SKU:SEN0148)



i get this on the serial monitor:

⸮ !⸮%⸮5⸮⸮!R (1⸮ !⸮%⸮5⸮⸮!R (1⸮ !⸮%⸮5⸮⸮!R (1⸮ !⸮%⸮5⸮⸮!R (1⸮ !⸮%⸮5⸮⸮!R (1⸮ !⸮%⸮5⸮⸮!R (1⸮ !⸮%⸮5⸮⸮!R (1⸮ !⸮%⸮5⸮⸮!R (1⸮


I think my problem is the circuit on the breadboard, i can not figure out that i am doing wrong...

this is a picture of my breadboar


Thanks for reading!


Please help!


AWOL

The good news is there are repeating patterns in the output.
The bad news is you've probably got a serial line speed mismatch.
"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

Grumpy_Mike

 In your code Serial.begin(38400) sets the baud rate you are using, you need to set the the baud rate in the serial monitor to the same rate. This is the number in the lower right hand side of the serial monitor window. This needs to be set to 38400.

msaborido

Thank you mike! that was the error, sorry for slow reply i get sick for a week!

 :)  :)  :)

msaborido

another question, now i get the same read with no variation, maybe this is an error in the circuit ?


Starting up
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%
Temperature: -40.0099983215C / -40.0180015563F. Humidity: -4.69%


thx for your time!

Grumpy_Mike

You can't have a negitave value for humidity so your sensor is not wired up correctly or the wires are not making contact. Pushing multi stranded wire in a solderless breadboard is not exactly robust.

msaborido

SOLVED! i have error on my wyre connection,

thank you!

Go Up