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.
Our course directory has a full list of modules and videos with links. Follow our Build Your Own Data Logger playlist on our Youtube channel to catch every module as it goes live, and register for our full course to be the first to know about our module releases, live Q&A events, and course news.
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:
IDE, Board Description Files and drivers:
- Download Arduino Desktop IDE Here
- WildLogger Board Description Files, the link you need to enter into Arduino IDE preferences: https://raw.githubusercontent.com/freaklabs/freaklabs-wildlife-boards/master/package_freaklabs_index.json
- CH340 Driver (nb: This link will automatically download the driver.)
If you’re having trouble with CH340 Driver, here is a helpful tutorial:
References on Programming:
- Arduino Reference Language
- Olympia Circuits - A good overview of C++ used in Arduino
- Tutorials Point - More detailed tutorial on Arduino
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.
If you need help for any part of this module, course trainers Akiba and Jacinta are answer questions in the module 2 discussion thread.