Threaded View
-
03-06-2018 #11
In honesty, I'm doing this for me, as much as anything - I will need to start thinking of wiring pretty soon, and you're bringing up the questions that I need to answer for myself.
I think the NPN sensors the black wire is actually the collector, not emitter (I guess the emitter is connected to blue/0v)
Re your proposal. Think carefully of what you're trying to achieve. With the NPN providing a switch to ground (current sink), by placing a resistor from the output to ground will give you a low(ish) resistance to ground even when the NPN transistor is OFF - the LED will still illuminate (you'll get around 1.5mA through it - enough to illuminate it, probably enough for the current through the opto's transistor to actuate the input to the UCx00 - the input impedance of that is something like 50k to ground (and 4k7 to +5).
Try it, by all means, but don't be surprised if the input is permanently on.
The easiest solution is to simply tack a small signal diode (1n4148 is probably the most common) across the pin 1/2 of each opto - in the opposite sense to the opto's LED (i.e. cathode to pin 1, anode to pin 2). That way you cannot reverse bias either diode beyond the forward conduction voltage of the opposing diode - max of 0.6V by the 1n4148 across the opto's LED, or around 1.5V by the opto's LED across the 1n4148. Essentially, this will limit the voltage at the input to the BoB to the V-Ref provided by the BoB's onboard regulator (~10V) plus 0.6V.
Of course, this (and the idea that you proposed) both serve to reduce the switching voltage to something around 10V, which is why I still think that just using a 12V supply to the BoB and to the sensor is an easy alternative.
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Similar Threads
-
BUILD LOG: First time build - Steel Frame CNC Router
By examorph in forum DIY Router Build LogsReplies: 144Last Post: 19-10-2023, 06:25 PM -
BUILD LOG: First Build 5 x 12 Steel Frame CNC router
By Scott Damman in forum DIY Router Build LogsReplies: 104Last Post: 18-01-2017, 06:36 PM -
BUILD LOG: Steel frame cnc router design/build
By CraftyGeek in forum DIY Router Build LogsReplies: 110Last Post: 06-05-2015, 10:00 PM -
600x900 Steel welded router build
By embraced in forum Gantry/Router Machines & BuildingReplies: 7Last Post: 08-10-2014, 10:55 PM -
BUILD LOG: First steel diy CNC router build
By ivars211 in forum DIY Router Build LogsReplies: 59Last Post: 28-07-2014, 08:29 PM
Bookmarks