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
 

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!

top 4 comments
sorted by: hot top controversial new old
[–] ThePyroPython@lemmy.world 4 points 3 months 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).

[–] sneekee_snek_17@lemmy.world 3 points 3 months ago (1 children)

How do I calculate which transistor to use?

[–] trolololol@lemmy.world 2 points 3 months 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.

[–] sneekee_snek_17@lemmy.world 1 points 3 months 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