Temperature /CO2 Alert Robot - SparkFun Arduino Robot
by carlottaberry in Circuits > Robots
1156 Views, 12 Favorites, 0 Comments
Temperature /CO2 Alert Robot - SparkFun Arduino Robot
This video shows how to make a Temperature and CO2 Alert Robot to spin to warn users when it gets too cold, too hot or there is CO2 in the area. For this proof of concept demo, if the fan blows on the temperature sensors to lower the ambient temperature then the robot spins clockwise. If you blow on the sensor to release CO2 then the robot spins counter clockwise. Some ways to enhance the project would be to add a buzzer for distinctive sounds for each threshold and also add LEDs indicators.
Supplies
SparkFun Inventor's Kit Version 4/1 Project 5 Autonomous Mobile Robot: https://amzn.to/3t7foh7
SparkFun QWIIC Connect TMP102 Temperature Sensor: https://amzn.to/2WEC3p0
SparkFun QWIIC Connect SGP30 Air Quality Sensor https://amzn.to/3jDMP8a
SparkFun QWIIC Connect Cables https://amzn.to/3gW1rxH
Attach the Temperature and Air Quality Sensors
Build the SparkFun Inventor's Kit v4.1 Project 5C Autonomous Robot.
Then watch the video to add the Temperature and Air Quality Qwiioc Connect Sensors.
Write the Code for Variables and Setup Functions
Watch the video to write the code to set up the libraries, variables and setup function for the temperature and air quality sensors.
Write the Code to Read the Sensors and Plan Robot Actions
Watch the video to write the code in the loop function to read the sensors, plan out the robot actions and sping the robot clockwise and counterclockwise.
Watch the Robot in Action
Test out the robot by blowing on the robot to make it spin counter clockwise and use a fan or heater to exceed the threshold and make it spin clockwise.