How to connect a Home switch with an Arduino
How to connect a Home switch with an Arduino
Hi,
I'm trying to connect a home switch for my project. My objective is to call a certain position "home." How do you connect this with arduino? I'm reading this guide but I'm already using S4 for the Arduino https://resources.basicmicro.com/limit- ... -roboclaw/
I'm trying to connect a home switch for my project. My objective is to call a certain position "home." How do you connect this with arduino? I'm reading this guide but I'm already using S4 for the Arduino https://resources.basicmicro.com/limit- ... -roboclaw/
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: How to connect a Home switch with an Arduino
Home is by definition position 0. Always. On startup you need to move the motor back into the home switch so it can zero the encoder value. You can do this with the auto homing function(Home(Auto) or you can move the motor after power up using control commands(Home(User).