Arduino Automatic Temperature& Humidity Controller for Pets
Jack and Jose, a pair of beautiful hamster, has accompanied me over 100 days and nights. Their soft white fur makes me quiet and warm, especially when I coding in the winner.
But the very tragic things happened in the last week. As the cold air from Siberia, Shenzhen has suffered low temperature and humidity for than 10 days. The temperature is about 10 degree, makes me fell chilling every day. The very bad thing happened: Jack and Jose, leaved me away……
It was such a sad afternoon. After I buried them, I had a new idea on my way home: I need to create a house, a house with floor heating, air conditioning, for my further new friends.
Step 1: Module Preparing
As a software engineer, I am not good at hardware, So i decided to use the most easy-to-use platform: Arduino
After browsing on the web, I got the following modules:
１. Crwoduino: an Arduino compatible platform, with some upgrading features to make it easy to use.
２. Temperature & Humidity Sensor and a 4.7K Resistor. I need this sensor to report the controller the current temperature and humidity.
３. LCD Keypad Shield. With this LCD I can monitor the current temperature and humidity, thus to make this project practical in my daily life.
４. 2-Channel Relay Module. As the Ultrasonic Nebulizer uses power more than 5V, so a relay module was used to control the Ultrasonic Nebulizer on/off.
５.A Ultrasonic Nebulizer to increase the air humidity.
６. Screw Shield , this shield helps me connecting the wires easier.
７. Thermal Tablet: this thermal tablet acts as heater for the pet house.
８. Some Wires or Wires would be needed
Basically, the temperature& humidity sensor reports to the Crowduino how cold it is now. If the Crowduino “think” it is too cold, then it will open the thermal tablet to warm the hamster or the ultrasonic nebulizer to begin the air humidification.
Step 2: Temperature& Humidity Measurement
The Basic Connection of all the modules(Crowduino, temperature sensor, relay module…) as above image.
First, connect the temperature& humidity sensor AM2302 to Crowduino board. Using the wire jumper, connect the AM2302 power supply pins to Corwduino VCC and GND, connect the “SIG” pin of AM2302 to A1 of Crowduino.
Note that a 4.7K pull up resistor is needed between “SIG” of AM230 and VCC. Actually, you can also find many temperature and humidity module that had integrated the pull up resistor on the module, so you do not need to add the pull up resistor by yourself and thus the story would be easier .
Step 3: Connect the relay to Crowduino, to control the ultrasonic nebulizer and thermal tablets.
Connect the “IIN1”and “IN2” of the 2-channel relay module to A4 and A5 pin of Crowduino (or Screw Shied), power the relay module using jumper wires. In this way, Crowduino can control the 2 relays separately to power on/off the ultrasonic nebulizer and thermal tablets.
At last, connect the ultrasonic nebulizer and thermal tablets to relays. For the ultrasonic nebulizer, I cut off it is positive wire, and connect its one end to the relay1 “COM” port (the port in the middle), connect the other end to relay1”NO” terminal. For the thermal tablets, it would easier, solder its terminals to DC jack and connect to relay2 with the same way of ultrasonic nebulizer
After the connecting, the basic hardware for hamster new house completed.
To monitor the current temperature and humidity, I added a keypad shield to my system. Plug the Keypad Shield on the Screw shield. Actually, this shield is optional if you do not care about the measured current temperature and humidity.
For more detail: Arduino Automatic Temperature& Humidity Controller for Pets
EasyEDA: Ideas for Circuit Design, Innovation for Electronics Access
Free Circuit Design: Schematic – Simulation – PCB Layout – Gerber Viewer
Cheapest PCB Prototype: Only $2 for 10pcs 10×10cm PCBs, 24 hours Quick Turn, DHL Delivery in 3 Days
This Post / Project can also be found using search terms:
- thermal tablets arduino
- which arduino kit to make humidity controller