💬 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.
Suggested Topics
-
💬 MySMotherboard
OpenHardware.io • 22 Jul 2018, 16:19 • openhardware.io 23 Jul 2018, 22:11 -
12 volt downlight dimmer
Development • 24 Jan 2016, 07:39 • Homer 24 Jan 2016, 15:59 -
💬 MySGrowLED - MySensors control for Grow Lights or Greenhouse
OpenHardware.io • 9 May 2016, 06:03 • openhardware.io 27 Jul 2017, 20:51 -
💬 24LEDs
OpenHardware.io • 22 Dec 2019, 16:45 • openhardware.io 24 Dec 2019, 21:05 -
Incorrect lighting of ws2811b led strips. Wemos D1 Arduino controlled
Hardware • 11 Jan 2020, 18:34 • Beeblebrox666 12 Jan 2020, 16:18 -
💬 MySX Relay 4
OpenHardware.io • 8 Jul 2020, 08:29 • openhardware.io 8 Jul 2020, 08:29 -
💬 MySXMotion
OpenHardware.io • 24 Jul 2018, 19:51 • openhardware.io 24 Jul 2018, 19:51 -
RGBW LED Controller
OpenHardware.io • 26 Jan 2016, 14:35 • openhardware.io 20 Mar 2016, 16:51