. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by driftspin View Post
    Ok ,thoroughly does not even closely describe your commitment in helping me out.
    Thank you for that.

    Ok so...i decided to do the following based on this thread and other threads.

    Since there seems to be 9.4k ish in line in the proximity switch emitter, i put a 4.7k resisitor in series connected to ground.

    When connected to a 24vdc psu, this will give me about 8 volts at the point of connection at the bob. in the "open "position.

    When in the " closed " position the emitter goes to 0v.. hope this will work.


    I will report back when all is operational.

    Doddy thanks again for doing research on this subject.


    Grtz. Bert




    Verstuurd vanaf mijn SM-A320FL met Tapatalk
    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.

  2. #2
    Quote Originally Posted by Doddy View Post

    Try it, by all means, but don't be surprised if the input is permanently on.

    .
    Ok i get it.

    So best would.be to raise voltage just over 9.3 or what ever comes out the bob with nothing connected.

    I really like your idea of the reversed diode.

    This will act as an indicator for status at the same time.


    Grtz Bert.

    Verstuurd vanaf mijn SM-A320FL met Tapatalk

  3. #3
    Quote Originally Posted by Doddy View Post
    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.
    Hi doddy,



    All in all i had to add 500 ohm to 4.7k to have the inputs switch reliably. I ended up at 8.65 volt. after switching the inputs would not drop..

    Adding 500 raised it to 9.15 ish. which is ok
    So you where right it needed to go near 9 and or slightly over.

    0.5volts still illuminated the input opto's just enough to screw up somtimes

    I still have a glitch in 1 of the inputs though..

    Need to find out why.
    maybe wiring issue or a slightly off 4.7k resistor.

    ill try 1k instead off 500 first... maybe there is a switching effect or so.


    Grtz Brt




    Verstuurd vanaf mijn SM-A320FL met Tapatalk
    Last edited by driftspin; 21-08-2018 at 04:13 PM.

  4. #4
    It looks good from down here Bert

  5. The Following User Says Thank You to AndyGuid For This Useful Post:


  6. #5
    Nifty Job!

  7. The Following User Says Thank You to Nickhofen 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

  1. BUILD LOG: First time build - Steel Frame CNC Router
    By examorph in forum DIY Router Build Logs
    Replies: 144
    Last Post: 19-10-2023, 06:25 PM
  2. BUILD LOG: First Build 5 x 12 Steel Frame CNC router
    By Scott Damman in forum DIY Router Build Logs
    Replies: 104
    Last Post: 18-01-2017, 06:36 PM
  3. BUILD LOG: Steel frame cnc router design/build
    By CraftyGeek in forum DIY Router Build Logs
    Replies: 110
    Last Post: 06-05-2015, 10:00 PM
  4. 600x900 Steel welded router build
    By embraced in forum Gantry/Router Machines & Building
    Replies: 7
    Last Post: 08-10-2014, 10:55 PM
  5. BUILD LOG: First steel diy CNC router build
    By ivars211 in forum DIY Router Build Logs
    Replies: 59
    Last Post: 28-07-2014, 08:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •