Hobby Electronics Basics LED 101 - light when a plug is inserted

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
LED 101 - light when a plug is inserted anonymous 10-07-04
Posted by anonymous on October 7, 2004, 10:40 pm
Please log in for more thread options
Here's what Im hoping to accomplish:

I have a +9V lead and a ground going to a plug. I want to light the LED when
the plug is inserted. The load on the plug will vary from 0 to ~100 mA.


Is this (relatively) straightforward or am I thinking foolishly?




Posted by anonymous on October 7, 2004, 11:07 pm
Please log in for more thread options
(d'oh)

my first thought was to run a line parallel to the 9V connected to the (+)
plug lead with a 350Ohm resistor. I don't think this would work as all the
current would go through the open line. What if I put a 90K resistor on the
open line? Seems like this would give me ~100mA to my plug and ~20mA to my
LED...

am I thinking on the right track?


> Here's what Im hoping to accomplish:
>
> I have a +9V lead and a ground going to a plug. I want to light the LED
> when the plug is inserted. The load on the plug will vary from 0 to ~100
> mA.
>
>
> Is this (relatively) straightforward or am I thinking foolishly?
>




Posted by John Fields on October 7, 2004, 7:17 pm
Please log in for more thread options
wrote:

>(d'oh)
>
>my first thought was to run a line parallel to the 9V connected to the (+)
>plug lead with a 350Ohm resistor. I don't think this would work as all the
>current would go through the open line. What if I put a 90K resistor on the
>open line? Seems like this would give me ~100mA to my plug and ~20mA to my
>LED...
>
>am I thinking on the right track?

---
Put an LED in series with a 470 ohm resistor across the load, with the
anode of the LED pointing toward +9V.

--
John Fields


Posted by anonymous on October 8, 2004, 7:00 am
Please log in for more thread options


>>am I thinking on the right track?
>
> ---
> Put an LED in series with a 470 ohm resistor across the load, with the
> anode of the LED pointing toward +9V.
>
> --
> John Fields

I must be too ignorant to understand your explanation properly. It sounds
like this would always be on regardless of the state of the plug (putting
the LED + resistor across the load) -

On further consideration I think I have a problem in that the current draw
for each possible output device is unknown and variable. I can't rely on
100mA of current being pulled through the circuit. Some of these devices
only need 5-10mA. This would give me LEDs of variable brightness. Based on
my naive understanding it almost sounds like I need a digital circuit that
would "pull high" when any current flows through the line and then all the
way off when current stops.




Posted by Randy Day on October 8, 2004, 3:05 am
Please log in for more thread options
anonymous wrote:
>>>am I thinking on the right track?
>>
>>---
>>Put an LED in series with a 470 ohm resistor across the load, with the
>>anode of the LED pointing toward +9V.
>>
>>--
>>John Fields
>
>
> I must be too ignorant to understand your explanation properly. It sounds
> like this would always be on regardless of the state of the plug (putting
> the LED + resistor across the load) -

What John means is put the LED in parallel with the
circuit being powered; am I correct in assuming you
want an LED mounted, say, in the *outlet* - that
lights when something is plugged into it?

If you have a spare connection on the plug and
socket you plan to use, you can do it simply:

Socket Plug
| |
+V-------| ---|------o------ +V to circuit
| | |
o----------| ---|------o
| | |
| -V-----o-| ---|------------- -V to circuit
| | | |
|-----| |
.-. |
R | | |
| | |
'-' |
| |
| |
LED V |
- |
| |
----
(created by AACircuit v1.28 beta 10/06/04 www.tech-chat.de)


Similar ThreadsPosted
LED 101 - light when a plug is inserted October 7, 2004, 10:40 pm
What is 18 pins I/O plug? July 27, 2006, 9:36 pm
Plug Pack Problems November 28, 2004, 7:03 pm
Would LT3591 "plug in" to this circuit? June 12, 2008, 4:52 pm
250V plug wiring question June 4, 2007, 11:31 am
Plug a 240V-110V US Dryer in Europe October 30, 2004, 4:58 pm
Wifi antenna plug std: Apple Airport, etc October 24, 2006, 6:53 am
comp wont start after plugging into 230v plug March 8, 2007, 9:35 am
LED light box--Only 11 mm LED slim light box in China! July 25, 2007, 5:38 am
To know at last what are light and electricity : October 17, 2004, 11:53 am
light switches December 7, 2004, 2:27 pm
New Light Controller March 21, 2005, 11:45 pm
Night light July 3, 2005, 6:02 pm
Light from antena? July 30, 2005, 4:46 pm
using a LED as a light sensor May 6, 2006, 7:30 pm