Given by Becky Stewart and Ingo Randolf.
Arduino is a great microcontroller platform for getting started with electronics, but you may want to move beyond the Arduino IDE to program the Atmel microcontroller directly. We will show you how to use the AVR toolchain without the Arduino IDE, how to access registers on the microcontroller, explain what interrupts are and how to use timers. In an example we will program a simple synthesizer using hardware timers.
You should be comfortable with:
programming an Arduino using the Arduino IDE,
- creating simple LED and sensor circuits,
- programming concepts like for loops and variables.
At home before camp, please download and install the AVR toolchain for your computer.
- Mac – https://www.obdev.at/products/crosspack/index.html
- Windows – http://winavr.sourceforge.net/download.html
- Debian – run
sudo aptitude install avrdude avrdude-doc binutils-avr avr-libc gcc-avr pdb-avr
- Red Hat/Fedora – run
sudo yum install avrdude avr-gcc avr-binutils avr-libc avr-gdb
Source code and slides available on github.