Go to Post It's sooo stressful! I brought my suitcase to school today, and I still don't know if we're going! - elfenari [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 03-04-2012, 08:06
chuckmerja chuckmerja is offline
Registered User
FRC #1696 (RoboRevolution)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2004
Location: Montana
Posts: 21
chuckmerja is an unknown quantity at this point
homemade encoder issues

we are having some issues while trying to make a single channel encoder using an NTE3100 <http://www.nteinc.com/specs/3100to3199/pdf/nte3100.pdf>. We think we have biased the 3100 thusly (we have tried with and without the 1 meg resistor)... <http://home.pacifier.com/~mcginty/nte3100.htm>

|+5VDC |+5VDC
\ \ Both Resistors
/ / 1 K ohm
\ \ Brown, Black, Red
/ /
| |
\| ---
| <-\ /
/| <-v
| ---
| |
Signal out----+------+ +----+
\ |
/ 1 Mega Ohm |
\ Brown, Black |
/ Green |
__|__ __|__
___ ___
_ _

We get 4.95 V when high (unblocked), but only drop a volt to about 3.8 V, so we never go low.

We are hooked to a "digital sidecar" and cRio. <http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2012_Assets/Digital%20Sidecar.pdf> <http://www.ni.com/compactrio/>

Any help would be greatly appreciated.

Thanks, Chuck.
__________________
2005 - Sacto quarterfinalist
2006 - Sil Valley quarterfinalist
2007 - AZ semifinalist, 2 judges awards, Woodie Flowers Award
2008 - smallest team from smallest school in FIRST - 3 person team!! - Seattle semifinalist
2009 - let's just say this bot would not have qualified for a trip to Mars
2010 - redoubled quality effort - won quality award and WINNER Utah Regional (first MT team to win an FRC regional) also won state FTC tourney (team 724)
2011 - Finalist UTAH regional
Reply With Quote
  #2   Spotlight this post!  
Unread 03-04-2012, 11:16
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: 6,979
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: homemade encoder issues

I'm thinking that your grounding resistor of 1M is too high, and so the phototransistor's leakage current is raising your Voff very high (3.8V). Try 10k or 100k on the bottom and see what happens.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 03-04-2012, 11:48
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: homemade encoder issues

According to the datasheet, the NTE3100 has an NPN phototransistor. If that's the case, Brian McGinty has connected it very oddly.

Try connecting the "bottom" of the detector to ground (the "-" pin on a Digital Sidecar's DIO connector) and use the "top" of the detector for the output (the "SIG" pin). The Digital Sidecar's internal pullup resistor will give you a false reading when the sensor is illuminated, and a true reading when the LED is blocked.
Reply With Quote
Reply


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 02:32.

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