DIY Home Arduino Weather Station – Part 2

Once you got all the necessary materials in Part One, it is time to proceed with the preparation of their programming.

But before that we have to prepare the software that will program the Arduino weather station.

The latest version of the software can be downloaded from HERE. However, because our Arduino is not original we need to download additional drivers. Drivers for Arduino chipset CH340 / CH341 can be downloaded from HERE. If you do not know how to install drivers, you can find instructions on their official website.

On the step where you select the .inf file, specify the file you’ve just downloaded and unzipped form the link above.

Once you have everything, start the IDE, which looks like this:


In the Tools menu, go to submenu Board and select “Arduino / Genuino Uno” or any board you have.

In Port submenu select ports that display the board. Here is the moment to point out that to complete this step, the board must be connected via USB cable to the computer.

If this submenu is gray, it means that your drivers are not installed correctly. DO NOT install drivers that come with the IDE unless you have the original board – boards that are cheaper (mine is) are not original and therefore they need drivers that are mentioned above.

Let’s look at the structure of code that will write:

Block setup (void setup () {}):

Here we introduce a code that will be executed once, when the board is turned on or after pressing restarting the reset button.

Block setup (void loop () {}):

Here we introduce a code that will be repeated regularly until the board works.

* If you want to use global variables to initialize libraries for certain sensors, etc., please fill out these two blocks.

In the menu File> Examples> 01.Basics has simple examples that can be tested for the first steps with the board (for example, Read Analog Voltage)

In Part Three will move to connect the sensors to the main board, and to retrieve data from.

To part 3

Leave a Reply