Introduction: How to Make a Weather Station! Part 1

Hello, i am making a step-by-step tutorial on how to make your own arduino weather station- that desplays temperature humidity and light percentage. it also loggs the temperature on your sd card every hour. The whole build will be shown in 4 video that you can watch on youtube. In the first video i will explain how to use the photoresistor(light sensor), thermistor(temperature sensor) and humidity sensor. If you get lost in this guide you can watch my indepth tutorial on youtube:

Ok so lets start...

Step 1: the Required Components


-arduino (nano, uno, mega...)


-arduino IDE ( in the video i show how to install it)

-at least one sensor (photoresistor/humidity sensor/thermistor)

-two resistors (1x 100k, 1x 2k)

-jumper wires



Step 2: Wireing

Wireing is probably the easiest step to this tutorial. To make it easier i will provide a schematic; you can download it in JPG or in fzz(NOTE you need fritzing). Follow the schematic if you dont understand it watch my video:

It is not necessery to connect the outputs to the same analog pins, but you have to chang it in the code later.

Step 3: The Program

The code is actually very simple to write. In my video i explain it ste-by-step. Here i will breafly explain what is going on (download the code so you will understand what i am saying):

1. In the first part of the code we declare our vareables in our case integers (int)

2. Than we set pin modes to INPUT & start serial communication (IMPORTANT make sure your baud rate is the same as the one in the serial monitor) It helps us debug our code.

3. In the void loop we write the code that is going to be executed over and over again. We read the value from the sensor store it in another vareable resize the value and print it on the serial monitor.

Thats it if you have no clue what the code means watch the video where i write the code and hopefully you will understand it better.

I also want to point out that writing the code bay yourself is great for learning.

Step 4: Final Words

OK so we are done with first 3 sensors. Next i will explain how to use an lcd, rtc(real time clock module) and sd card reader... I think it will be interasting so stick around for that. IF YOU NEED ANY HELP JUST COMMENT ON THE ARTICLE OR THE VIDEO I WILL RESPOND AS SOON AS POSSIBLE.