Hybrid View
-
13-06-2013 #1
It doesn't say in the listing (Edit: Just spotted the datasheet in the eBay listing, which does say open-collector), but the inductive sensors are probably an open collector output, in which case you need a pull-up resistor from the signal to +5V. Use something like 4.7k, exact value isn't critical.
You're much less likely to have problems with noise if you use a breakout board and run the sensors at a higher voltage. Connecting to the parallel port directly can work, just make sure you connect it up correctly on the first go otherwise the port could be damaged.Last edited by Jonathan; 13-06-2013 at 10:49 AM.
-
The Following User Says Thank You to Jonathan For This Useful Post:
-
13-06-2013 #2
allmyworthwhilepostsaregoing
Last edited by m_c; 20-05-2014 at 10:43 PM.
-
The Following User Says Thank You to m_c For This Useful Post:
-
13-06-2013 #3
Last edited by dudz; 13-06-2013 at 01:30 PM.
Swedish Storbro Luna - 3 axis CNC mIll - 250 - 2500rpm / 1.1 tonne
3 axis CNC/router / Alu profile frame....25mm Alu Cutting bed X=500mm Y=300mm Z=110mm.....Supported 25mm X rails ....Supported 20mm Y rails....Supported 20mm Z rails.....2.2kw Chinese WC spindle..... CSLAB CSMIO/IP-M 4-axis Ethernet Motion Controller....M542 Drivers..SY60STH86-3008BF Motors...running....Mach3 / Cambam / Emachineshop.
-
13-06-2013 #4
8901234567
Last edited by m_c; 20-05-2014 at 10:40 PM.
-
The Following User Says Thank You to m_c For This Useful Post:
-
13-06-2013 #5
So after the resistor is in place from the output wire to the +5v, if the switched wire goes to Gnd, does that mean the 5v will go to ground also ? (sorry for my lack of understanding)
Last edited by dudz; 13-06-2013 at 02:56 PM.
Swedish Storbro Luna - 3 axis CNC mIll - 250 - 2500rpm / 1.1 tonne
3 axis CNC/router / Alu profile frame....25mm Alu Cutting bed X=500mm Y=300mm Z=110mm.....Supported 25mm X rails ....Supported 20mm Y rails....Supported 20mm Z rails.....2.2kw Chinese WC spindle..... CSLAB CSMIO/IP-M 4-axis Ethernet Motion Controller....M542 Drivers..SY60STH86-3008BF Motors...running....Mach3 / Cambam / Emachineshop.
-
13-06-2013 #6
Ok, I understand now. I wasnt sure if the resistor was enough to stop the voltage going to Gnd and damaging something.
Swedish Storbro Luna - 3 axis CNC mIll - 250 - 2500rpm / 1.1 tonne
3 axis CNC/router / Alu profile frame....25mm Alu Cutting bed X=500mm Y=300mm Z=110mm.....Supported 25mm X rails ....Supported 20mm Y rails....Supported 20mm Z rails.....2.2kw Chinese WC spindle..... CSLAB CSMIO/IP-M 4-axis Ethernet Motion Controller....M542 Drivers..SY60STH86-3008BF Motors...running....Mach3 / Cambam / Emachineshop.
-
13-06-2013 #7
abcdefghij
Last edited by m_c; 20-05-2014 at 10:41 PM.
-
The Following User Says Thank You to m_c For This Useful Post:
-
13-06-2013 #8
Resistor overheating isn't the limiting factor. With 200 ohms you'd have 5/200=25mA. The parallel port can (apparently) only source/sink about 14mA, hence to avoid damaging the port if connecting directly I'd use something higher. So I'd agree to sticking with at least 1k just to be on the safe side.
Last edited by Jonathan; 13-06-2013 at 11:45 PM. Reason: Grammar
-
The Following User Says Thank You to Jonathan For This Useful Post:
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Proximity switch NPN or PNP
By Matt81 in forum General ElectronicsReplies: 9Last Post: 19-04-2014, 11:38 AM -
Proximity Wiring Problem
By Bruce in forum General ElectronicsReplies: 7Last Post: 13-01-2014, 07:21 PM -
Proximity Switches
By kingcreaky in forum General ElectronicsReplies: 20Last Post: 23-10-2013, 01:30 PM -
Proximity sensor help required
By plasticsales in forum General ElectronicsReplies: 12Last Post: 21-08-2013, 07:02 PM -
Proximity Sensors as Limit Switches ?
By Lee Roberts in forum General ElectronicsReplies: 5Last Post: 03-10-2009, 07:04 PM
Bookmarks