Great! So based on the inputs/outputs of the driver would the wiring diagram below be the correct?
Best posts made by csosa
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
Latest posts made by csosa
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
You're probably right, but I want to finish this project as soon as possible lol. Thanks you for all your help, I will let you know if I can get the BTF-Lighting LEDs to work.
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
Sadly I think you are right
I did some research and I am thinking of ordering the Duet 3 mini 5+. Since it has a connector for the LED, hopefully it will be easier to set up.
However according to duet guide the LEDs have to be NeoPixel in order to work. Do you think it is possible to get away with using another led strip that used the same WS2812 LED used by NeoPixel. I'm asking because BTF-LIGHTING have basically the same set up but are cheaper.
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
Since my board kept disconnecting from the wifi and the diag light start flashing. I erased the firmware and tried reinstall it again using Fallback procedure #2. I am not sure why but the firmware doesn't seem to install on the board, the diag light wont turn off. I'm using Bossa to write and verify the firmware, but afterwards the diag light wont turn off. Usually I'm able to just erase the board and reinstall the firmware using Bossa and later YAT to setup the WIFI and make updates but this time it doesn't look like Bossa is installing anything. I also tried installing the firmware using SAM-BA version 2.17 but it wouldn't connect either.
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
I ran the M98 P"config.g" and got back the following
I am not sure is FTP and TELNET are suppose to be enabled but other than that it doesn't look like there are any errors in config.g
I also switched the GND to pin 2 (which is normally connected to my BL Touch). I checked the voltage from all four wires and got the following.
As you can see the voltage is all over the place expect for exp.heater7 which is working as it should. For heater pins 4 ,5 and 6 the voltage didn't change when I ran M42 P# S1.
While I was testing the last two wires (going to exp.heater6 and exp.heater7) my cooling fan started to turn on, the WIFI would disconnect and the diag. light would briefly flash. It did this a few time randomly so I unplugged all the wires going to the expansion pins. Now every time I turn it on it connects to WIFI but after a few minutes it disconnects and the diag. LED starts flashing.
Looks like I might have to erase the firmware and reinstall it before being able to test the "nil" function to undefine the heater pins.
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
I tried added '^' to all four heater pins and nothing changed.
I decided to test my board by enabling the pull up resistor '^' and inverting the input '!' to see how it affects the voltage. The results I got are shown below, as you can see the voltages are all over the place.
I also tried added MT3608 DC boosters to the pins in hope that that might boost the voltage to 3.3v but every time I connect it, the voltage coming from the pins just drops.
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
So the board arrived and I wired it just like in the image from my last post but the LEDs still don't work. I checked the voltage from each of the heater pins and they are all different.
Heater pin 4 -> 2.29v
Heater pin 5 -> 3.25v
Heater pin 6 -> 0.13v
Heater pin 7 -> 0.23vTo check if the board was working right I checked the voltage from pin 43 which is suppose to be 3.3v and it is working just fine.
Next I tried turning on and off the pin using the M42 P# S1 or M42 P# S0 and nothing happens, all the voltages stay the same.
I am at a lost and have no idea what I am doing wrong. Below is the section of my config.g code that controls the lights. I tried changing the Q value of the M950 command but that doesn't change anything.
; Lights
M950 P5 C"exp.heater4" Q250 ; Assigns red to Pin 13
M950 P6 C"exp.heater5" Q250 ; Assigns green to Pin 18
M950 P7 C"exp.heater6" Q250 ; Assigns blue to Pin 23
M950 P8 C"exp.heater7" Q250 ; Assigns white to Pin 31
M42 P5 S0 ; Turn red LED off
M42 P6 S0 ; Turn green LED off
M42 P7 S0 ; Turn blue LED off
M42 P8 S0 ; Turn blue LED off -
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
Great! So based on the inputs/outputs of the driver would the wiring diagram below be the correct?
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
@o_lampe
According to the datasheet the TB6612FNG driver can handle an Input voltage between 2.7 V – 10.8 V. Could I instead use something like the Hilitand MOS FET PWM 3-20V to 3.7-27VDC 10A 4-Channel Driver Module PLC Amplifier Circuit Board ? -
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
Thank you for your help. I have never used a driver before so I am not sure how to wire it to the Duet and LEDs. The driver I got has the following pin descriptions:
AIN1/AIN2: Control Signal input terminal
BIN1/BIN2: Control Signal input terminal
PWMA/PWMB: Control Signal input terminal
A01/A02: Motor control output
B01/B02: Motor control output
STBY: normal working/standby state control pin
VM: motor drive voltage
VCC: logic level input terminal
GND: groundWould the following wiring connections be correct?
Left side of driver
Empty----------->PWMA
Heater pin 4-->AIN2
Heater pin 5-->AIN1
Empty----------->STBY
Heater pin 6-->BIN1
Heater pin 7-->BIN2
Empty----------->PWMB
Empty----------->GNDRight Side of driver
VM<-------- PSU 24v+
VCC<------- LED 24V
GND<------ PSU GND
A01<--------LED R
A02<--------LED G
B02<--------LED B
B01<--------LED W
GND<-------EmptyThanks again for all your help.
-
RE: Connecting RGBW 24V LED strip to Duet 2 WIFi board
@o_lampe
Thanks for the advice. The LEDs do not have a driver chips or a controller onboard. Could you please send me a link to the FET driver you recommended, cant seem to find it on Amazon. Would I need a divers for each color, RGBW?