Quadratic encoders - voltage issue
Posted: Tue Jul 16, 2019 11:26 pm
Hello,
I am using a MCP236 Brushed DC Motor Controller, and have issues to read quadratic encoder inputs. The controller is powered by 12VDC on the B- and B+ pins. I am connected to the controller via USB, and have this motor plugged into it: https://www.pololu.com/product/3497 with this encoder attached: https://www.pololu.com/product/3499. The motor is connected to the pins M1A and M1B. The encoder is connected to this extension: https://www.pololu.com/product/3596. It is connected to 5VDC on pin 3, to the ground on pin GND, and the 2 output channels of the encoders are connected to pin 14 and 15.
When I manually rotate the encoder and the 2 output channels are not connected to the encoder, I can measure either 0 or 5V on these. However, when I connect them to the controller, the voltage is either 0 or 1.5V. So the voltage is much lower.
In the Basicmicro Motion Studio, if I set these inputs as analog, I can see the corresponding voltage displayed. However, if set to pulses or quadratic encoder, I am not able to detect any pulses. I guess it is due to the drop in the voltage from 5 to 1.5 when connected to the controller, which is to low to be detected as a pulse by the controller.
Are there some steps that I miss or something I am doing bad? Your help would be greatly appreciated.
Best,
Cedric
I am using a MCP236 Brushed DC Motor Controller, and have issues to read quadratic encoder inputs. The controller is powered by 12VDC on the B- and B+ pins. I am connected to the controller via USB, and have this motor plugged into it: https://www.pololu.com/product/3497 with this encoder attached: https://www.pololu.com/product/3499. The motor is connected to the pins M1A and M1B. The encoder is connected to this extension: https://www.pololu.com/product/3596. It is connected to 5VDC on pin 3, to the ground on pin GND, and the 2 output channels of the encoders are connected to pin 14 and 15.
When I manually rotate the encoder and the 2 output channels are not connected to the encoder, I can measure either 0 or 5V on these. However, when I connect them to the controller, the voltage is either 0 or 1.5V. So the voltage is much lower.
In the Basicmicro Motion Studio, if I set these inputs as analog, I can see the corresponding voltage displayed. However, if set to pulses or quadratic encoder, I am not able to detect any pulses. I guess it is due to the drop in the voltage from 5 to 1.5 when connected to the controller, which is to low to be detected as a pulse by the controller.
Are there some steps that I miss or something I am doing bad? Your help would be greatly appreciated.
Best,
Cedric