💬 Dimmable Led Strip board (MysX)
-
-
FYI...
12v = Mosfet = irlz44n, Voltage Reg (12 to 5v) = LM2940CT-5
24v = Mosfet = ???, Voltage reg (24 to 5v) = ???I think IRZL44N will handle 24V.
-
@xydix thanks! This was on my to-do list to find out but it's great with a helpful community!
-
-
Cool. What MYSX version is used?
-
@anticimex Well - its 2.4 header (mostly for stability) but its only actively 2.1 which is used so Im not sure.
-
In your next rev, perhaps you increase the spacing between the voltage regulator and the MOFSET to accommodate heat sinks? The minimum would be 2.54mm.
-
@simbo sure! I was thinking only the mosfet would need a heatsink so my plan was to attach it on the back. The maximum led strip I have is 2.5m and I didn't have to use any heatsink so didn't think much about it. Do you have some sort of heatsink link you prefer (with measurements) I can have a look at.
-
Hi, some -maybe- silly questions:
In the diagram you marked MysX connector number 9 as the "LED1", but that's the A5, and not the D3 where I see it is connected. (just asking this to be sure that I understand right the board, and the diagram)
So this is only a typo, right?Other question is that I can use the mysensors LED dimmer example sketch with the rotary encoder with this board, right? It needs 4 digital pins, and MysX has 4: "D2, D3, D5, D6".
So I just have to replace in the sketch the #define KNOB_ENC_PIN_1 4 to #define KNOB_ENC_PIN_1 2?
"#define LED_PIN 3 // Arduino pin attached to MOSFET Gate pin
#define KNOB_ENC_PIN_1 4 // Rotary encoder input pin 1
#define KNOB_ENC_PIN_2 5 // Rotary encoder input pin 2
#define KNOB_BUTTON_PIN 6 // Rotary encoder button pin"
-
@yoshida hi!
Im not sure where you get that #9 should be A5? Looks right to me. The pin is connected to pin 9, and that is D3.
For a rotary encoder, it depends on your input - but don't you want an analog signal in? In that case you use the analog pins.
Edit: offcourse, if you use a module converting it to digital like described in the the build section you use a digital pin.