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

TempRobot.JPG

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

Temperature and CO2 alert robot with SparkFun Qwiic Connect Sensors - Part 1 - #NoireSTEMinist βœŠπŸΏπŸ€–βœŠπŸΎ

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

Temp/CO2 robot using Sparkfun Qwiic connect sensors and Arduino Sparkfun Inventors Kit Robot

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

Temp/CO2 robot with Sparkfun Qwiic connect sensors using Sparkfun Inventor's Kit Robot

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

TEMP/CO2 alert robot using Sparkfun Qwiic Connect Sensors on Sparkfun Inventor's Kit v4.1 robot

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.