Installed limit switches on my Sculptfun S9 and they are working backwards?

Hello,

I have a Sculpfun S9 that I wanted to install list switches on. The ones Lightburn shows on their YouTube video were backordered, so I ordered these.

https://www.amazon.com/dp/B07PCN6T6F?psc=1&ref=ppx_yo2ov_dt_b_product_details

I 3d printed mounts and all looks good, but when I send the head home it does not move unless I press in the limit switches with my hands. They are working backwards! The back of the switch shows a NO & NC leg, and C for common. I cut the NC leg off thinking it should be a NO switch, but that did not work. I also tried it the other way cutting off the NO leg of another switch, no luck there either. Also, I did confirm that the 3 wires V, G, & S are hooked up right from the switch to the motherboard. Other than buying the correct switches, do you all have any thoughts?

TIA
Tom F.

Has all the signs of the laser expecting one state (voltage) and the switch supplying the opposite state…

Technically you can use either, the information shows your laser is expecting the line pulled low to be active. These apparently work the other way around and go to 5V when active… That is why it’s working the way it is…


I clicked on the answered questions in the link you provided and there is a video that shows how to change the connectors to work for your machine…

This was also there…


Wiring with LED features:
Red - 5 volts dc
Black - ground
White - output signal

When the limit switch is in its default the output signal is ground. //default, limit switch has not been pressed.
When the limit switch has been triggered the output signal is 5 volts. //this is when the limit switch has been pressed.

Wiring without LED features:
NC Normally Closed, limit switch has not been pressed. //use black and white wire.
NO Normally Open, limit switch has been press. //use red and white wire.


I’d do the video, probably the most simple…

Let us know how it works out…

:smile_cat:

1 Like

Here is the wiring on the switch I bought.

Yes, the video is what I used to switch the red V and white S wires to match the plug input on the laser mother board.

Without knowing which is no and nc, like a schematic, I really can’t say…

You really only need two wires… The ground and the signal. 12V is only there to light the led.

Do you have a voltmeter, actually a ohm meter, so you can tell me which wire is which?

:smile_cat:

1 Like

Looking at the diagram in the above post. Red V and White S have continuity when the the switch is pressed, 3.4 ohms.

How do you figure that? Especially the 3.4ohms …


The switch should pull the signal line to ground …

Here is the same type of switch, what wires go where? Is S wired to V, NO or NC … is V wired to… and G?

spdt-schematic


I would think your switch should have S wired to V(+) on my diagram, and NO to ground (G).

:smile_cat:

1 Like

First, I want to say thank you for your time and help!

I am not sure where that 3.4 ohm came from. When I take my meter and check continuity across the 3 pins at the back of the plug on the switch (not plugged in to the S9) I only get continuity across 1st pin on the left and the pin on the right when the switch is depressed.Nothing on the middle pin. My thought then was to use just those to wires and plug them into the S9 in the V & S pins. When I do that and hit home in LB, the head moves towards home, but the switch has no effect and I have to pull power on the machine to stop it.

This is the switch from the link you posted… You can read the pinout of the switch. C is common… you want S to go to C of the switch and ground to NO…

Make sense?

Screenshot from 2023-02-20 17-22-57

Move the connector pins, like the video… Make sure you know which is 12V, you don’t need it and it could cause issues if you get it mixed up with the S wire…

:smile_cat:

1 Like

We have lift off!

OK, X works great, but if the head is far right and back, it hits the front rail first (Y) and then travels left to X. The Y switch is in the front left corner. How do I make the head travel to the end of X (left) first then head to the front to hit the Y switch.

Thank you again!

When you say it hits the front rail, do you mean it stops where it’s supposed to? It shouldn’t hit anything.

Why do you care which way it homes first? Many of these will run both axes simultaneously to home… You have to wait for it to home, either way…

You probably can’t, usually this operation/sequence is compiled as part of the controllers software.

:smile_cat:

1 Like

Yes the head should be traveling diagonally towards home. It is headed that way, but it is traveling more forwards then left and contacts the front rail before it gets to the left corner.

How do you know this?


Is it stopping at the limit switch there or does it actually contact the front rail…?

:smile_cat:

1 Like

If I place the head anywhere in the burn area and hit the home button, the head starts diagonally towards the front left corner where my limit switches are. It gets to the front rail first, somewhere in t eh middle of the X travel and hits the rail making an awful sound as it keeps trying to come forward. It also continuities left and contacts the X switch which works fine, stopping the leftward travel. I wish I could upload a video.

Here are 2 pics. The first being where home is and the 2nd showing where the head hits the front rail first.


It should not hit anything other than the limit switch…

You can’t upload anything over 4mB, but you can post a video on something like Google drive and post the link here. Ensure you set the protection, so anyone with the link can watch it.

Have you checked the other limit switch?

Did you change the Y axes switch wiring also?

:smile_cat:

1 Like

Your X placement of the switch looks fine, the Y switch should be on the y rail so as to meet the approaching carriage.

1 Like

As stated, you y axis limit switch is not set up correctly. The laser head should not hit any of the switches, only the gantry / slider.
Maybe this helps also with setup: Limit Switches - Diode Laser Wiki

1 Like

Yup, That did it!!! Thank you to everyone that helped out!!

Here is a pic of the 2 switch mounts I designed in Tinkercad and printed out.I definitely took inspiration from other designs. I am still so new to this, I really get a kick out of making it work. Especially with people to help out along the way.

1 Like

Nice! Do you have the link to your files? Or aren’t they shared at Tinkercad? I could add them to the Wiki.