Roy Spiller
New Member
Hi I am new to the picaxe. I am using the picaxe-40x2 and the problem I have is trying to count the pulse's from a brushless motor with three hall sensors set at 120 degrees apart, they are connected a/pin d.1, B/pin d.2, and C/pin d.3. I only need to count off one of the sensors the others are for sensing direction. when I try to count from the rotating motor it is fine with a basic count routine. however when the motor slows down so the on pulse will be on for a while or stops on the sensor it will continue to count? the output pin I am using is a.5. I think it needs to trigger of the leading egde or some sort of flipflop? I don't have any program for this section at the moment.