DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Phend on October 05, 2022, 06:48:59 AM

Title: LED Indicator
Post by: Phend on October 05, 2022, 06:48:59 AM
Hello,
What effect does adding a LED / resistor combo to a circuit have other than needing power and lighting up to indicate "something ". ?
Title: Re: LED Indicator
Post by: antonis on October 05, 2022, 07:37:04 AM
To act as a part of a vactrol with a photoresistor..
https://en.wikipedia.org/wiki/Resistive_opto-isolator (https://en.wikipedia.org/wiki/Resistive_opto-isolator)
(see Applications..) :icon_wink:
Title: Re: LED Indicator
Post by: anotherjim on October 05, 2022, 08:03:59 AM
Depends on the Vf forward voltage of the LED and the required CLR current limiting resistance. You can't always just hang it anywhere on a circuit unless you're sure the current it takes won't change that circuit. That said, some high-efficiency LEDs light up enough for very little current which allows a CLR of 20k or a little higher but that still affects many audio circuits other than opamp or buffer transistor outputs. And of course, the Vf of the LED means the voltage at the circuit must exceed the Vf to work at all.

Title: Re: LED Indicator
Post by: Kevin Mitchell on October 05, 2022, 11:59:23 AM
Quote from: anotherjim on October 05, 2022, 08:03:59 AM
Depends on the Vf forward voltage of the LED and the required CLR current limiting resistance. You can't always just hang it anywhere on a circuit unless you're sure the current it takes won't change that circuit. That said, some high-efficiency LEDs light up enough for very little current which allows a CLR of 20k or a little higher but that still affects many audio circuits other than opamp or buffer transistor outputs. And of course, the Vf of the LED means the voltage at the circuit must exceed the Vf to work at all.
Well said!
Reminds me to the trouble of implanting an LED into the small-stone circuit, where the draw is allocated away from the OTAs the lfo is driving - causing trouble unless compensated.

So really it all depends where the "indicator" is pulling current from. Supply voltage, no problem... Controlled current junction... more consideration is needed unless there's a buffer there.
Title: Re: LED Indicator
Post by: Phend on October 05, 2022, 04:31:36 PM
QuoteSupply voltage, no problem
Which is where it is most often, connected to supply.
Is it benifical having a LED, connected to supply, in the circuit, other than "Indicating it's On" ?
Title: Re: LED Indicator
Post by: marcelomd on October 05, 2022, 05:10:09 PM
Quote from: Phend on October 05, 2022, 04:31:36 PM
Is it benifical having a LED, connected to supply, in the circuit, other than "Indicating it's On" ?

"It is on AND supply voltage is more or less correct, fluctuating, etc"

Ask me how I know =)
Title: Re: LED Indicator
Post by: Phend on October 05, 2022, 05:16:44 PM
^ How do you know?
Title: Re: LED Indicator
Post by: mozz on October 05, 2022, 05:46:44 PM
It's a diode, they make noise. Only joking. They do make noise but it's so small you would need some good test equipment to measure it.
Title: Re: LED Indicator
Post by: ElectricDruid on October 05, 2022, 06:36:19 PM
Quote from: Phend on October 05, 2022, 04:31:36 PM
QuoteSupply voltage, no problem
Which is where it is most often, connected to supply.
Is it benifical having a LED, connected to supply, in the circuit, other than "Indicating it's On" ?

No, there's no other benefit to the typical "on light" LED connected across the supply when the effect is switched in.

In fact, sometimes they cause pops or clicks when you switch the pedal because the LED is a current draw that kicks in instantly - hence mitigation measures like using higher efficiency LEDs (less current for the same light output), increasing the series resistor (less current) or adding caps (slows down the current spike so you can't hear it).  So in some cases there are benefits to *not* having the LED, but I've never heard of other benefits of *having* it.

It's useful to show the effect is on is all. Like you don't know when you just kicked on the latest Fuzzgasmatron 4000! ;)



Title: Re: LED Indicator
Post by: PRR on October 06, 2022, 01:32:05 AM
You can't see electricity. It is not always convenient to put your tongue on it. So a pilot light is basic trouble-shooting: "Is it plugged in? Is it turned on??"

The pedal could not care. It is a small drain on a battery. The noise should be quite insignificant if you are tapping a power rail (not a signal point; even then no big deal).
Title: Re: LED Indicator
Post by: marcelomd on October 06, 2022, 09:50:00 AM
Quote from: Phend on October 05, 2022, 05:16:44 PM
^ How do you know?

Where I live we have two mains voltages. 127V and 220V. Power supplies other than SMPS usually have a switch that I always forget about.

When you plug a 220V equipment in a 127V outlet, the LED warns you by being faint

When you plug a 127V equipment in a 220V outlet, the LED warns you by flashing VERY bright once, and then turning off.

Sometimes the LED oscillates, indicating bad power.
Title: Re: LED Indicator
Post by: antonis on October 06, 2022, 10:01:37 AM
Quote from: marcelomd on October 06, 2022, 09:50:00 AM
Where I live we have two mains voltages. 127V and 220V.

And pluralistic constitutionalism, may I suppose..??

P.S.
Never heard of a country with dual mains.. :icon_cool:
Title: Re: LED Indicator
Post by: idy on October 06, 2022, 10:43:46 AM
Brazil is like that. State to state and sometimes city to city. Got to travel with dual voltage adapters. Diverse.
Title: Re: LED Indicator
Post by: amptramp on October 06, 2022, 11:00:27 AM
One more function of the LED is a power supply voltage indicator.  Some pedals have a zener diode in series with the LED.  If the supply voltage is too low, the LED doesn't go on regardless of whether it is in operational or bypass state.
Title: Re: LED Indicator
Post by: marcelomd on October 06, 2022, 01:16:16 PM
Dual mains is inconvenient, but not unique.

Canada has 120V and 240V. China, 220V and 330V. And I know Japan has 100V and 200V at 50Hz and 60Hz.

I heard that SMPS were invented because of this (but I cannot find a reference).

And our constitution is... in need of an overhaul, frankly.
Title: Re: LED Indicator
Post by: Phend on October 06, 2022, 05:51:27 PM
QuoteSome pedals have a zener diode in series with the LED.  If the supply voltage is too low, the LED doesn't go on regardless of whether it is in operational or bypass state.

Hum, like a battery "low" indicator.
What low voltage value does a typical effect stop working, or is this to vague of a question  ?
I read that some people like low voltage to add an effect to an effect.
Title: Re: LED Indicator
Post by: ElectricDruid on October 07, 2022, 06:51:41 AM
Quote from: Phend on October 06, 2022, 05:51:27 PM
What low voltage value does a typical effect stop working, or is this to vague of a question  ?

It totally depends on the circuit in question.

However, that said, if you want a "typical" number, I'd say "around 7V or so". That's pretty low for a "9V" supply, and it's about the voltage that some op-amps start to shut down, although TL072 will go lower. It's also about the minimum voltage you need to run a 5V regulator, which is significant for any circuit that includes 5V digital elements.

It really does completely depend on the circuit though. If I used a AS2164 quad VCA chip in the circuit, it has a *minimum* voltage of +/-4V, so you really need a 9V supply that stays at 9V to use it reliably. On the other hand, the AS3080E OTA can go as low as +/-2V and has been used effectively even below that datasheet specification.

Title: Re: LED Indicator
Post by: antonis on October 07, 2022, 07:22:32 AM
It also depends on power supply reservoir capacity and load.. :icon_wink:

A big cap and a light load might withstand voltage sag (to an acceptable level) according to formula: Vc = Vs x e-t/RC, where Vc is the voltage across the capacitor, Vs is the supply voltage, t is the elapsed time since the removal of the supply voltage and RC is the time constant of the discharging circuit..

Unless, Phend talks about "for ever" low voltage working.. :icon_wink:
Title: Re: LED Indicator
Post by: PRR on October 07, 2022, 04:20:46 PM
Quote from: marcelomd on October 06, 2022, 01:16:16 PMCanada has 120V and 240V. China, 220V and 330V. And I know Japan has 100V and 200V at 50Hz and 60Hz.

US copies Canada(?). I have 240V in a few places but mostly 120V. Japan has several networks, 100V and nominal 110V, in 50 and 60Hz flavors.

Brazil seems to be distributing 3-phase power, which shows a square-root-three step between voltages. In my old school there was neutral and three hots. 117V from any hot to neutral, but 203V (nominal 208) from one hot to another. We ran a 230V range/oven on the 208. Took a little longer to come to temp but once the thermostat was in control the oven worked fine. Brazil seems to feed 220V across two (of three) hots which makes 127V hot to neutral.

Switchers are not really about multi-voltage. Transformers can have multiple taps. But when you need -regulated- voltage, as for computers, the difference in size and heat became compelling before 1979. I had a Diablo "printer" (really a specialized computer) with a massive transformer and heatsink; and a 5150 IBM PC with the switcher. The Diablo PS was full-width and hot, the PC PS was third-width and warm. Costs were similar then (before you factored a larger box) today mass-produced switchers are stupidly cheaper because less guts.
Title: Re: LED Indicator
Post by: marcelomd on October 11, 2022, 12:38:08 PM
Yup. 3-phase at home. Weirdest thing is when one phase is down and only half the house has power.
Title: Re: LED Indicator
Post by: PRR on October 14, 2022, 07:32:01 PM
Quote from: marcelomd on October 11, 2022, 12:38:08 PM
Yup. 3-phase at home. Weirdest thing is when....

That happens in 120/240 houses also.

For more fun: if the White wire (which is Black in my house) falls-off, the two "120V" sides split the 240 according to load. So 50V to the big 120V coffee-pot and 170V to the idle 120V amplifier. BOOM! And coffee water not even warm.
Title: Re: LED Indicator
Post by: antonis on October 15, 2022, 02:11:32 PM
Quote from: PRR on October 14, 2022, 07:32:01 PM
That happens in 120/240 houses also.

For more fun: if the White wire (which is Black in my house) falls-off, the two "120V" sides split the 240 according to load. So 50V to the big 120V coffee-pot and 170V to the idle 120V amplifier. BOOM! And coffee water not even warm.

Aren't there any local/national regulations about that..?? :o