For a hobby project I am developing a solar tracker. For this I obtained a linear actuator. It contains a DC motor, 2 Hall sensors and an end switch. I am using an Arduino Uno and a Polulu motor driver for control. Below is a link to a simple electrical schematic of the actuator
http://www.solar-motors.com/inc/getfile.php?id=783163FD-16DB-4AE0-9A48-C1CD71093105
I have managed to run the motor and read out the hall sensors. My problem is with the end switch. I am not sure how to wire this and read this signal.
I am powering the Hall Vcc with 5V form the arduino, which works well with the hall sensors, but when I connect the end switch to a digital input pin I get no signal when the actuator is at its end.
Does somebody have an idea on how to set this up. Thanks