Carbons 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.
Temperature & Humidity 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.
Remember to open the Serial Monitor like you did in the last project.
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 Sensor
Follow the code and wiring diagram to connect the UV sensor. An ultra violet light sensor is used to detect the level of ultra violet light that is being emitted by the sun. This helps us to know if the levels are too high. If they are too high then we need to put on sun screen before we go outside for a long period of time.
Weather Station 1 - Combined Sensors
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.