Alternating lights from a 9v battery

  • Thread starter Thread starter bob987
  • Start date Start date
  • Tags Tags
    Battery Lights
Click For Summary

Discussion Overview

The discussion revolves around the challenge of alternating two LEDs using a 9V battery. Participants explore various methods to achieve this effect, including the use of oscillators and microcontrollers, while considering the polarity sensitivity of LEDs.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests using a square wave oscillator to alternate between two LEDs connected in parallel, expressing a desire for alternative methods.
  • Another participant proposes that a microcontroller could be a practical solution for powering the LEDs directly.
  • One participant argues against the necessity of a microcontroller, advocating for a simple square wave oscillator and a series connection of the LEDs with appropriate resistors.
  • A participant questions the feasibility of using a single 9V DC source without needing negative voltages from the oscillator to switch between the diodes.
  • Another participant introduces the idea of using a switch to alternate the connection of the LEDs to the power supply, suggesting an amplifier output as a potential solution.
  • One participant reiterates the simplicity of using a square wave oscillator, expressing frustration at the inclination to use microcontrollers for straightforward tasks.
  • A humorous remark is made about the attitude of one participant, comparing it to using a sledgehammer for simple tasks.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of using a microcontroller versus simpler methods like oscillators. There is no consensus on the best approach to achieve the desired LED alternation.

Contextual Notes

Some participants' suggestions depend on assumptions about the circuit design and the components available, which may not be fully addressed in the discussion.

bob987
Messages
15
Reaction score
0
I am trying to take two lights and usign a 9v battery switch between the LED's. My thought was if i could get a square wave to go from positive to negative, since the LED's are polarity sensative I could just put them in parallel with the positive of one and the negative of the other being fed into from the osccillator. If anyone has a better Idea on how I could achieve the same effect it would be appreciated. or how I could achieve that affect, so far i can make a square wave that is only positive.
 
Engineering news on Phys.org
Hey buddy, welcome to PF. I posted in your other thread, and as I said there, the most practical solution is to use a microcontroller. Most microcontrollers can power LED's directly.
 
Boy. A WHOLE microcontroller to flash some LEDs. What's wrong with a single squarewave oscillator. Put the diodes in series, across the supply (with suitable resistors). If you connect the oscillator (buffered, perhaps) output to the mid point (half volts) of the LED 'chain', then, when it's high, one will be lit and , when it's low, the other will be lit. Not even a dozen components involved and all of them cheap.
 
hoever, I only have a single 9v dc source. wouldn't I need negative voltages from the oscillator to switch between the diodes?
 
Imagine you had a (two position) switch that connected the mid point of the chain either to +9V or 0V. By moving the switch from one position to the other, the 'upper' or 'lower' LED would be lit. Your switch is shorting out one or other of the LEDs. The other one would have current flowing through it. For 'Switch' read 'amplifier output'.

+ supply -- resistor ---diode>---amp output ----- diode> ---- resistor------Ground

Does that help?
 
sophiecentaur said:
Boy. A WHOLE microcontroller to flash some LEDs. What's wrong with a single squarewave oscillator. Put the diodes in series, across the supply (with suitable resistors). If you connect the oscillator (buffered, perhaps) output to the mid point (half volts) of the LED 'chain', then, when it's high, one will be lit and , when it's low, the other will be lit. Not even a dozen components involved and all of them cheap.

Finally someone who sees things my way. It seems the tasks get simpler and simpler that people are willing to throw a microcontroller at.
 
Your attitude, Average-sn, would put sledgehammer manufacturers out of business at Christmas nutcracking time. :-)
 
This is from another thread on this page.

BiPolarLED-Driver.gif
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
54
Views
12K
  • · Replies 26 ·
Replies
26
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 7 ·
Replies
7
Views
19K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 14 ·
Replies
14
Views
5K
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
5K