Thanks for looking,
I am trying to use the signal output from as brush-less motor controller to detect if the power to a motor should be stopped.
The brush-less controller is from Ebay and makes use of the HAL sensors on the motor. The controller works well but has a method to cap the current drawn by the motor by reading the voltage drop across a resistor on the PCB. If the motor jams then the voltage drop measured hits a certain level, the controller switches off (trips off) and has to be then switched on and off to reset it before is will work again. This won't work for me and so I am going to try and use a signal wire on the controller board to try and sense the motor stopping and switch off the motor before the controller trips off.
The signal wire pulses high (5V) 6 times and low (0V) 6 times for every full evolution of the motor.
Is there a way I can reliably count these pulses, bearing in mind the motor can be turning up to 7000RPM
If I can then I am hoping that I can then detect if there is a jam and stop the motor before the controller trips. According to the Chinese instruction there is a 4ms window to do this in ie the time the voltage drop must exist before the controller trips off.
If someone could please advise me and possibly has any other tips it would be appreciated. Im currently using a 08M2 to control the controller using Pins 3,4,5 to start/stop and speed up/slow down and so I do have a couple of pins free on the Picaxe.
Thanks for your help in advance.
JPU
I am trying to use the signal output from as brush-less motor controller to detect if the power to a motor should be stopped.
The brush-less controller is from Ebay and makes use of the HAL sensors on the motor. The controller works well but has a method to cap the current drawn by the motor by reading the voltage drop across a resistor on the PCB. If the motor jams then the voltage drop measured hits a certain level, the controller switches off (trips off) and has to be then switched on and off to reset it before is will work again. This won't work for me and so I am going to try and use a signal wire on the controller board to try and sense the motor stopping and switch off the motor before the controller trips off.
The signal wire pulses high (5V) 6 times and low (0V) 6 times for every full evolution of the motor.
Is there a way I can reliably count these pulses, bearing in mind the motor can be turning up to 7000RPM
If I can then I am hoping that I can then detect if there is a jam and stop the motor before the controller trips. According to the Chinese instruction there is a 4ms window to do this in ie the time the voltage drop must exist before the controller trips off.
If someone could please advise me and possibly has any other tips it would be appreciated. Im currently using a 08M2 to control the controller using Pins 3,4,5 to start/stop and speed up/slow down and so I do have a couple of pins free on the Picaxe.
Thanks for your help in advance.
JPU