Go to Post There are simply not enough words to say how much the contributions of Dave and Woodie have given to FIRST, and countless students across the world. - Libby K [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2011, 00:03
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Can you hook the photo sensors to one 12 volt out??

What we did is used the terminal strip.

For the 12V power:
I used a butt connector and had basically one input, and three outputs, 2 on each side. So we had our positive and negative wire going to a yellow butt connector, then 3 loose ends.

For the Digital Input Cables, we got the 5V power, and the signal and brought them to the terminal strip. We put a resistor between the 5V DIO power, and the signal.

So, if you do the math, that's 4 spots on the terminal strip used by every sensor, and 3 sensors. You just so happen to have 12 terminations on the terminal strip.

With the resistor between the 5V and the signal, what you did is create a pull-up for the circuit using a pull-up resistor.

I then used the white signal wire from the photo sensors. The white is the D.O. connection, meaning that when it sees the dark, it turns on. When it turns on (aka sees the dark), it pulls whatever is on it to ground. You wire the white wire to what is usually the white signal wire from the Digital Side car.

So, when it's dark, the white signal wire going to the sidecar should be at 0V when tested to ground. When it sees the tape, the signal goes out, so the pull-up resistor should pull it up to ~5V.

As for what resistance to use... I didn't do the math. We're using a 1K Ohm resistor. We haven't checked it to see if works yet. We hooked it all up at the last second, and the programmers had some code in to read it, but it didn't work. It's the first thing we'll look at when we get back.

Just remember that you're probably using 1/4W resistors. What this means is that they can keep their rating when only pulling through 1/4 of a watt.

With a 5V power supply, you don't want to go with a resistance lower than 100 ohms. At that point, you may have some toasty resistors. You may not want to go that low. I don't know what the sensors can handle (like if they can pull down the 5V supply).
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #2   Spotlight this post!  
Unread 17-01-2011, 00:08
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Can you hook the photo sensors to one 12 volt out??

Quote:
Originally Posted by RyanN View Post
For the Digital Input Cables, we got the 5V power, and the signal and brought them to the terminal strip. We put a resistor between the 5V DIO power, and the signal.
.......
With the resistor between the 5V and the signal, what you did is create a pull-up for the circuit using a pull-up resistor.
The Digital Sidecar DIO pins are internally pulled up to 5V using 10K resistors.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #3   Spotlight this post!  
Unread 17-01-2011, 00:45
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Can you hook the photo sensors to one 12 volt out??

Quote:
Originally Posted by Vikesrock View Post
The Digital Sidecar DIO pins are internally pulled up to 5V using 10K resistors.
Sweet! Always a cool thing to learn something. So do the sensors work fine with the internal 10K ohm?
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #4   Spotlight this post!  
Unread 17-01-2011, 01:56
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,113
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: Can you hook the photo sensors to one 12 volt out??

Quote:
Originally Posted by RyanN View Post
So do the sensors work fine with the internal 10K ohm?
They work perfectly. It's almost as if the Digital Sidecar was designed to handle open-collector sensor outputs directly.
  #5   Spotlight this post!  
Unread 17-01-2011, 08:47
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Can you hook the photo sensors to one 12 volt out??

Please be advised that the PD terminals work best and most reliably with #18 AWG wire or larger.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #6   Spotlight this post!  
Unread 17-01-2011, 00:13
KHall KHall is offline
KHall - 2171 Crown Point IN
FRC #2171 (RoboDogs)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Crown Point IN
Posts: 67
KHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud ofKHall has much to be proud of
Re: Can you hook the photo sensors to one 12 volt out??

No matter how you wire it, you might want to think about including a quick and easy way to swap out a sensor in your design. Just in case of field damage.
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


All times are GMT -5. The time now is 12:15.

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