This is not a real version, it's just a place where we write down our ideas.
MCU code ideas:
- Use an MCU timer to scan the pattern. Update the leds directly into the
timer's interrupt routine (Output compate). The data for the leds is fetched
from a buffer. One a scan completes, start over from the beginning.
- Route the sensor output to an external interrupt pin. In the interrupt
routine, calculate the time since the last interrupt and adjust the scanning
timer accordingly. Also force to scan from the beginning right away.
- To evaluate the time since the last pulse, another timer should be used
to increment a global variable at a given interval.
- Implement scrolling text, speed display in the wheel :), dynamic animation
depending on speed, special effects...
Hardware setup ideas:
- Use more than one opposing led bars in the wheel to obtain an apparently
fixed display.
- Use more that 7 leds, to obtain a better resolution. When using more than 8
leds, more that 1 MCU port is needed. Will the delay between the first port update
and the second cause a distortion?
- Try using different colors leds to make a color display.
- Try to light the leds with different intensities.
- Try doing this on a car wheel.
- Try doing this on a fan.
- Once a good display resolution is obtained, do a video game using this
system as a display
Up
|