Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
In the 50 $ robot,there was the formula that 23 cycles are approx 0.992ms
And I was told that if the servo doesn't get exact pulses ("1" and "0" ) it can damage the servo (I think I did it to mine...)
How much is crucial that the off pulse would be 20ms minus the on pulse ? In the 50 $ code example , the off pulse was const.
Don't forget that the 'dec r17' instruction is also in the loop so it actually takes:-
"roi_tau" is talking about an PIC16F887 - that's an 8 bit PICMicro, it uses 4 clock cycles per instruction, so he only gets 2 MIPS with an 8Mhz clock
Started by Admin Software
Started by airman00 Software
Started by Jak24 Electronics
Started by Kerry Electronics