💬 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
-
Car battery health monitoring and alerts system with IoT integration
My Project • 7 Jan 2021, 20:57 • William Meli 10 Jan 2021, 11:51 -
Incorrect lighting of ws2811b led strips. Wemos D1 Arduino controlled
Hardware • 11 Jan 2020, 18:34 • Beeblebrox666 12 Jan 2020, 16:18 -
💬 MySX Power Board 18650
OpenHardware.io • 23 Jan 2021, 11:33 • openhardware.io 23 Jan 2021, 11:33 -
💬 Microscope Andonstar ADSM201 LED Light
OpenHardware.io • 21 Jun 2018, 22:15 • openhardware.io 23 Jun 2018, 08:32 -
💬 MySGrowLED - MySensors control for Grow Lights or Greenhouse
OpenHardware.io • 9 May 2016, 06:03 • openhardware.io 27 Jul 2017, 20:51 -
DIY Outdoor LED
General Discussion • 14 Jan 2015, 19:02 • bjornhallberg 21 Jun 2016, 20:21 -
Is MySensors relevant for this project pitch
General Discussion • 20 Oct 2017, 16:45 • od1 22 Oct 2017, 18:38 -
💬 MySMotherboard
OpenHardware.io • 22 Jul 2018, 16:19 • openhardware.io 23 Jul 2018, 22:11