Hi, just starting out and getting confused as heck. Familiar with 12v car wiring and 110-220v house stuff but getting hung up on this project it’s a different beast but I’m looking forward to a challenge
Project has these requirements:
-1m (40") long addressable RGB LED strip
-0.3m (12") long UV LED strip
-LED driver x2
-1 DC motor
-On-off Switch powering the whole thing
-Mode select switch for the 1m RGB
-Mode select switch for the DC motor
-Single power source from wall adapter
-Programmed controller
There's great resources on coding so for now I'm just looking for help selecting components and seeing if it's doable
So far I've gathered I need:
RGB addressable strip
12v WS2811 1m=720LEDs
UV strip
12v SMD3528 0.3m=15LEDs
Motor
3v-12v TT motor (250 mA max)
Mode switches
Momentary
On-Off switch
Toggle
Controller
Nano arduino or ESP32?
Motor driver
L298N Mini or DRV8833?
LED driver
1 MOSFET for each strip?
Power source
I'm assuming it should be 12v with high enough amperage for the LEDs and motor then somehow step down to 9v to motor driver and controller to avoid frying either?
I found guides to power arduino off a regular old L298N but not the mini or DRV8833, is this possible? A separate power source would not be practical with this project
Thanks for any help clearing up whether this is possible or not or if there's a better way to go about it. I just want to spin a small motor with direction and speed changes, a 1m led strip with selectable patterns and a 0.3m solid UV strip that can be turned on or off
if you use l298 ( that drives 2 motors ) you can use first driver for motor, and second driver for uv leds ( if your motor is 9V nominal you can drive it using 75% pwm and you are ok, no step down required ), as motor an deds power is limited you will not have gread power dissipation problem
ws2811 are generally available in 30/60/144 led x meter
esp32 has also wifi/bluetooth ( nice for remote control )
This is fantastic information thanks for clarifying it’s possible to use the motor drivers second output to power the UV.
So I would feed 12v from the wall adapter to a splice with one wire stepping down to 9v going to the motor driver, from there one output is the DC motor and the other output feeds the UV strip. The other side of the 12v feed splice doesn’t step down and goes straight to the RGB strip with no MOSFET or driver in between. Since the controller should be an ESP32 as advised, that means I must get 3.3v from somewhere to turn it on it, where’s the best place to get the power stepped down from?
Here are the parts in question, yes 720LED/m sounds like a lot although that’s what the seller claims. I could go with a lower LED count if that’s too much to drive. Copy that on using an ESP32 instead of a Nano, makes sense it must be a lot of data to handle
Interesting, I read on this forum that the “mini” L298N is also known as “MX1508” and replaces the old L298N as a more efficient driver not so much of a heater. It’s possible I misunderstood something!
Each led 5050 is 5mm so I'd count max 200led x meter ( not counting ws2811 and resistors/capacitors ), 600 if we count each r/g/b led ( chinese seller are quite generous with numbers ; - )
How many motors ( 1 or more ) as mx1508 should have a max continuous current of 1.3A/1.5A
That makes a lot of sense to me! Combined with the fact that the seller recommends a 12v 1amp power supply for a 1m length, you're probably right that its not a 720 count unless they're super efficient. I ordered it anyway so I can mess with it, I'll strip a length and see how many there actually are but its not a big deal other than to determine what size my power supply should be
I only need to drive 1 motor with the circuit, at 250mA max (im assuming it only ever draws that much if stalled) it should leave a lot of headroom