End of Travel Sensors

Hello fellow ODrivers,

I would like to include end of travel sensors for one of my robot’s axis.

Any suggestions on where I should hook those up on the ODrive S1? Any documentation I could read through would be great too

I plan on using PM-Y65-P sensors at 5V.

Best,

Emi

Hi! You can connect them to any GPIO pin – I’d probably recommend one of the ENC0 or HALL pins, as these have internal pull-ups. Unfortunately documentation is a bit sparse, working on a better page for this. You would configure min_endstop, and set the axis requested state to HOMING.

Also see here for configuring homing-based positioning: Controller — ODrive Documentation 0.6.11 documentation

1 Like