How do I reverse the pattern of a LED ligt?

  • Thread starter Thread starter Darkflame808
  • Start date Start date
  • Tags Tags
    Led Reverse
Click For Summary

Discussion Overview

The discussion revolves around designing a circuit to create an inverted LED behavior in an alarm system. The goal is to have one LED (LED #1) lit continuously when the system is armed, while a second LED (LED #2) blinks in opposition to LED #1 when a switch is triggered. Participants explore various methods to achieve this inversion using transistors and resistors.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes the desired function where LED #2 should turn on when LED #1 is off, and vice versa, using a transistor to control this inversion.
  • Another participant suggests using a diode in parallel with the existing LED to achieve the complementary function, contingent on sufficient driving current.
  • A participant clarifies their intention to use a bright LED for attention, expressing a need for a voltage-controlled switch to replace a mechanical switch in the circuit.
  • One participant proposes a schematic involving a transistor inverter to achieve the desired LED behavior, indicating that when the input signal is high, the transistor will turn off LED #2.
  • Another participant reiterates the suggestion of using a transistor inverter, emphasizing the importance of understanding the basic circuit design.

Areas of Agreement / Disagreement

Participants present multiple approaches to achieve the desired LED inversion, but no consensus is reached on a single method. There are differing interpretations of the circuit design and functionality, indicating ongoing exploration and debate.

Contextual Notes

Some participants express uncertainty about the implementation details and the effectiveness of proposed solutions. There are references to needing more information, such as schematics, to clarify the discussion further.

Who May Find This Useful

Individuals interested in electronics design, particularly those looking to implement LED control circuits or explore transistor applications in circuit design.

Darkflame808
Messages
3
Reaction score
0
I have an ackward question.

I've been trying to device a circuit to reverse the pattern of a LED.

Let me give you a quick rundown of my situation and my goal.

As it stands now.

Imagine a an alarm system. When activated a LED is lit 24/7. When a switch is triggered the led will blink off,on,off,on,off,on until the switch is deactivated in which case it will resume to the permanently on status.

I want to use the signal of this led +12v to control a transistor to do the opposite with a second LED.

When this LED is on, the second LED is off. When the switch is triggered, the voltage cut from the first LED will cause the second LED to turn on.

Basically I'm trying to see if there is a way to make it so LED #2 acts in the exact opposite of LED #1.

I can power LED #2 from a separate source of power. LED #1 is powered from a 12v circuit, led #2 is also 12V (can be same circuit or difference 12V no matter to me)

Does anyone understand my goal? It's kinda complicated to explain.

I'm trying to avoid having to stare at a bright led when it's armed constantly but still have it flicker (even if backwards to the orignal led) when triggered. Doing this I can hide the first led out of sight but still retain the same alarm alert using the second LED.
 
Engineering news on Phys.org
The simplest way to establish this complementary function is to have an LED (and resistor) in parallel with the other branch, except that the LED is turned around from the other. In this way, the first LED is on when the second is off, and vice-versa. This only works if there's enough driving current (which, given that most alarm systems are powered off of higher-current sourcing microcontrollers, is usually okay--or at least worth a try).

I'll try to represent that here with a diode as -|>- and resistor as -\/\/\-

Output:
o---|>----\/\/\---------o GND
| |
|--<|----\/\/\------|

Additionally, if it's just the LED intensity that bothers you, and you have some soldering expertise (and the alarm unit uses decent-sized components), you can just solder a larger resistor value to limit current going to the LED.
 
actually its the opposite. I want to put a really bright led to get my attention. but don't want the constant on status to be a distraction.

I am at work so I don't quite see what your trying to explain. someone at work read my post and he said I made it sound way too complicated for what I want to achieve. he told me I should word it this way.

I want to use voltages as a switch. when 12v is present on a line the switch is open. when there is no voltage on the line then the switch is closed.
I can draw a schematic to better explain tomorrow when I can access my tablet. just picture a square circuit. 4 sides.

each side is a component.
1. power
2.led
3.resistor
4. switch.

I want to replace switch with something controlled by voltage. (transistor? )
if voltage is present it is open. if voltage is not present it is closed.

I thought about what you wrote but I am not sure how to implement that. I think I need to get that schematic up on here.

thanks!
 
Here's basically what I mean. In circuit #1, the two wires coming out of it is currently hooked up to a LED that is driven by 12 volts.

I want to make the LED behave in the exact opposite. When the controller turns on the LED by turning on the +12V line, I want an LED to actually turn off. When the controller turns off the +12v line to turn the LED off, I want my led to turn on. Complete reversal of the function the controller intended me to "see".

Thanks! I really hope my chicken scratch is legible.

My electronics skills are pretty much 1990's so bear with me if things don't make sense. I think you'll catch my drift.

Aloha!
 

Attachments

  • How do I make the voltage on #1 be a switch for.JPG
    How do I make the voltage on #1 be a switch for.JPG
    50 KB · Views: 494
Since you want to use a bright LED for the inverted function, it will help to add a transistor buffer to do the inversion. Do a web search on "transistor inverter" to see the basic circuit. Here's a crude ascii diagram:

V+
|
<
> R1
<
|--------------
/ |
S--^v^-- | T1 |
R2 \ #
| # LED
| #
| |
vv vv

S is the input signal, R1 and R2 are appropriate resistors to limit collector and base current. T1 is an NPN transistor, e.g 2N2222. # is your bright LED.

When the signal is high, the transistor is on, taking all the LED current, so the LED is off. When signal is low, the transistor is off, and the LED gets the current/voltage, so is on.
 
Since you want to use a bright LED for the inverted function, it will help to add a transistor buffer to do the inversion. Do a web search on "transistor inverter" to see the basic circuit.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
32
Views
11K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
10
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K