View Single Post
  #7   Spotlight this post!  
Unread 23-06-2002, 23:55
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: Tweaking Pots

Posted by Chris Hibner at 2/2/2001 7:28 AM EST


Coach on team #308, Walled Lake Monster, from Walled Lake Schools and TRW Automotive Electronics.


In Reply to: Pots seconded
Posted by Andy Baker on 2/1/2001 7:11 AM EST:



You can easily tweak your pots at a small cost of a little resolution and one subtraction operation per pot. Set your pots so that they only use about 20-235 A/D counts from limit to limit in normal operation (20-235 is just an example, use your judgement). You can then put a button on your controller to sample each pot (you should actually take at least 5 samples and average them) and write that value to memory to serve as an offset. Therefore, you don't have to mechanically adjust the pots - just put the mechanisms in a reference position and push a button and they all sync up. It takes a little work in software but is well worth it if a pot drifts a little between rounds in the finals.

-Chris



__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.