Asked — Edited

Micro Switch For Continuous Servo Limit Switch And Lights

I'm adding a periscope to my R2 and after reading a bunch of posts on limit switches, I want to know if I understand what I need to do. I've done no coding, just wrapping my mind about how to do it.

I will need a switch at the top and bottom. I plan on using a micro switch on the top and bottom. From what I think I read is, I have the signal wire go through the normally open pin to the servo and when the switch is triggered it then sends that signal through the normally closed to an ADC plugged that is set to turn off the digital servo port.

But I will first need to back the servo off the switch so it will take a command again to go in the opposite direction.

I was also going to use a second micro switch on the base that when released will turn on the lights. I am going to use a Pro Mini to store that sketch. For that I was going to run the power through the micro switch to supply power to the Pro Mini when released. I'm running 7.4 volts so I was going to put a step down to 5v to it.

Do I have it right, or is it a little more complicated then what I think?


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

PRO
Synthiam
#1  

Have you looked into a Winch Servo? This one will turn 2826 degrees: http://www.robotshop.com/ca/en/hitec-hs785hb-servo-motor.html

That way you have specific control of the positioning, rather than depending on micro switches and potentially complicated construction.

There's a discussion on Winch Servos on our forum: https://synthiam.com/Community/Forum/Search?q=winch%20servo&page=1&section=2

#2  

That's very cool. It sure would save a lot of wiring and save on ports. Thanks!