Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 22nd February 2008, 07:16 PM   (permalink)
Default detecting pull-ups

I'm interested in developing a passively-powered circuit that can distinguish Vcc from Vcc with a pull-up. The scenario is this: I have a 4 conductor cable, and I want to make sure it is wired correctly. The four conductors carry: Vcc (+5), two input lines and ground. The input lines are pulled-up to Vcc via >2K resistors.

I could just check resistances with a multi-meter to determine which lines are Vcc, GND and the inputs. However, I'd like to make a circuit I can plug the cable into and have it give me a visual indication of whether or not it is wired correctly. For instance, I can verify that the GND conductor is correct by placing an LED across the assumed "Vcc" and "GND" conductors, and it will light up only if GND is really GND.

So now I only have to distinguish Vcc from Vcc with a pull-up. Any ideas? Also, I'd like the solution to be powered by the cable (i.e. not require its own power.)

Update: I think I just came up with a solution... use 3 LEDS connected as follows:

A ---R--|>|--------R--- D
A ---R--|>|--- B ---R--- D
A ---R--|>|--- C ---R--- D

A, B, C and D are the conductors. R is a 1K resistor and -|>|- is an LED. When all three LEDs light up, then A is Vcc, D is GND and B, C are the signal lines, and this should be the only way all the LEDs can get lit. Also, the resistors provide short-circuit protection.

Last edited by pc88; 22nd February 2008 at 08:40 PM.
pc88 is offline  
Old 23rd February 2008, 02:01 PM   (permalink)
Default

That would work but you might want to consider bi-colour LEDs which glow red when the current flows in one direction and green when it flows in the other direction.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 23rd February 2008, 10:33 PM   (permalink)
Default

Well, it almost worked. I had to add a few diodes:

A ---R--|>|--------R--- D
A ---R--|>|--- B ---R--|>|-- D
A ---R--|>|--- C ---R--|>|-- D

Otherwise, if A if Vcc and B is GND, all three LEDs would light up.

This was an interesting project, and it would make a good 'extra-point' question on a homework set.
pc88 is offline  
Old 24th February 2008, 10:52 AM   (permalink)
Default

Which are the LEDs and which are the diodes?

You don't need any diodes, since LEDs can easilly hold-off a reverse voltage of 5V.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 24th February 2008, 04:49 PM   (permalink)
Default

The ones near the A terminal are the leds. I had to add the diodes between B,D and C,D because if A is Vcc and B is GND, the current would find a return path through D, i.e.:
HTML Code:
Vcc = A ---R--|>|--------R--- D
              GND = B ---R--- D
and I want to ensure that D is at a lower potential than B. Those sneaky electrons!

Last edited by pc88; 24th February 2008 at 05:01 PM.
pc88 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Modifying the BCPERS300 ups pooky Electronic Projects Design/Ideas/Reviews 0 20th January 2008 10:51 PM
push pull transistor jin29_neci General Electronics Chat 4 14th August 2005 08:39 PM
PIC 16F84A:Internal pull ups Electrix Micro Controllers 5 5th May 2005 09:57 PM
Pull Down resistor selection ? 2camjohn General Electronics Chat 3 3rd January 2005 07:00 PM
Weak Pull Up PIC16F628 clarification Dan East Micro Controllers 2 2nd August 2004 11:37 PM



All times are GMT. The time now is 07:26 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker