Go to Post There will inevitably be enough unintentional failure in any endeavor we take on that adding intentional failure on top of that seems unnecessary. - Jared Russell [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 16-01-2011, 13:39
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Can you hook the photo sensors to one 12 volt out??

instead of running 6 wires to the sensors?
  #2   Spotlight this post!  
Unread 16-01-2011, 19:32
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Can you hook the photo sensors to one 12 volt out??

Quote:
Originally Posted by Must Be Drama View Post
instead of running 6 wires to the sensors?
I'm sorry, I just don't understand what you're asking here?

Are you asking for a way to simplify the wiring of the Rockwell light sensors?
Please elaborate.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #3   Spotlight this post!  
Unread 16-01-2011, 19:59
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??

I'm pretty sure you can. I believe that falls under the "multiple low-current devices" rule. Let me look it up.

<R39> part F

Quote:
Custom circuits and sensors powered via the cRIO-FRC or the Digital Sidecar are
protected by the breaker on the circuit(s) supplying those devices. Power feeds to all
other custom circuits must be protected with a dedicated 20-amp circuit breaker on the
PD Board.

Quote:
In addition to the required branch power circuit breakers, smaller value fuses or
breakers may be incorporated into custom circuits for additional protection.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 16-01-2011 at 20:16.
  #4   Spotlight this post!  
Unread 16-01-2011, 20:27
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 Matt Krass View Post
I'm sorry, I just don't understand what you're asking here?

Are you asking for a way to simplify the wiring of the Rockwell light sensors?
Please elaborate.
To clarify the OP's question. 6 wires include 3 positive and 3 negative wires for the 3 sensors provided.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #5   Spotlight this post!  
Unread 16-01-2011, 20:44
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Can you hook the photo sensors to one 12 volt out??

that's what I did and it works fine but with all of the daisy chaining it looks awful.
  #6   Spotlight this post!  
Unread 16-01-2011, 21:37
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Can you hook the photo sensors to one 12 volt out??

Quote:
Originally Posted by RyanN View Post
To clarify the OP's question. 6 wires include 3 positive and 3 negative wires for the 3 sensors provided.
Oh, now I get it, tying the outputs of the sensors together to save wiring.

Well, electrically, that should work fine, one of the wonders of open-collector outputs, though I'm not sure how the ruling goes on that.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #7   Spotlight this post!  
Unread 16-01-2011, 22:29
tagayoff's Avatar
tagayoff tagayoff is offline
Registered User
FRC #3512
 
Join Date: Jan 2011
Location: Santa Maria,CA
Posts: 40
tagayoff is a jewel in the roughtagayoff is a jewel in the roughtagayoff is a jewel in the roughtagayoff is a jewel in the rough
Re: Can you hook the photo sensors to one 12 volt out??

Just remember <R40>
<R40> All active PD Board branch circuits shall be wired with appropriately sized wire:

Application Minimum wire size
40A circuit 12 AWG (2.052mm)
30A circuit 14 AWG (1.628mm)
20A circuit 18 AWG (1.024mm)

between the PD Board and the Analog and/or Solenoid Breakouts if a common power feed is used 18 AWG (1.024mm)

between the PD Board and the Analog and/or Solenoid Breakouts if individual power feeds are used 20 AWG (0.8128mm)
between the PD Board and the cRIO-FRC 20 AWG (0.8128mm)
between the PD Board and the radio 20 AWG (0.8128mm)
pneumatic valves 24 AWG (0.5106mm
  #8   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
  #9   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)
  #10   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.
  #11   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
  #12   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.
  #13   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,795
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.
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 07:26.

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