A couple of questions/comments on the PmodHB5 and 1:19 Gear Motor combination, which I've been playing around with:
1. Is the motor direction being set correctly? It looks like when you set the DIR pin to high so that the motor will spin in a forward (CW) direction, the motor actually spins in a CCW direction rather than CW. Also, if you check the Sensor A and Sensor B signals in this case, it looks like Sensor B signal leads the Sensor A signal by 90 degrees, again indicating a CCW direction. Possibly I'm misinterpreting something here, but can you please clarify that the direction is being set correctly (i.e. logic high for CW direction).
2. Regarding the encoder signals Sensor A and B, can you clarify the number of pulses / revolution? From the documentation and example code, It seems to be three pulses / revolution: can you clarify?
Question
DerekM
A couple of questions/comments on the PmodHB5 and 1:19 Gear Motor combination, which I've been playing around with:
1. Is the motor direction being set correctly? It looks like when you set the DIR pin to high so that the motor will spin in a forward (CW) direction, the motor actually spins in a CCW direction rather than CW. Also, if you check the Sensor A and Sensor B signals in this case, it looks like Sensor B signal leads the Sensor A signal by 90 degrees, again indicating a CCW direction. Possibly I'm misinterpreting something here, but can you please clarify that the direction is being set correctly (i.e. logic high for CW direction).
2. Regarding the encoder signals Sensor A and B, can you clarify the number of pulses / revolution? From the documentation and example code, It seems to be three pulses / revolution: can you clarify?
Thanks.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.