Quote:ÂÂ
 true but why avoid micro programming ? I'll be detecting motion using a £1 3 axis gyro with 3 axis accelerometer, so cmos logic won't hack it anyway !
Â
Also I'm modulating beetween 80% and 100% brightness at a freq of 16Hz ( the most noticeable frequency for the human eye)....so i need a bit more than cmos logic for that too. At night I'll modulate 50% - 70%
Â
i think I'll try to find some Acerbis stickers, then they'll look like i spent £100 more !
As I said, to keep things simple and reliable.
Â
Cmos are well suited for low-power and frequencies up to 5MHz, they have a nice 3 to 18 Vdd.
Â
With a single 4093 you may get two gated osc at some kHz, each with a well-chosen mark-space ratio to give the right brightness, and add a third osc at 16 Hz to switch both.
Â
Using a µC just to flash leds may be very fashionable but it's also overkill imho.
It's like using a raspi to display "hello world" on a tft display.
But it's everybody's choice, sometime coding is fun.

Â
If you plan to use a g-sensor, be careful as they are very noisy. You'll need to implement a Kalmann filter - then you'll need a µC !
Â
Actually to get the moving - non moving info i'd better use the neutral gearbox sensor which does not require any extra electronics / coding and is free from perturbations, or the speed sensor signal to get a more precise speed info.
Â
With a cheap, noisy accelerometer you'll be in need for a regular null speed calibration or you'll get diverging speed figures. :good:


![[Image: top_640.png]](http://jbx9.free.fr/tmp/top_640.png)