In Module 4, we tie together everything we’ve learned so far into a functional datalogger application. We’ll be implementing the temperature and humidity sensor, realtime clock, analog digital converter, SD cards, PIR motion sensor, and command line interface to implement a test version of our datalogger. We’ll then test it for functionality and check that we have things in the desired format.
In the second part of this module, we learn that everything fails and why it’s important to prepare for this. We’ll add additional safety checks to prevent what we can, diagnostic logs for documenting errors after the fact, and error codes which will be important for both fieldwork and forensic studies when a device fails in the field.
This module will be code heavy since we’re not introducing any new concepts, but integrating a lot of things together.
If you have questions while working through this module, you can ask your question in the Module 4 forum thread here.
Coming up in Module 5
Next module, we'll learn how to optimise the application, looking at power savings and adding a watchdog timer. At the end of this module, the deployment code will be ready!
Ready for Module 5? Access it here
Add the first post in this thread.