ShapeOKO4 power button wire color coding

Could anyone help me with the shapeOKO4 power button wire color coding? I have black, red, green and white wires, I need to know how they map to 24V, ground, LED+ and LED-.
I want to reuse the power button with my mks tinybee board which does not have a power button / LED socket, so I need to mill a small pcb that I can solder the microfit socket to connect to the power button. Thanks.

Checked the voltage, when turned off, black to red: 24 V. black to green: 24V. When turned on, black to red: 0V, black to green: -24V? I am confused.

I was assuming the 4 wires are: power positive, common ground, LED positive and device positive. LED positive and device positive are connected. When turned on power positive is connected to device and LED positive. But not sure how -24V is introduced.

Anyways, I just want to know what each wire is, so that I can reuse this button with my new board.

I suppose it’s a typical power push button so if you google around for similar models, the same wiring diagram tends to show up regularly, for example check out the third image in that amazon button:

to figure out which pin is pin you would need to measure all pin-to-pin voltages in both states to remove the ambiguity between possible combinations?

2 Likes

Thanks, yeah I did search for it and found this one: https://www.amazon.com/Gebildet-Stainless-Self-Locking-Latching-Waterproof/dp/B08HWF1KSJ/ref=pd_ybh_a_sccl_15/142-7955155-9070545?pd_rd_w=nJts2&content-id=amzn1.sym.128a85d7-3682-4cc3-aa40-0c69f0876073&pf_rd_p=128a85d7-3682-4cc3-aa40-0c69f0876073&pf_rd_r=C5KY3V1KBBYGDY54P4X5&pd_rd_wg=hPfTi&pd_rd_r=f42233db-634e-4991-b1f4-6b61c8cda0b9&pd_rd_i=B08HWF1KSJ&psc=1

Need to find some dupont wires to bring the actual wiring out for better access.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.