THE ANNIN ROBOTICS FORUM HAS MOVED TO A NEW COMMUNITY. 👉
Why are the limit s...
 
Notifications
Clear all

Why are the limit switches not set up to use pullup?

3 Posts
2 Users
0 Reactions
50 Views
Avatar of Joseph Puzzo
(@joseph-puzzo)
Trusted Member
Joined: 2 months ago
Posts: 49
Topic starter  

Hi! So It seems each limit switch requires three wires when you can instead achieve the same via the internal pullup resistors in the teensy. See attached image and this link http://johnny-five.io/examples/button-pullup/ Why did you decide to use three wires instead of two ?



   
Quote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 535
 

The pull-up resistors weren't strong enough to be reliable over a 5 ft ethernet cable, so I opted to do three wires and pull it to ground when the switch is not made. This ended up being the most bulletproof solution that I have found.



   
ReplyQuote
Avatar of Joseph Puzzo
(@joseph-puzzo)
Trusted Member
Joined: 2 months ago
Posts: 49
Topic starter  

Ahh Ok that makes sense thanks !



   
ReplyQuote
Share:
Upload your Photo