Yr 10 Weatherstation Project

In this project i will be showing you how a temperature sensor (TMP36) and an LDR can be used to make a simple weather station using an Arduino Uno and some code in javascript. This project was designed in tinker cad (By Autodesk). One thing that i had added to the physical board is a 4 pin Oled display to display the temperature and quantity of light in the room measured in dark and light.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Buy the Components

Step 2: Assemble the Circuit

Precautions

remember if the buldge of the temperature sensor is facing away the positive pin is on the left and the ground pin is on the right and the output pin is in the middle

Assembly

start the assembly of the circuit by connecting the 5v power pins of the arduino to the power rails of the bread board. Add a single colour LED to the top right corner of the bread board and connect the cathode to the top negative rail, Then connect the anode to pin 13 on the arduino with a 1k resistor inline. Then connect and RGB LED to the bread board in the upper half with the cathode in slot 24 and the red pin of the LED to slot 23 and but the other pins in the corresponding pins. Put a 330 resistor in line with cathode, connect the red pin of the LED to pin 6 of the arduino, the green pin to pin 9 of the arduino and the blue pin to pin 5 of the arduino. Next connect an LDR to slot 19 and 20 of the breadboard then connect slot 20 to the positive rail of the bread board, Next connect the other pin of the LDR to pin A0 of the arduino. Place the temperture sensor with the bulge facing away and the middle pin in column 11 of the breadboard, then connect that slot to pin A1 of the arduino. connect the left pin to the positive power rail and the right pin to negative.

Step 3: Next the Code

Below is the code i have written to make this weatherstation function. Also in the file are comments and what each piece of code does for the functionality of this project

Step 4: The Final Product

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions