View Single Post
  #3   Spotlight this post!  
Unread 06-02-2014, 19:59
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,779
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: chain mechanism to tilt panel

Is it possible? Yes. You'll want an encoder or a potentiometer--probably the pot--connected to the chain somehow, and you'll possibly want a gearbox as well, which might make for a nice place to put the pot. (The other good spot might be on a tensioner, or a random sprocket in the middle of the chain.

As far as what is optimal, that would depend on what exactly you have available. Window motors are good at holding position, but other motors may also work.


Programming setup (basic): First, figure out what the sensor reads at each desired position. Store that somewhere in the code. Next, figure out the command trigger for each position. Store that as well. When a command trigger comes in, compare the desired position to the current position, and move the motor the right direction to match the current position to the desired position. Stop the motor right before it gets to the desired position (it takes a little bit to get the command through). I'm no programmer, so I don't know how to actually implement this in code, particularly in Labview.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk