As one of the most extensive course available: we will be looking at everything and more under the hood of Arduino. In its core the ATmega328P MCU integrates many features, that are not exposed through the Arduino library. While learning how the periphery works, the student will be able to write code exhibiting high performance at a low power consumption. Embedded systems deployed in the field and powered by small batteries can run and collect data for years.
The big advantage of the AVR platform is that many concepts introduced in this course are also applicable to other MCUs. Therefore an entire portfolio of MCUs ranging from the small ATtiny to the larger ATmega series becomes accessible. The ATmega328P used in this course is just an example and the student is encouraged to obtain programming experience for embedded systems not limited to Arduino. This is motivated by practical sessions as well as exercises in which a real world problems are to be solved. In case, questions during implementation arise, the student is able to peek at hints and tips and if nothing works, also the solutions are provided with plenty of comments in the source code.
This course provides handmade captions in English covering the following topics, which focus on the practical aspects and what a concept can be used for. In addition, the course does not follow a particular outline and the topics can be taken in any order based on the interest and needs. The covered topics include:
GNU Compiler Collection and what happens in every Step and why
A brief Introduction into C and Pointers
Moving from the Arduino library to AVR: Less Luxury, faster Execution, fewer Resources
How to compile with Makefiles? Targets, Rules and Shortcuts
Easy Mistakes in C and how to avoid them
Timers, Counters, and Pulse Width Modulation
DHT and 1-Wire
How to mimic other, formerly incompatible and unsupported Protocols?
Analog Digital Converter
How does it work?
Measuring the Temperature without external Components
Measuring Battery Level with the ADC
How to use the Flash (Program Memory) for Constants?
How to use the Flash while executing a Program?
Running the AVR on a Breadboard
Dynamic Clock Frequency
Turning off unnecessary Components
Debugging (with practical examples)
Bonus Chapter: Parallel Task Execution
After completing this course, the successful student will have the experience not only to evaluate existing software, but also create implementations which are highly optimized to be deployed on small microcontrollers to squeeze out every quanta of performance and battery life.