Go Down

Topic: N00b needing help with 12V LED strips (Read 2 times) previous topic - next topic

lillii

Hi,

I'm new to Arduino and I'm working on a wearable 12V LED strip project. I'm a mechanical engineer/designer and so have some experience of electronics but my knowledge is more than a bit rusty.


Background to Project:

A wearable battery powered light-up costume for professional theatrical use by someone else.

I'm hoping to use between seven and ten sections of LED strip, each around 1metre long. It is single-color 12V SMD3528 LED strip (non-addressable). It has 60 x 0.08W LEDs per metre. i.e 4.8W, 0.4A per metre.

I just want each full 1m section to switch on and off in sequence (or a chasing pattern) at an absolute max of maybe 5 or 10 Hz. I don't think I need to do any PWM initially- the sections don't need to be on at the same time and I'm assuming I can find a battery that can provide 0.5-1A at 12V. It would be good to be able to have it all light up together at some points in the sequence but it looks like this would be difficult in terms of the current draw so I'm happy if this is not doable.

It only needs to run for around 10-20 minutes per battery charge.

The electronics and battery need to be as small as possible. I'll probably design a custom housing for the whole system.


The Problem:

It needs to be durable and safe. I'm slightly concerned about excessive heating and/or electric shocks. I like the idea of a small self contained arduino shield that doesn't require me to design/build a handmade PCB with mosfets. I would be more comfortable with an off-the-shelf solution initially.

Some options I've found, both from Sparkfun:

1. Power Driver Shield Kit
https://www.sparkfun.com/products/10618
This looks like a simple MOSFET kit but it only has 6 outputs which is not enough for this application. It also uses the non SMD mosfets which are very tall. I don't know if these outputs could be easily multiplexed (?)to give me more?


2. 4x4 Driver Shield
https://www.sparkfun.com/products/10256?

- "The 4x4 Driver Shield is designed to enable users to switch DC loads up to 5A at up to 30V."
- "Uses only digital pins 7, 8, 11, and 13, leaving all serial, PWM, and analog input lines free"

This sounds great, and its a good size but it's seems more designed for motors and solenoids etc. I'm wondering if I would have problems trying to run the LED strips from these outputs at the frequencies I'm hoping for?

What I'm trying to do seems to be a very common use for arduino so I'm suprised that I can't find more options for readymade high power shields. I can't see any references to people using motor-type shields for powering LEDs.

Both of the options above work with larger sized Arduino boards, but anything suitable that might work with a smaller mini pro /lillypad type board would be even better.

Apologies for the rambling question, but I have been trying to research this and am really unsure. Any help, thoughts or other options would be very much appreciated.

Many thanks,

Barry.
p.s For power source I'm currently looking at high capacity LiPo R/C batteries, but this might be a topic for another day...

KirAsh4

Your project is calling for custom made boards to be quite honest.  As you discovered, both products use large, through hole components, which will ultimately end up in a bulky setup.  You can get mosfets capable of switching 1A that aren't that big in an SMD package, but you may have to design the circuitry yourself.  Not that hard to do.  And at that point, you may as well build a custom board that has a 328P Atmel on it, with the various signals needed for your project, including the mosfets.  From your description it doesn't sound like you need a whole lot from the Atmel, so you can eliminate quite a bit from a stock Arduino board when designing your own custom one.  The only issue now is that you don't want to have to design your own ... that's a hurdle for you to jump over.

lillii

Hi,

Many thanks for the advice. It's not that I don't want to design a custom board, I just don't think I'd be confident enough to do it as my first Arduino project...

I think I might buy the 4x4 driver shield and have a play with it to see if it does what I need, and then see if I can gain some confidence to go further.

Thanks again,

Barry.

CrossRoads

You could put those MOSFETs and 2-pin connectors on a protoshield and plug the shield onto an Uno. Or use a seperate standalone board.
The gates get driven by IO pin thru 150 ohm resistor, one leg goes to common ground, the other leg goes a screw terminal for LED-, the other screw terminal gets 12V for the LED+.
Connect +12 & Gnd to your source. Connect the 12V source ground to the Arduino ground.
Can drive 6 MOSFETs from 6 PWM pins.
Need more PWMs?  Can do software PWM as well.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

KirAsh4


Many thanks for the advice. It's not that I don't want to design a custom board, I just don't think I'd be confident enough to do it as my first Arduino project...


I hear ya.  On the other hand, there's no time like the present.  Everyone starts somewhere. :)  This is exactly where I started, by building a custom controlled for an LED project.

It might be worth it for you to try and prototype this first.  Whether you use a stock Arduino board, or you prototype that as well.  You don't need much, the Atmel, a crystal with caps (or resonator) and a 3.3V - 5V source.  Once you burn a bootloader to it (using a stock Arduino), you've got yourself an Arduino clone that you can program the same way you would any stock Arduino.  Pull the necessary lines for an FTDI, at a regulator if you're going to feed the whole thing 12V (for the LEDs) so that you can drop the voltage down to 5V.

After that, just add the MOSFETs where you need them, connect them to the Atmel pins, add the headers for your LED strings and power supply and you're done.

Go Up