GT2560 inductive sensor modification

Post Reply
craftcore573
Posts: 2
Joined: Tue Dec 25, 2018 2:27 pm

GT2560 inductive sensor modification

Post by craftcore573 » Tue Dec 25, 2018 3:09 pm

hello i am using the GT2560 board and wanted to attach an inductive sensor to it https://www.aliexpress.com/item/M8-2mm- ... 4c4dr18Fcr

my idea was to wire it against the z min input

i have wired this solution Image

but the brown cable is on 5 V because i am using a inductive sensor designed to use 5V
and R1 is 22k ohms

when measuring the input of z i always get 0.33Volts regardless of having contact or not

User avatar
_kaktus_
Site Admin
Posts: 1238
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: GT2560 inductive sensor modification

Post by _kaktus_ » Tue Dec 25, 2018 4:11 pm

Hello.
:mrgreen:

If your sensor is supplied with 5V DC voltage, a voltage divider on these (R1 R2) resistors is not required.
The main µC on the controller board is also powered by 5V DC voltage.
In this case, the voltage range at the output of the sensor is compatible with the voltage range at the µC input.

For verification you can measure the sensor output voltage before resistor R1. Black wire.
:D
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

craftcore573
Posts: 2
Joined: Tue Dec 25, 2018 2:27 pm

Re: GT2560 inductive sensor modification

Post by craftcore573 » Wed Jan 09, 2019 10:04 pm

how much do you think the R1 value should be ?

User avatar
Sneakers
Posts: 38
Joined: Thu Oct 18, 2018 1:32 am

Re: GT2560 inductive sensor modification

Post by Sneakers » Wed Jan 09, 2019 10:57 pm

You don't need a voltage divider if you're running the probe at 5 volts. Try testing the Black Signal wire with no resistor.

User avatar
_kaktus_
Site Admin
Posts: 1238
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: GT2560 inductive sensor modification

Post by _kaktus_ » Thu Jan 10, 2019 3:26 am

Hi.
:mrgreen:


For clarity.

Resistors R1 and R2 are voltage divisors. This circuit is right when the sensor is supplied with voltage higher than the main µC of the controller.
In your case you can skip this part of the circuit.

If you want to leave the serial resistor R1, it can be e.g. 1kΩ. But it is not required.
To make you feel confident in this topic, read the message from the link: voltage dividers.
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests