Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 30
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Gavin (49)
Froskoy (33)
UnHappy1 (59)


Next birthdays
07/17 Eric (53)
07/17 HM_Murdock (53)
07/18 Billybobjoe (35)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Driving a led with mains.

1 2 3 4  last
Move Thread LAN_403
kimbomba
Mon Sept 16 2013, 08:03PM Print
kimbomba Registered Member #3854 Joined: Fri Apr 29 2011, 03:45AM
Location: Mexico
Posts: 95
I want to drive a led with the mains. Using a resistance in series works, but some power is lost in the resistor. Would it be more efficient if i use a capacitor in series with the led? Any other option for driving the led with the less power comsumption lost in the driver itself? I dont want to use commercial drivers by the way.
Back to top
Erlend^SE
Mon Sept 16 2013, 08:15PM
Erlend^SE Registered Member #1565 Joined: Wed Jun 25 2008, 09:08PM
Location: Norway
Posts: 159
transformer?

You should look into using neon-indicators instead, more mains friendly. 0.5 mA instead of 20 mA.

What is the application? and mains voltage?
Back to top
BigBad
Mon Sept 16 2013, 09:50PM
BigBad Registered Member #2529 Joined: Thu Dec 10 2009, 02:43AM
Location:
Posts: 600
Never done it, but I think the cap trick does basically work, and that seems to be what is said here, but it looks like you also need a zener and a reverse diode/led to deal with transients and the reverse cycle:

Link2
Back to top
johnf
Tue Sept 17 2013, 10:35AM
johnf Registered Member #230 Joined: Tue Feb 21 2006, 08:01PM
Location: Gracefield lower Hutt
Posts: 284
Just use two leds back to back and a capacitor of the right value to get the current you need 1/2x pi x f x c will get the capacitance you need
Back to top
Dr. Slack
Tue Sept 17 2013, 11:44AM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
johnf wrote ...

Just use two leds back to back and a capacitor of the right value to get the current you need 1/2x pi x f x c will get the capacitance you need

... and it will send the led domes flying across the room the second time you turn it on. You also need a series resistor to limit the inrush current that the capacitor can take if it's switched on at peak mains voltage. Consult the LED data sheet for the largest surge current it can stand, and choose the resistor accordingly. You might be surprised at how large the resistor has to be to limit the current to 100s of mA, or less.

I've used an electrolyitc capacitor across my unipolar LED string, partly because I don't like the 100Hz flicker and partly because it will absorb a large transient inrush without over-volting the LEDS. Even a cooking grade silicon bridge rectifier diodes will handle 10s of amps for one half-cycle, which means the series resistor can be a few ohms.

1379418241 72 FT157237 Leds
Back to top
Ash Small
Tue Sept 17 2013, 12:39PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
This should work too. I think it will work with just one diode, too. It has a minimum of components, has a 'bleeder' resistor to prevent the electrolytic from staying charged (unless the LED fails 'open circuit'), and to limit the current to the LED, and will only draw sufficient power to keep the electrolytic 'topped up', I think..


1379421591 3414 FT157237 Led Mains Indicator


If it won't work, maybe someone could explain why?

EDIT: Maybe it should have a second 'current limiting' resistor on the mains side?
Back to top
Dr. Slack
Tue Sept 17 2013, 07:02PM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
What you've got there Ash is a rectifier for the mains, so 170 or 340 volts on the cap depending on which side of the pond you live. Then all the power gets dissipated in the resistor.
Back to top
Ash Small
Tue Sept 17 2013, 07:30PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
Dr. Slack wrote ...

What you've got there Ash is a rectifier for the mains, so 170 or 340 volts on the cap depending on which side of the pond you live. Then all the power gets dissipated in the resistor.

OK, thanks.

So adding a shunt capacitor (or two?) would limit the power drawn from the mains, presumably?
Back to top
Dr. Slack
Tue Sept 17 2013, 09:26PM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
No
Back to top
Ash Small
Tue Sept 17 2013, 11:15PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
Dr. Slack wrote ...

No

I'm going to have to build this one, I think. wink
Back to top
1 2 3 4  last

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.