he just needs to learn to use interrupts or hardware peripherals. No uC swap required
The project that I am trying to further develop is, a Laser Projector.
I think your right in saying, "I need to learn to use interrupts.
I'm just putting together details of my project, photos schematics, the Arduino sketch that I'm currently running, which I will post in the projects section.
but just to give an idea of what I'm trying to achieve.
At the moment, features I have managed to achieve.
- Pre programmed sequences stored in eeprom.
- Random sequence selection.
- fairly stable patterns.
- Modulation of the laser, to create multi beam and burst effects.
Features I would like to add.
- Sound activated pattern changes.
- Sweeping the modulation frequency up and down by a few hundred Hz.
- Being able to fall out of the modulation loop on an event happening, (Sound, random or user activated event)
- User programmable patterns.
I am struggling to add the last features because I cant monitor for things like analog inputs or key presses, without using clock cycle, which effects and limits the modulation frequency I can achieve.
Maybe I am looking for a faster Micro because I am trying to tackle the problem the wrong way.
Here is a video of what I have built.
Since this video was taken, I have improve the Arduino sketch somewhat, etched a PCB and mounted everything into an enclosure improved the optics and added safety interlocks to comply with the regulations for the class of laser in use.
All comments and suggestion appreciated.