Carbon Monoxide (CO) Sensor (MQ-7)
Follow the pictures and diagram below to wire up and code the CO sensor. When you have the device ready, go to the tools menu at the top and turn on the Serial Monitor (slide 4). This will let you see how much CO is in the air.
Humidity & Temperature Sensor
Code and wire up the temperature and humidity sensor. You may need to download and then import the DHT file below for it to work.
Remember to open the Serial Monitor like you did in the last project. You will also need to look at the Serial Monitor in order to see the temperature and humidity results once your device is running.
Remember to open the Serial Monitor like you did in the last project. You will also need to look at the Serial Monitor in order to see the temperature and humidity results once your device is running.
You will need to download the dht.h library in order for this to work. Follow the link to see instructions and to download file.
|
UV (Ultra Violet Light) Sensor
Weather Station 1
Follow the wiring schematic below to wire the sensors to the Arduino Uno correctly to build a mini weather station. Then type in the code as shown. Notice how the code from the previous projects were placed (combined) all together so that data can be collected simultaneously. Do not forget to watch the data appear in the Serial monitor. Serial Monitor is located in the tools menu.
STEM
Engineering |
|