IKEA LED with 4x relay - how I did it ****now imaged****

Dear all,
since my project started before Velleman released the K8403 kit, I was up to use a RPI and the IKEA RGB LEDs for that project.
I managed to get the call back running within Octoprint and the LEDs have been switching colors depending on the status of the printer.

Then i read the announcement from Velleman and read the instructions provided with it.

I soldered the [color=#40BF00]connector[/color] to the printers mainboard and checked the pins for power and status.
So I got the 12V (WHITE) for the IKEA LEDs right from the pin to the stripes.
The 5V (RED) and GRND (BLACK) from the board war connected to the [color=#40BF00]relays optocoupler[/color] to feed the steering circuit.
Three [color=#40BF00]more mother board pins connected[/color] (GREEN, YELLOW, ORANGE) to the relay pull-down contact and the LEDs are running.

The LED wires were fixed as follows:
[ul][color=#40BF00]1. printer top[/color][/ul]
[ul][color=#40BF00]2. printer inside[/color][/ul]
[ul][color=#40BF00]1. printer bottom[/color][/ul]

I can illuminate the LEDs from the LCD-display or via preset GCode in Octoprint (heading, printing, finished).
No programming. I did not checked the S3D software for that.

Well, I did some Python code to have the printing period in white light. So a little callback function was written for that.
The Octoprint “printing==true” info comes right after heating starts and that was not my requirement.
The real printing starts, when the Z-hight changes to something >0.0

Right now I got the following colors as status:

  1. heating -> [color=#FF0000]RED[/color]
  2. printing -> [color=#FFFFFF]WHITE[/color]
  3. 90% finished -> YELLOW (something like that)
  4. finished -> [color=#40BF00]GREEN[/color]
  5. errors -> violett

Why I did it?
Because I liked to… :slight_smile:
And the printer status is easier to see in Octoprint video streaming, instead of searching the tool bar for more info

Frank

Now with images assigned

Would you be so kind to draw the connector with the assigned pins?
That would be much easier :slight_smile: I have the only white color but it’s perfect for turning off the lights after printing.

Dylan

Hi Dylan,

here we go.

assuming that the connector is on the upper right site, facing the 2 pins by 6

see image: [color=#00BF00]connector-pins[/color]

Where GRN, ORG, YEL are the colors of my wires and reflecting one of the LED RGB colors.

That means, that the 12V+ are going directly into the LEDs (+) and the GRN, ORG, YEL are switching the relays, which will switch the LEDs against GND.

Hope that helps.

Best
Frank

[quote=“minitreintje”]Would you be so kind to draw the connector with the assigned pins?
That would be much easier :slight_smile: I have the only white color but it’s perfect for turning off the lights after printing.

Dylan[/quote]

Thanks! That’s much more clear than figuring it out in the manual by following the PCB traces :open_mouth:
Maybe I can add an RGB ledstrip on the front panel of the Vertex to show the status…

Cheers,
Dylan