Go to Post I believe with every fiber of my being that Engineering is an Art. It is a beautiful, wonderful, delightful art. - Joe Johnson [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 19-01-2013, 07:53
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
DIO on the Digital Sidecar

I'm investigating different optical sensors for detecting frisbees, and I'm curious if I'm reading this right.

I'm looking at the switches I have handy, and I'm trying to understand the NPN and PNP terminology.

I'm used to the idea of shorting signal to ground for one state, and opening them for the other. So PNP and NPN are a little different from what I'm used to.

So please tell me if this is correct:
NPN - Signal (Q for sick sensors) is normally at your source/load/input voltage - 12V. When made, it connects the signal to ground.

PNP - Output pulls up to the supply - 12V. So it's normally signal shorted to ground. When made, it pulls the signal up to your source voltage.

Am I correct? Will the DIO have any problems with seeing a signal of 12V and 0, rather than 0 and 5? Along those lines - what does the change need to be between signal on and off for the DIO to see it? 1V? 2V? 5?
  #2   Spotlight this post!  
Unread 19-01-2013, 09:05
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: DIO on the Digital Sidecar

NPN outputs are typically "floating" when off. They don't source any voltage. All they can do is set the output to ground when they're on. So they're perfect for connecting to a Digital Sidecar, which supplies a pullup resistor to 5v on the digital input pins.
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 11: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