6XD I/O >> Issue solved
-
@tecno RepRapFirmware 3.5.1 as well? Please update to 3.5.3 (RRF and DWC) and test, there have been some fixes for LEDs. https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.3
This was a fix in 3.5.2:
[Duet 3 MB6HC] [Duet 3 MB6XD] When a Neopixel LED strip was configured on a part other than the LED port, the first LED in the strip sometimes had the wrong colour (issue 996). This was a new bug in RRF 3.5.0.
It could also be the M950 Q parameter. We say:
The Qnn parameter sets the LED clock frequency. This is 4x the bit rate. Most datasheets for LEDs (at least SK6812 and WS2812B based LEDs) suggest a maximum data rate of 800Kbps, so 800000 * 4 = 3200000. The default of 3000000 appears to work well with most LEDs.
So try M950 E0 C"led" Q3200000, and M950 E0 C"led" Q2800000, but after you have updated the firmware.
Also, check your wiring!
Ian
-
-
@tecno I've just tested it on a 6HC, on RRF 3.5.1, and it's working for a 7-segment LED strip. All light up correctly. The fix in 3.5.2 was if you were using IO ports for LEDs. I don't have a 6XD to test, but it should be exactly the same as 6HC.
Can you send M115 and post the response?
Can you post a picture of the other side of the neopixel ring?
Also, I'm not sure using the uninsulated wire as the high frequency data line is a good idea! Most likely it has higher resistance than a 'normal' wire, and may not be transmitting the signal effectively. Use a different wire.Ian
-
m115
FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6XD FIRMWARE_VERSION: 3.5.3 ELECTRONICS: Duet 3 MB6XD v1.01 FIRMWARE_DATE: 2024-09-18 11:27:56This cable is a HQ Audio twisted pair with foil shield. Change White to shield.
-
@tecno Ah, that looks like an RGBW ring. Try
M950 E0 C"led" Q3000000 T2 M150 E0 R255 P128 S20 F0
M950 T2 tells RRF that it's RGBW, not RGB.
Ian
-
-
Morning Ian,
Changed LED strip and only 1 of 8 is working on this one too.
M950 E0 C"led" Q3000000 T2
M150 E0 R255 P128 S20 F0Any suggestions?
Cheers
Bengt -
@tecno I've just tested both RGB and RGBW LEDs on my 6HC, both worked without issue. I've asked someone with a 6XD to test.
Can you post a link to the white LED ring you bought? And post a picture of the current wiring?
Ian
-
-
@tecno Shouldn't the control signal be going to d0 and not to d1?
-
As I understand is 6XD D0 out goes to Di in.
-
@tecno Those do look like RGB LEDs, looking closer. Though they should light up, just with the wrong colours, if you put the wrong T parameter in M950.
I thought you said you had changed the wire over? @tecno said in 6XD I/O >> Issue solved:
Change White to shield.
On each LED, there is a corner 'notch' to indicate which pin is GND. Can you check continuity of GND, DI and 5V from the LED pins to the connector?
@gloomyandy It's
DI
for Digital In,DO
is Digital Out, where it passes the signal on to the next one. Mine are labelled and wired like that.Ian
-
@tecno This has nothing to do with the 6XD I'm talking about the pads on the LED ring, there is a D0 and a D1. Your wiring here: https://forum.duet3d.com/post/345489 shows it going to D1 I think it should go to D0. It seems very odd to me to have the input labelled D1 and the output labelled D0.
-
Ah yes that may be Din and Dout I suppose. Oh well good luck!
-
@droftarts
So now I changed White to signal and Shield is now 5VSo now we are getting closer
-
@tecno Okay, so now use:
M950 E0 C"led" Q3000000 T1
ie change T2 to T1
I expect that bare 'earth' wire had too much capacitance to transmit the signal. Now you're using the bare wire for 5V, so easier to create a short. Same goes for using that wire for GND. I'd replace the wiring with individually insulated wires, ie 3-core wire. If you don't have 3-core wire, use left-over stepper motor wire, that's about the right gauge for LEDs.
Ian
-
-
@tecno Do all 8 LEDs work now, and are controllable?
RGB LEDs aren't the best for white light. You'll have to play around with the levels in M150 for R, U (for green) and B, and brightness (P) to get close to what you want. If it's mostly white you want, you probably should have got RGBW, or just white, LEDs.
Ian
-
@droftarts
Yes all 8 workI am aware that I can not get perfect greyscale with RGB. Hard to find 8leds RGBW that fits.
Thank you very much for your kind help Ian, I owe you a pint or two
I am sure more questions will arise
Cheers
Bengt -