Temperature and Humidity Sensor

by Just4Fun Media in Circuits > Gadgets

1333 Views, 9 Favorites, 0 Comments

Temperature and Humidity Sensor

MediaTek Humid.jpg
photo-2015-12-14, 8:20 PM.jpg

I was able to salvage a temperature and humidity sensor off of an old printer. It is extremely similar to the sensors available from SparkFun, and I am hoping to incorporate it into my next version of "Black Box".

For this project you will need:
- 4 wire temp/humidity sensor
- 4 jumper wires
- a micro controller



Check Out Our Other Accounts! Like, Subscribe, and Follow to keep up to date with our latest projects. :-)

Just4Fun Media Facebook Just4Fun Media Instagram Just4Fun Media Youtube Just4Fun Media Twitter Just4Fun Media Tumblr Just4Fun Media Website

Wiring

photo-2015-12-14, 8:20 PM.jpg
photo-2015-12-14, 8:20 PM.jpg
photo-2015-12-14, 8:20 PM.jpg
photo-2015-12-14, 8:20 PM.jpg
Because I salvaged my sensor I needed to find schematics in the service manual (the exact wiring will depend on your sensor).

I experimented with the connections to determine if the data was returned as analog or digital.

Coding

After some experimenting with reading the data, I believe that the temperature is exported as analog values in fahrenheit, and I can only get the humidity value to raise to a maximum of 7 by blowing humid breath onto it.

I am unsure how the data may be exactly transformed, any suggestions would be very helpful :-)

Have a great day! :-)