Go to Post FIRST is like riding a bike. At first it may seem hard and confusing, but after a few tries you get the hang of it and its smooth sailing from then on out. - Tom Bottiglieri [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 23-01-2012, 22:56
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Alternate encoders?

We had a similar issue in finding a decent encoder. I found and gutted an old Ball Mouse, using the optical components to sense a slotted wheel.

A ball mouse has four IR LEDs (clear case) that shine onto four Photodiodes (red case). Starting with a 7805 voltage regulator (to convert robot's 12V), I fed a pair of LEDs (wired in series) the 5V through a 100 Ohm resistor.

Each photodiode has a surface-mount 10k resistor associated with it. +5 goes to one side of the photodiode, I pick off the signal from the other side of the photodiode (which also goes to the resistor), and the other side of the resistor is ground.

The Photodiode output is fed through a 74LS14 inverting Schmitt Trigger ('cause that's what I had) but I suppose any TTL device would buffer it OK. (A Schmitt Trigger is used exactly for this kind op application, 'debouncing' any inputs)

I think the cRio can handle the data rate, if I measure the time between pulses to check speed. If not, we might use an Arduino board to handle the counting via Interrupts and also do the PID calculations, feeding only motor speed control data back to the cRio.

Testing it tomorrow.

(Are you old enough to know what a Ball Mouse is?)
__________________

I am N2IRZ - What's your callsign?
 


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


All times are GMT -5. The time now is 04:29.

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