View Single Post
  #15   Spotlight this post!  
Unread 27-01-2017, 09:28
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,733
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Climb Stopping Mechanism

Step 1: If your climber is a winch, get rid of all of your sensors and use the PDB's built-in current sensors. When Current / Applied Voltage > a ratio (we're using 60A & 12V, so ratio of 5) then disable the motor from going in that direction for N milliseconds.
Step 2: Test
Step 3: Test Some More.

Current through the motor is responsive and reliable to read and react upon. Getting it from the PDB is one of the best things added to the control system in recent years.
__________________

Drive Coach, 1885 (2007-present)
2017 Scoring Model
CAD Library | GitHub
Reply With Quote