Hi folks
this is my dimmer for the LEDCentral LED
For this i used:
LEDcentral 3x3w LED MR16 globe (warm white)
mosfet IRF540N
signal diode (free wheeling diode) i will probably use a rectifying one for more globes
arduino
150W powersupply
multimeter (just to measure current)
240ohm resistor, between ground and arduino output
10kohm resistor between gate and arduino output
slightly modified arduino example code (i'm sure you can work that out) and
teraterm pro (can download free) i prefer this to the arduino serial monitor as i don't have to click send every time i send an ascii key
any questions, please leave comments, will get back to you
circuit diagram?
MrJaunders 8 months ago
@MrJaunders the components aren't too important, the mosfet is an IRF540N and you can use 1N4848's or 1N4001's. Whatever is at hand. Google, "Arduino mosfet" and "mosfet motor" or "mosfet inductive load". The gate on the mosfets holds a charge which you need to make sure leaks to ground or the gate will stay open so I connected the gate to a resistor to ground ~1k or something, the drain to ground, then the light negative lead to source and the freewheeling around the diode
bradder555 8 months ago
@MrJaunders this diagram gives a good idea, just instead of the motor you have the lights and instead of the 555 timer you have an arduino, atmega328, pic or other microcontroller
bradder555 8 months ago
helped me out. thanks alot man.
sombresparrow 11 months ago
@sombresparrow excellent! your doing something similar?
bradder555 10 months ago
yes. took me ages to find it though. its so hidden here. its been awhile since i saw this. good stuff ;) what are you up to now?
sombresparrow 5 months ago
@sombresparrow i built a quadcopter, haven't had a good chance to tune it yet. i'll build an inverted pendulum next using a rotary encoder, some printer parts and an atmega328P MCU. I'm going to run the code entirely through hardware interrupts which has some benefits although its a little more involved than regular arduino "hacking".
What was your project?
bradder555 4 months ago