Go to Post The world isn't made out of Nerf, you will get scrapes and bruses, but you will get back up and continue on. If you watch out you can avoid the sharp edges. - Joe Matt [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 23-01-2016, 13:01
addis687 addis687 is offline
Registered User
no team (Team)
Team Role: Webmaster
 
Join Date: Jan 2016
Rookie Year: 1998
Location: Bellflower
Posts: 11
addis687 is an unknown quantity at this point
QS18VN6LP: Wiring Diagram???

Hello,

I am looking for a wiring diagram more detailed than this for the Banner QS18VN6LP:



If anyone knows how to find (or has) it, can you please post here?
Thank you.
P.S.: I am specifically looking for the Load value.
  #2   Spotlight this post!  
Unread 23-01-2016, 13:22
isaacaddis's Avatar
isaacaddis isaacaddis is offline
Registered User
FRC #0687
 
Join Date: Jan 2016
Location: america
Posts: 19
isaacaddis is an unknown quantity at this point
Re: QS18VN6LP: Wiring Diagram???

Hello? Has anyone found anything?
  #3   Spotlight this post!  
Unread 23-01-2016, 13:46
addis687 addis687 is offline
Registered User
no team (Team)
Team Role: Webmaster
 
Join Date: Jan 2016
Rookie Year: 1998
Location: Bellflower
Posts: 11
addis687 is an unknown quantity at this point
Re: QS18VN6LP: Wiring Diagram???

I need to know too...
  #4   Spotlight this post!  
Unread 23-01-2016, 15:19
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: QS18VN6LP: Wiring Diagram???

That's about as good as the diagrams get. Once you understand what it means, then it makes sense. The device has an NPN transistor output which means that it draws current into itself from a load connected to power and routes that current to ground. One "input" (pin 4) will turn on when the sensor detects a reflection. The other input (pin 2) is on without a reflection and will turn off once a reflection is seen".

The load in industry is usually a device that senses the current. In our case, its usually a pull up resistor. The device can sink maximum of 100 ma, so a resistor around 500 ohms would be good. That would allow it draw around 22 ma. (12-1) / 500 = 0.022 A (ohms law)

In summary, you have a resistor connected to 5V and to pin 4 or 2 of the device.

The voltage at the pin of the device would be measured to detect whether or not an object is present. The measuring is the issue, if you connect that to a logic input on the roboRio, it probably won't go low enough for a good logic low, (which is less than 0.7 volts). You can connect it to an analog input and tell if its less that 2.5 volts, and then consider it on.

We went through this last year and wound up running it through an opto-isolator which not only have us a nice solid logic low, it also separated the sensor from the 5 (or maybe it was 3.3) volts of the logic input. If you are interested in that circuit, let me know by responding or PM me.
__________________
Brian K
Team 1225 Robotics Mentor
  #5   Spotlight this post!  
Unread 25-03-2016, 14:18
addis687 addis687 is offline
Registered User
no team (Team)
Team Role: Webmaster
 
Join Date: Jan 2016
Rookie Year: 1998
Location: Bellflower
Posts: 11
addis687 is an unknown quantity at this point
Re: QS18VN6LP: Wiring Diagram???

Could you please send a picture of your circuit?
  #6   Spotlight this post!  
Unread 25-03-2016, 14:35
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,923
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: QS18VN6LP: Wiring Diagram???

Quote:
Originally Posted by SuperBK View Post
it also separated the sensor from the 5 (or maybe it was 3.3) volts of the logic input. If you are interested in that circuit, let me know by responding or PM me.
Yes please. a sketch of the circuit and the opto-isolator you are using would be nice.
__________________
If you don't know what you should hook up then you should read a data sheet
  #7   Spotlight this post!  
Unread 25-03-2016, 15:25
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: QS18VN6LP: Wiring Diagram???

I dug out my sketch. Warning - my drawing and handwriting are pretty bad, but you should be able to make it out. The reflective sensor is on the left and the digital input to the roboRio is on the right, with the opto-isolator in between. I have attached it to this thread.
Attached Thumbnails
Click image for larger version

Name:	OptoIsolatorCircuitForReflectiveSensor.jpg
Views:	85
Size:	1.41 MB
ID:	20443  
__________________
Brian K
Team 1225 Robotics Mentor
  #8   Spotlight this post!  
Unread 25-03-2016, 18:22
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: QS18VN6LP: Wiring Diagram???

The Banner sensor has four wires.
  • Brown connects to a 12v supply, either from the PDP or from a 500ma output of the VRM.
  • Blue connects to the associated "ground" of the supply, either the PDP or VRM.
  • White or Black goes to the SIG pin of a DIO port on the roboRIO.
That's all. The White wire goes active when the sensor sees a reflection; the Black wire is active when the sensor does not see a reflection.

The "load" on the diagram is misleading. It isn't something you need to add; it is provided by the internal pullup resistor on the roboRIO's DIO pin.
  #9   Spotlight this post!  
Unread 25-03-2016, 18:31
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 140
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: QS18VN6LP: Wiring Diagram???

Quote:
Originally Posted by Alan Anderson View Post
The Banner sensor has four wires.
  • Brown connects to a 12v supply, either from the PDP or from a 500ma output of the VRM.
  • Blue connects to the associated "ground" of the supply, either the PDP or VRM.
  • White or Black goes to the SIG pin of a DIO port on the roboRIO.
That's all. The White wire goes active when the sensor sees a reflection; the Black wire is active when the sensor does not see a reflection.

The "load" on the diagram is misleading. It isn't something you need to add; it is provided by the internal pullup resistor on the roboRIO's DIO pin.
When we got to competition, our inspector pointed out that the wire was too small of a gauge for a 20amp breaker and asked us to move it to the VRM.
__________________


  #10   Spotlight this post!  
Unread 25-03-2016, 19:13
Chris_Ely's Avatar
Chris_Ely Chris_Ely is offline
Registered User
AKA: luckof13
FRC #3414 (HackBots)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Farmington, Michigan
Posts: 366
Chris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond repute
Re: QS18VN6LP: Wiring Diagram???

Quote:
Originally Posted by Joey1939 View Post
When we got to competition, our inspector pointed out that the wire was too small of a gauge for a 20amp breaker and asked us to move it to the VRM.
That inspector must have been mistaken.
R49 exempts wires that are recommended by the device manufacturer.
Quote:
Originally Posted by 2016 Game Manual R49
Wires that are recommended by the device manufacturer or originally attached to legal devices are
considered part of the device and by default legal. Such wires are exempt from R49.
__________________
2013: Waterford Finalist, Livonia Winner, MSC Quarterfinalist, Curie Division
2012: Waterford, Northville, Livonia
2011: Waterford Finalist, Livonia
2010: Ann Arbor Rookie Inspiration Award, Troy

Mechanical Engineering Student,
Michigan Technological University
  #11   Spotlight this post!  
Unread 25-03-2016, 19:17
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,923
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: QS18VN6LP: Wiring Diagram???

The VRM is a better choice since it is a boosted supply. The PDP will drop below 10 volts causing the sensor to brown out. The sensor might, might sometimes or might not pull low enough for the roborio to read it as a 0. One of the issues with using +12 volt sensors with 3.3 volt IO. That is the reason for Brian's modification.
__________________
If you don't know what you should hook up then you should read a data sheet
  #12   Spotlight this post!  
Unread 26-03-2016, 02:53
Schroedes23's Avatar
Schroedes23 Schroedes23 is offline
Registered User
AKA: Noah Schroeder
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Oct 2013
Rookie Year: 2012
Location: Winnebago
Posts: 6
Schroedes23 is an unknown quantity at this point
Re: QS18VN6LP: Wiring Diagram???

Quote:
Originally Posted by Alan Anderson View Post
The Banner sensor has four wires.
  • Brown connects to a 12v supply, either from the PDP or from a 500ma output of the VRM.
  • Blue connects to the associated "ground" of the supply, either the PDP or VRM.
  • White or Black goes to the SIG pin of a DIO port on the roboRIO.
That's all. The White wire goes active when the sensor

sees a reflection; the Black wire is active when the sensor does not see a reflection.

The "load" on the diagram is misleading. It isn't something you need to add; it is provided by the internal pullup resistor on the roboRIO's DIO pin.

Everything is right in this post other than the roboRIO does not have an internal pullup resistor. You will need to add a pullup resistor between your signal and your positive pin. We had to do the same on our robot. I wish they would have designed the pull up resistor internally like on the cRIO.
  #13   Spotlight this post!  
Unread 26-03-2016, 08:39
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: QS18VN6LP: Wiring Diagram???

Quote:
Originally Posted by Schroedes23 View Post
...the roboRIO does not have an internal pullup resistor...I wish they would have designed the pull up resistor internally like on the cRIO.
According to the NI roboRIO User Manual, the roboRIO does have internal pullup resistors on the DIO pins. See page 15:
DIO <9..0> on the DIO port, CS <3..0> on the SPI port, and DIO <13..0> on the MXP all have
40 kΩ pullup resistors to 3.3 V, as shown in Figure 16.
Figure 16 is just a picture of a 40 kΩ resistor between the DIO line and the +3.3 V bus.
  #14   Spotlight this post!  
Unread 26-03-2016, 09:42
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: QS18VN6LP: Wiring Diagram???

Quote:
Originally Posted by Schroedes23 View Post
Everything is right in this post other than the roboRIO does not have an internal pullup resistor. You will need to add a pullup resistor between your signal and your positive pin. We had to do the same on our robot. I wish they would have designed the pull up resistor internally like on the cRIO.
The roboRIO does have a pull-up, but it may not have been strong enough for your sensor. I didn't look for this one, but for the very similar QS18VN6LV the leakage current spec suggests it won't work on the roboRIO without an additional pull-up (though the one I tested did seem to work plugged in direct).
  #15   Spotlight this post!  
Unread 26-03-2016, 22:08
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: QS18VN6LP: Wiring Diagram???

According to data I read, the saturation of the output transistors in the Banner Sensor is typically 1.2 volts. That may not always be low enough to sensed by the 3.3 volt logic. I suspect that the opto-coupler is lower and that is why it works.
__________________
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 12:19.

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