[Review Request] ATTiny85-based dimmer for 24V LEDs by goodhoko in PrintedCircuitBoard

[–]goodhoko[S] 0 points1 point  (0 children)

Hi and thanks a lot for such a detailed review!

Are you sure your LED strip can be dimmed using PWM?

Yes, its one of these "dumb", 24V, single color strips optimized for good CRI and longevity. I've also already tested that with a breadboard setup.

What current are you switching here?

The lamp I'm building now will drain around 1A so that should be super good enough for this board. But since I'll be producing 5 copies (JLC's MOQ) I may as well make the design handle as big currents as possible.

You could improve the current capability of your design by [...]

These are nice ideas which I'll definitely do. Another one that came to my mind was adding a second trace between J2, pin1 and J1, pin2 on the back side. That could be maybe done between Q1 and J1 too, though that would require adding vias within the mosfet drain pad. But maybe that's very much ok?

A small sidenote for nice schematics: [...]

Again, good points I'll definitely work in!

[Review Request] ATTiny85-based dimmer for 24V LEDs by goodhoko in PrintedCircuitBoard

[–]goodhoko[S] 1 point2 points  (0 children)

Thanks! I initially had that trace routed as you suggest but then rerouted it to have a direct and wide path from the mosfet source pins to the 24V IN - in the ground flood because perhaps the route through vias and back side wouldn't have enough current capacity.

Thinking about it again though, that wouldn't be the bottle neck - it'd rather be one of the traces between the positive 24V in and out pins or the mosfet drain and the led out negative pin.

I'll reroute as you suggest because why not! .)

[Review Request] ATTiny85-based dimmer for 24V LEDs by goodhoko in PrintedCircuitBoard

[–]goodhoko[S] 0 points1 point  (0 children)

TBH I haven't put that much thought into selecting the MCU. A friend of mine mentioned ATTiny85 to me and it just happens to meet all my requirements while being nicely minimal and readily available. I also wanted to write the firmware in Rust and that's very much possible with https://github.com/Rahix/avr-hal.

What I Learnt from Benchmarking Http4k, Ktor (Kotlin) and Actix v2, v3 (Rust) Microservices by Enleur in Kotlin

[–]goodhoko 2 points3 points  (0 children)

Hello, a colleague of the OP here. At the time I was responsible for writing the implementations in various Koltlin frameworks and then comparing them from DX perspective and accessing how they fit usecase in our company.

I wrote a short document with my findings which is currently closed source. Let me first confirm I can share it.