this post was submitted on 25 Jul 2024
28 points (93.8% liked)

diyelectronics

350 readers
1 users here now

founded 2 years ago
MODERATORS
28
IT'S ALIIIIIIIIIVE (i.imgur.com)
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

But if I want the LEDs to actually be bright, I probably need to use the sensor to activate a relay, right?

I know this is basic as shit, but I'm having a blast

Update: first trial with the planned number of LEDs and pillow stuffing, looks fantastic!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 month ago (1 children)

Ah it's always satisfying when a project starts showing signs of ~~correct operation~~ life

You don't need a relay, you can either buy an LED driver IC or some discrete transistors and resistors. Unless you want the satisfying clicky-clicky sound (yes that is a technical term).

[–] [email protected] 3 points 1 month ago (1 children)

How do I calculate which transistor to use?

[–] [email protected] 2 points 1 month ago (1 children)

Bc 547 should be in your spare box so buy a dozen even if it's not the best fit now.

I don't remember Mosfet codes but you may want one. However this is for many milli amps, I'm concerned on things catching fire without proper ventilation. A quick search gave me IRF540N. It's the TO-20 package that gives the hint of operating power, that metal back is for screwing a heat sink. Watch your fingers when it works properly.

[–] [email protected] 1 points 1 month ago

I still need to run the numbers to figure out exactly which transistor fits this application, but I feel like anything getting that hot isn't properly matched to 8 LEDs