London
Offline
Newbie
Karma: 0
Posts: 31
Gold Merc Taxi Service
|
 |
« on: June 11, 2006, 05:04:48 pm » |
I want to have dimming control of two AC lamps from arduino.
I've been investigating my options but I'm not sure what is best.
Option 1: Get a DMX dimmer unit and control with the DMX control unit code in the tutorials.
Option 2: Replace the potentiometer in a standard light socket dimmer with a light dependent resistor and control with an LED connected to arduino.
Option 3: Use a light dimmer kit which accepts a 0 - 10V DC analogue control signal. (but how do I create the control signal using the arduino board??)
Can anybody advice which option would be best / easiest?? Is there another option I should try instead??
Thank you!!
|
|
|
|
|
Logged
|
my hobby -- www.jonathanbryan.com
my life -- www.ifranks.com [link]www.silver-collector.com[/link] [link]www.davidshure.com[/link]
|
|
|
|
Forum Administrator
Cambridge, MA
Offline
Faraday Member
Karma: 7
Posts: 3532
|
 |
« Reply #1 on: June 11, 2006, 05:45:33 pm » |
Not sure which option is best, but for #2 you might try a digital potentiometer like a DS1666 (if it's powerful enough for the dimmer).
|
|
|
|
|
Logged
|
|
|
|
|
Forum Administrator
Offline
Newbie
Karma: 3
Posts: 0
|
 |
« Reply #2 on: June 12, 2006, 02:43:07 am » |
hello jon
there is a quick way if you're using purely incandescent lights. buy a velleman K8064 dimmer kit. it should cost around 20 pounds. this is a voltage controlled dimmer. it can be tuned to work from the 0 to 5 v output of the arduino board. remember to place a big capacitor at the arduino output pin because the dimmer doesn't like the fast PWM pulses.
if you want to drive an analogue dimmer using a 0-10v input you just need to build a simple circuit using an op-amp. what you need is a non-inverting amplifier with a fixed gain of 2. power the opamp at 12v and you'll get a 0-5v coming from arduino into 0-10v needed by the dimmer.
the above mentioned circuit is just made with an LM358 and 2 resistors....
don't hack esisting dimmers... it's way to dangerous to play with 220V. expecially because cheap dimmers have 220v running allover the circuit and they will happily send it back to the arduino while the velleman dimmer uses an optocoupler to separate the board from the 220V part of the circuit
finally DMX is best used when controlling multiple lights in a big installation. DMX fixtures are not so cheap..
have fun
massimo
|
|
|
|
|
Logged
|
|
|
|
|
London
Offline
Newbie
Karma: 0
Posts: 31
Gold Merc Taxi Service
|
 |
« Reply #3 on: June 12, 2006, 02:14:40 pm » |
Oh Massimo! I love you're brain! Give it to me!!!!
(thanks)
|
|
|
|
|
Logged
|
my hobby -- www.jonathanbryan.com
my life -- www.ifranks.com [link]www.silver-collector.com[/link] [link]www.davidshure.com[/link]
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #4 on: March 06, 2008, 05:33:52 am » |
hi,
when using velleman K8064 dimmer kit, is there a need of a SSR between the arduino and the dimmer kit?
does anyone has any references on the code?
thanks in advance...
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 5
Arduino rocks
|
 |
« Reply #5 on: November 28, 2008, 03:52:00 pm » |
remember to place a big capacitor at the arduino output pin because the dimmer doesn't like the fast PWM pulses.
What kind of value are we talking about for the capacitor?
|
|
|
|
|
Logged
|
|
|
|
|
berlin
Offline
Full Member
Karma: 0
Posts: 150
fubbi.com
|
 |
« Reply #6 on: December 04, 2008, 08:58:47 am » |
remember to place a big capacitor at the arduino output pin because the dimmer doesn't like the fast PWM pulses.
What kind of value are we talking about for the capacitor? I am building a velleman dimmer controlled by a parallax ping. I am just about to connect them, I would really like to know this too before I hook it up. fubbi
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 276
Posts: 25482
Solder is electric glue
|
 |
« Reply #7 on: December 04, 2008, 10:02:59 am » |
About 4.7uF through a 100R resistor.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 26
Arduino rocks
|
 |
« Reply #8 on: March 17, 2009, 06:56:54 am » |
you can use transmiters, to flash with those bulbs, 5V closes the circuit they are cheap, and if you need only 3 bulbs, you don't need to worry about current supply, I could connect 15 of them, the rest is just to program it how you want to work... http://www.laro.com.pl/pdf/hm4100f-5v.pdf
|
|
|
|
|
Logged
|
|
|
|
|
Guadalajara, Mexico
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #9 on: January 19, 2010, 07:11:30 pm » |
Hey here in Mexico we use 110v for our devices, so is there an alternative for the velleman K8064 dimmer kit? or can it be setup to work with 110v instead of 220v??
Thanks in advance!
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3621
@ssh0le
|
 |
« Reply #10 on: January 19, 2010, 07:27:49 pm » |
it will work operating voltage: 110-125V or 230-240V AC (50/60Hz) http://www.vellemanusa.com/us/enu/product/view/?id=521945
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
Guadalajara, Mexico
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #11 on: January 20, 2010, 08:11:43 am » |
Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
|