How critical is the timing?
The animation has a period of ~1 sec, with each LED lit for ~1/3 sec. Is that what you want?
Do you have the spec of the LEDs you will be using?
How critical is the timing?
The animation has a period of ~1 sec, with each LED lit for ~1/3 sec. Is that what you want?
Do you have the spec of the LEDs you will be using?
Ignore the animations speed, its not relevant. The camera captures frames between 5-30 FPS. I'm going to send a pulse to the LED circuit every second and the pulse for the will last ~500ms (I'm still working out the exact timing).
I might not be approaching this the best way. I have an ATtiny controlling four motors an IR receiver and that leaves me with one more pin to control some sort of 3D orientation signal.
Here's a quick illustration of what I'm imagining (it's a blimy thing floating in a room with a camera watching the lights):
The camera only sees blobs of IR light (like a Wiimote camera)...so yea it's colorblind. I was just thinking that maybe I can leave one light on and have only the second flash. Then my image analyzer can plot the solid light relative to the flashing one in 3D space to get the orientation.
The camera only sees blobs of IR light (like a Wiimote camera)...so yea it's colorblind. I was just thinking that maybe I can leave one light on and have only the second flash. Then my image analyzer can plot the solid light relative to the flashing one in 3D space to get the orientation.