Go to Post The fact that it is easy doesn't mean that it is smart. - JVN [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2008, 17:26
Dave McLaughlin's Avatar
Dave McLaughlin Dave McLaughlin is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Pullman, WA
Posts: 299
Dave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond reputeDave McLaughlin has a reputation beyond repute
Analog to Digital Conversion too Slow

We are trying to make a set of shaft encoders for our robot, but we are having some major problems. We are using the vex line tracker set's light sensors, and have made a plate with holes in it that gives us suffiecient change in value for each state. We made an interupt to check the sensors, but the conversion from analog to digital is so slow, we can't read fast enought to get accurate values at high speeds. We have heard about using digital sensors, but wanted more input before investing.

Thanks for the help...
  #2   Spotlight this post!  
Unread 09-02-2008, 20:05
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Analog to Digital Conversion too Slow

you're using the vex already...why not just buy the vex encoders and modify a drive shaft? i really dont know what to say....nothing personal or anything, i just dont think you'll get it to work properly. if you do, please let me know

Good luck!
__________________


  #3   Spotlight this post!  
Unread 09-02-2008, 23:21
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,829
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Analog to Digital Conversion too Slow

You might want to consider using a compartor like the LM339 in a custom circuit. The comparator will compare the voltage from your sensor to a voltage that you determine (using a voltage divider... just two resistors... you could even make one a pot to make it even easier for setting up) and give you a digital output when you exceed a the set voltage.

We use an OPB706A reflective IR sensor when building mini-sumo robots. It is capable of detecting the white ring around the sumo ring against the back blackground of the ring using only a couple of resistors. One to protect the IR LED from over current, the other a "high" value to tie the output of the phototransistor to ground. We measure the voltage between the high value resistor and the OPB and find that it works well in that application... but only if the sensor is within 2mm of the surface.

Jason
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital to OI Analog marcan Control System 33 05-02-2007 12:46
Camera servos too slow, help please Lablabla Programming 9 19-01-2007 11:59
Analog to Digital Conversion Help Der Rowan Programming 4 23-01-2006 00:17
Kitbot/cims/transmissions running too slow? Swampdude Technical Discussion 28 23-01-2005 11:17
How slow is too slow? Joe Ross Rules/Strategy 23 12-10-2004 20:23


All times are GMT -5. The time now is 23:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi