Dealing With Wireless Freeform Input Device Would Be a Real Fun!
Are you familiar with the Freeform Input Device, but you’re somewhat boring with its limited feature? Well, instead of complaining around, then it’s time to develop your very own Wireless Freeform Input Device!
This project hardware will be implemented on stand alone perforated boards and the testing will be done with the help of the STK500 evaluation boards from Atmel. For your information, the hardware was consists of the three main parts and there are AVR Atmega232 microprocessors, the accelerometer and the radio modules!
In other hands, the software is implemented on the AVR Atmega232 microprocessor, by simply using both C and AVR assembly.
Technically, in the normal operation, two PWM outputs are taken from the accelerometers and read into ACR port pins. Meanwhile, each of edge change on the accelerometers will trigger an input-capture interrupt on the AVR and a 16-bit timestamp is going to be recorded into a buffer!
The only problem that you need to pay attention with is the background, where the timestamps together with the line levels are decoded into on-time and an off-time time durations. Sometimes, the two edge changes will overlap and some of these are not known to the AVR!


Leave a Reply