Electronics Exercises
This document tracks a number of small exercises to prototype. The goal is not a final product but skill building.
- Control a stepper motor
- Rotary encode rotation data
- Use a servo-motor
- Build a filter (Hi-pass, low-pass, mid-pass)
- Use the AVR chip from an Arduino (off the board)
- Build a class D amp
- Use an FTDI chip with AVR
- Use an SPI LCD with AVR
Stepper
First, control it with manual switches.
I'd like to build a driver around the AtTiny2313 or an AtMega8. Use 4 pins for the driver out, and 1 pin out to indicate if the motor is stopped. One input pin for direction and one for start/stop. The rest will be used for speed and steps. The idea is that another controller can give the driver and order like "take 120 steps over 3 seconds".
I should also do this at least once with a real stepper driver.