In this class we will learn to program 'Arduino' micro-controllers using C, one of the most popular programming languages ever invented. We will learn how a program gets from a file on your PC into an Arduino, ready to run. By the end of this course, we will be able to write simple but useful programs that use sensors and can control a multitude of devices using the Arduino platform.
Some of the topics we will cover include:
- Downloading and installing the Arduino programming system on your PC.
- The basic syntax of the language (commands and necessary punctuation).
- Control flow: conditionals and loops.
- Typing to/from the terminal to your Arduino.
- Functions: re-usable blocks of code.
- Sensing and controlling external hardware: sensors, LED's, motors, switches, ...
- Arranging and keeping track of your data in memory.
Note: Acquiring skill at programming, as with playing a musical instrument, depends very much on practice; reading about it isn't sufficient. Students will get the most out of this course by practicing at home what we talk about in class. The best teacher of programming skill is our mistakes!
NOTE - The full class is 30 sessions long and will be made available in five class increments.