I'm helping someone teach an embedded programming course at my university, and he's starting to cover i2C in class. SPI is next. We're trying to come up with a groovy, easy-to-interface, low-cost i2C/SPI peripheral that we could assign as a class project.
I do a lot of electronics design on the side, so I've had my fair share of interfacing with MEMS/light/temperature sensors, peripheral expanders, drivers, and everything else under the sun. I'm having a hard time coming up with a good project, though, because it seems like everything I can think of is:
- Way too complicated (many peripherals tend to have dozens of registers required to get the device working)
- Boring (there's nothing to get excited about when you get a temperature or barometric sensor working)
- Expensive (we'd like to be able to buy a class set of 35 modules, so keeping things in the $2-5 range would be great!)
- Circuit/analog-heavy (Ideally, the peripheral would be breadboardable relatively easily, without too much support circuitry; it needs to be 5V compatible)
What say you, electronics community? Bonus points for coming up with a wacky (yet straightforward) project to actually make use of said sensor.