article / 24 November 2020

Module 2: Setting up the Arduino IDE

Welcome to the second module of our Build Your Own Data Logger virtual course. In these videos, we'll cover the steps to installing Arduino and setting up the hardware, as well as writing our first programs.

In Module 2, we first describe what we mean by ‘data logger’. Then we go into detail on setting up the Arduino environment for this course. We discuss installing the WildLogger board files, and setting up drivers so we can communicate with the board. Once that’s done, we introduce the Arduino program structure, then write and upload our first program, “Hello world”. 

If you have questions while working through this module, you can get help in the Module 2 forum thread here

 

 

 

 

 

 

Module 2 Resources

You can also find the resources mentioned throughout the videos at the following links:

Module 2.2

IDE, Board Description Files and drivers:

If you’re having trouble with CH340 Driver, here is a helpful tutorial:

Module 2.3

References on Programming:

Module 2.4

Helpful Tip: When uploading a program (or sketch) for the first time, you may be prompted to save it first. We recommend creating a ‘wildlogger’ folder and saving it there. To re-open the sketch, go to Sketches > wildLogger 

Coming up in Module 3...

In Module 3, we’ll be diving into writing our data logger application.  

We'll go through using the serial console and command line to develop the main functional blocks in our application. We’ll be taking a temperature & humidity reading, using the analogue-to-digital converter (ADC) and doing the calculations to read the battery voltage. We’ll also be setting and reading the date and time using the realtime clock, installing the SD card file system, and writing and reading data to the SD card. 

Ready for Module 3.1? Access it here


Add the first post in this thread.

Want to share your own conservation tech experiences and expertise with our growing global community? Login or register to start posting!