Min_endstop/max_endstop

I follow the instruction https://docs.odriverobotics.com/endstops to setup the min/max end stop and got it to work. Except, when and after the Odrive is reboot or power cycle the end stop no longer work. In order to get it working again, I will need to first disable using “XX_endstop.config.enabled=False” then set it back to True.

Anyone have the same experience to share? Did i miss anything obvious here or this is the expected behavior.

I did not hook up external pull up resistor in my setup, is that why?

Thanks!

The pull up / pull down resistors are not optional. In 0.5.1 you should be able to set the internal Pull-up but I’m not sure if it’s working correctly (I have a report it didn’t work for one user)

1 Like

I was able to get the feature work now by not using gpio_num 1 and 2 (My guess this 1 & 2 pin have some other default use for UART). Internal Pull-up is working and tested working with NO or NC contact switch with correct setup of is_active_high (the instruction in the docs clearly explained this). Thanks for your feedback!

1 Like