Inductive sensor on CNC Shield V3

Hello everyone!

I'm trying to install an inductive sensor as limit switc on arduino shield v3. but have no clue how to do that.
There are 3 wires. VCC, GRD and SIGNAL.
Where should the SIGNAL wire go ?
:face_with_monocle: :face_with_monocle:

Why do you want to connect an inductive sensor to a CNC shield ?

More details please

What is already connected to the CNC shield? If you are not using them A0-A3 are free. They can be used as digital pins and they have internal pullups if needed.

Here is the pin mapping between the CNC shield V3 and an Uno.

Your image with the sensor connected to Abort (Uno pin A0).
image

If you are using the sensor as a limit switch, you could connect to one of the limit switch inputs (Uno pins 9, 10, 11).

I need to connect inductive sensors as limit switches.

No, I want to use an inductive sensor as Limit switches. :face_with_monocle:

yeah but which one is (9, 10, 11) pins on cnc shield?

The pins labelled end stops. Note that the X+, X- pins connect to pin Uno 9, Y+ and Y- connect to Uno pin 10. Z+ and Z- connect to pin 11. If you are running grbl and spindle speed control is enabled in the config file, Z+ and Z- are connected to Uno pin 12 (pin 11 is spindle PWM speed control)

Depending on the inductive sensor, you may need pullups on the pins to which the sensors connect. Use the internal pullups if they are strong enough.

1 Like

thank you, will try.

There is another problem i realise.. i have that inductive sensor witch need
Work Voltage:6VDC-36VDC
Free-Shipping-SN04-N-Famous-SN04N-4mm-Approach-Sensor-NPN-3-wire-NO-6-30V-DC.jpg_Q90.jpg_

and I am using 24 power supply for that. signal voltage is the same (24 volt). it will burn my board if i connect like that.
Even if I use 6dc voltage, the signal will be at least 6v, and it is gonna burn the board anyways. as i undestad.

:face_with_monocle: :face_with_monocle:

Use a resistor voltage divider to drop the higher voltage down to 4V to 5V for the Uno input.

image

If the output were 6V you could use 1 or 2 silicon rectifier diodes (1N914 or 1N4148) in series to drop 6V to 5V or a bit less. Each diode will drop 0.6V to 0.7V.

If the output is open collector or open drain, just connect the output to an input pulled up to Vcc.

Can you post a data sheet for the sensor?

1 Like

This is all i have.

Inductive Proximity sensor/switch
Model:SN04-N
Output:NPN,3 wire,NO
Size:181836mm
Work Voltage:6VDC-36VDC
Detection Distance:5mm
Output Current:300mA
Crust Material:Plastic

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