Configuring an MCP236 to use encoders
Posted: Tue Jul 27, 2021 10:43 am
There is nowhere in the manual nor the datasheet, a detailed explanation of how to setup the controller options to use encoders. I'm referring to pin setups, specifically. For example, one of the possible functions of multiplexed pins 14 and 15 on the DB15 interface, is as channels A and B respectively for the encoder of Motor 1.
How will I go about selecting the pin functions to use these pins with a quadrature encoder? Do I set only one pin as 'quadrature' and the other is somehow automatically pulled in? Do I set both as 'quadrature?'
What about the 'Min,' 'Max,' 'center' values in the pin config? Command option?
Over each motor parameters in the General Settings tab, there is a drop down to select.. something... about the encoder attached to that motor. What does it select? Channel A pin? Channel B pin? Something else? Do I need to select it here as well after setting up the pin function? Do I ONLY need to select this and set the pin function to... something...?
The pictures in the manual show an entirely different interface, which I guess is for the RoboClaw controllers.
Now, pretend I am a mentally retarded 4-yo, and please explain the procedure in appropriate detail. Thank you.
How will I go about selecting the pin functions to use these pins with a quadrature encoder? Do I set only one pin as 'quadrature' and the other is somehow automatically pulled in? Do I set both as 'quadrature?'
What about the 'Min,' 'Max,' 'center' values in the pin config? Command option?
Over each motor parameters in the General Settings tab, there is a drop down to select.. something... about the encoder attached to that motor. What does it select? Channel A pin? Channel B pin? Something else? Do I need to select it here as well after setting up the pin function? Do I ONLY need to select this and set the pin function to... something...?
The pictures in the manual show an entirely different interface, which I guess is for the RoboClaw controllers.
Now, pretend I am a mentally retarded 4-yo, and please explain the procedure in appropriate detail. Thank you.