Query : PWM based AC LED Brightness adjust

68 views
Skip to first unread message

Dhaval Varia

unread,
Dec 10, 2012, 5:42:32 AM12/10/12
to ioio-...@googlegroups.com
Dear Sir,

I need to  setup following type of configuration :

1. IOIO PWM signal vary from 0 to 100% duty cycle

2. As a result of step 1, AC Supplied LED (used for home lightning) should adjust its brightness accordingly. 

I need some kick-start.Please help me to setup above mentioned configuration.

Please NOTE that this is not direct LED interface to PWM pin.


Thanks & Best Regards.
----------------------------------------------------------------------------------------
Dhaval varia
(9924343883)

Ytai Ben-Tsvi

unread,
Dec 10, 2012, 12:47:51 PM12/10/12
to ioio-...@googlegroups.com
Do you have a certain specific driver you plan to use? Can you share the datasheet?


--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To post to this group, send email to ioio-...@googlegroups.com.
To unsubscribe from this group, send email to ioio-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ioio-users?hl=en.

Dhaval Varia

unread,
Dec 11, 2012, 1:22:24 AM12/11/12
to ioio-...@googlegroups.com
Sir,

you know i am new to electronics..

but yes i can do well if you suggest some kick start..

I have search following : 




But not getting any thing fruitful here.

I got some tutorial/datasheet for 6v to 30V variable control driver.

but we are having 0 to 3.3V PWM signal from IOIO.

What should do i do??



--

Jeff Eberl

unread,
Dec 12, 2012, 1:41:06 PM12/12/12
to ioio-...@googlegroups.com

I can't open your pdfs for some reason. My advice for dimming leds is to do it in dc. Switching ac is harder, and more dangerous. At some point, the power is going to be dc, so I would switch it there.

Dhaval Varia

unread,
Dec 13, 2012, 12:59:31 AM12/13/12
to ioio-...@googlegroups.com
Thanks for reply jeff.

but here i need LED,which would provide brightness for whole Room.

1. is it possible to achieve same thing using DC?

2. Is it possible to make PWM'd duty cycle vary for such higher DC volts by the lower one [3.3V] which is provided by IOIO. If yes and if you know some arrangement please help me to know.

Jeff Eberl

unread,
Dec 13, 2012, 4:12:00 PM12/13/12
to ioio-...@googlegroups.com
First, I'm not an expert, but I'll speak to my experiences

1) My understanding is that "AC" LED lights are really just DC LEDs powered by a AC->DC power supply. Even the LED light bulbs. For example, the long "under the counter" LED light strips often have a "wall wart" style AC-DC power supply, and a cable that transmits that DC power to the strips. This cable is a good place to put your switching electronics to control and dim the lights.

2) I bought some 12V DC LED strips from ebay, and used a darlington controller package (https://www.sparkfun.com/products/312) to control them. It was very simple. The package I used has a 500mA limit, so I had to cut up the strip into <500mA lengths. The darlington controller has near instant switching time, so the PWM looks just like a dimmer. You can achieve a similar effect, with larger voltages, and larger currents with an opto isolated solid state relay. They are more expensive. They are hard to find, but there are SSRs for AC switching as well. A regular relay will not be useful for you because the switching is mechanical, and won't switch fast enough for dimming. You'll probably want the PWM frequency to be around 100Hz.

Ytai Ben-Tsvi

unread,
Dec 13, 2012, 8:39:46 PM12/13/12
to ioio-...@googlegroups.com
Jeff, you're over-thinking this. The DC case is super-simple: a single power MOSFET should do it. If you go crazy voltage or current, you may need gate drive, which is yet another MOSFET or a driver chip.

Dhaval, I recommend you to either go DC or have a qualified Eng/Tech build this for you if you want AC.
What you really want to start with is finding the LED you want to use. Once you have its specs, we can figure our what the proper driver circuitry is.


To view this discussion on the web visit https://groups.google.com/d/msg/ioio-users/-/kqiThE1F3iEJ.

Dhaval Varia

unread,
Dec 14, 2012, 2:02:28 AM12/14/12
to ioio-...@googlegroups.com
Ok sure sir :)

Thanks for help

Dhaval Varia

unread,
Dec 14, 2012, 2:05:53 AM12/14/12
to ioio-...@googlegroups.com
Sir i got one thing for AC driver.

I don't know how much reliable this.

Please find attached PDF,which has whole schematic.

Here in place of switches,i would add Transistor to make switching possible using IOIO.

Please correct me if something is wrong.and please let me know,will it work in reliable way for market product?
AC Motor speed controller.pdf

Ytai Ben-Tsvi

unread,
Dec 14, 2012, 2:55:45 AM12/14/12
to ioio-...@googlegroups.com

Is this related to your original question on LEDs?

Dhaval Varia

unread,
Dec 14, 2012, 5:00:01 AM12/14/12
to ioio-...@googlegroups.com
Yes it is.
In place of fan,i am going to use LED bulb

Dhaval Varia

unread,
Dec 14, 2012, 5:48:46 AM12/14/12
to ioio-...@googlegroups.com
In above question by AC, i means Alternate currunt

Ytai Ben-Tsvi

unread,
Dec 14, 2012, 12:23:55 PM12/14/12
to ioio-...@googlegroups.com
This looks way over-complicated for dimming an LED bulb, and being designed to drive motors, it is probably not suitable for driving LEDs.
The first link that you originally sent (supertex) seems much more sensible, and possibly there are similar products from other vendors.
This goes back to the question: what are the LED specs?
Reply all
Reply to author
Forward
0 new messages