I am using back electrict motor force detection. I have invented my own method of measuring BEMF using only one arduino pin. To position where is the 'zero' digit I am using photo interrupter (os25b10) - I am using it only once after start of the engine. You don't need it after the BEMF method stabilizes itself. In later design I am using cheap TCRT5000 - Infrared Reflective/Proximity Sensor which costs
+damago1 Glad to see your reply, i was checking some propeller clock projects when i saw your project, i think your project is way much cooler(harder) than the normal propeller clock, good jobs
I use two interrupts: one for BEMF (Atmega has a built in comparator able to fire interrupt), and another for timing the led on/off sequences. I know when I am switching the coils (BEMF interrupt), immediately after BEMF interrupt I am setting Atmega timer to X nanoseconds (usually 100-120ns), when this time elapses during timer interrupt I turn the LED on, set timer again to fire interrupt after another 50-150ns (depending on how dark/bright the digits should be) and when the interrupt fires again I turn the led off. And wait for another BEMF interrupt.
I am using back electrict motor force detection. I have invented my own method of measuring BEMF using only one arduino pin. To position where is the 'zero' digit I am using photo interrupter (os25b10) - I am using it only once after start of the engine. You don't need it after the BEMF method stabilizes itself. In later design I am using cheap TCRT5000 - Infrared Reflective/Proximity Sensor which costs
+damago1 Glad to see your reply, i was checking some propeller clock projects when i saw your project, i think your project is way much cooler(harder) than the normal propeller clock, good jobs
one question, which method did you use to detect the hard disk position so u can flash the leds at the right moment
I use two interrupts: one for BEMF (Atmega has a built in comparator able to fire interrupt), and another for timing the led on/off sequences.
I know when I am switching the coils (BEMF interrupt), immediately after BEMF interrupt I am setting Atmega timer to X nanoseconds (usually 100-120ns), when this time elapses during timer interrupt I turn the LED on, set timer again to fire interrupt after another 50-150ns (depending on how dark/bright the digits should be) and when the interrupt fires again I turn the led off. And wait for another BEMF interrupt.
IF POSSIBLE CAN SEND THE CIRCUIT BOARDS