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.
{ EvaRegs.ACTRA.all = 0x0000; // all PWM pins forced low initially if(AdcRegs.ADCRESULT0 > 0x0900 && AdcRegs.ADCRESULT0 < 0x10FF) { GpioDataRegs.GPBDAT.all = 0xFFFB; EvaRegs.T1PR = 0x03A9;//10kHz EvaRegs.ACTRA.all = 0x00C2;// EvaRegs.ACTRA.all = 0x0C02;// EvaRegs.ACTRA.all = 0x0C20;// EvaRegs.ACTRA.all = 0x002C;// EvaRegs.ACTRA.all = 0x020C;// EvaRegs.ACTRA.all = 0x02C0;}
it just move a little, stop, and then the motor start buzzing. why is it my motor not spinning but make sound.
can anyone tell me how to convert the speed from frequency to rpm?
can you explain more about it. i don't know which equation i have to use.