. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    John - firstly, these are usually infra-red, so it may well have been illuminated even if you couldn't see it (hint - you can often get a mobile phone camera live-view to witness IR LEDs).

    Reverse voltage?, yup, a good way to fry an LED.

    The good thing is these are generally fairly standard devices, although pin-outs may vary. And drive voltages?, can be pretty much whatever you need. I'll assume you've not hit this before otherwise you'd not be asking.. Take the supply voltage, and subtract the forward voltage drop of the LED. Then divide that by your chosen forward current. That gives the value of a resistor to place in series with the LED for it to operate at that voltage. That Datasheet indicated a max forward current of 40mA - that's an absolute max rating, a rough rule of thumb is around 10mA.

    So, if you're trying to drive at 5V, and the Forward Voltage is 1.8V, with a Forward current of 10mA (0.01A), that's (5.0-1.8)/0.01 = 320 Ohms, nearest easy found value is 330 Ohms. If you want to drive at 12V, then (12.0-1.8)/0.01 = 1020 Ohms, nearest easy value = 1000 Ohms (1k).

    Whichever resister value you calculate, you place the resistor in series with the LED then drive that from the DC supply.

    Note, its generally considered unhealthy to reverse bias an LED - they go pop at quite a low reverse voltage. Even if they don't pop, then can be significantly degraded.

    Amazon sell reflective opto-couplers - there's generally not a huge difference in the 4-pin devices (2 pins for the LED, 2 pins generally for a photo transistor). They should be pretty much interchangeable.

  2. #2
    Quote Originally Posted by Doddy View Post
    John - firstly, these are usually infra-red, so it may well have been illuminated even if you couldn't see it (hint - you can often get a mobile phone camera live-view to witness IR LEDs).

    Reverse voltage?, yup, a good way to fry an LED.

    The good thing is these are generally fairly standard devices, although pin-outs may vary. And drive voltages?, can be pretty much whatever you need. I'll assume you've not hit this before otherwise you'd not be asking.. Take the supply voltage, and subtract the forward voltage drop of the LED. Then divide that by your chosen forward current. That gives the value of a resistor to place in series with the LED for it to operate at that voltage. That Datasheet indicated a max forward current of 40mA - that's an absolute max rating, a rough rule of thumb is around 10mA.

    So, if you're trying to drive at 5V, and the Forward Voltage is 1.8V, with a Forward current of 10mA (0.01A), that's (5.0-1.8)/0.01 = 320 Ohms, nearest easy found value is 330 Ohms. If you want to drive at 12V, then (12.0-1.8)/0.01 = 1020 Ohms, nearest easy value = 1000 Ohms (1k).

    Whichever resister value you calculate, you place the resistor in series with the LED then drive that from the DC supply.

    Note, its generally considered unhealthy to reverse bias an LED - they go pop at quite a low reverse voltage. Even if they don't pop, then can be significantly degraded.

    Amazon sell reflective opto-couplers - there's generally not a huge difference in the 4-pin devices (2 pins for the LED, 2 pins generally for a photo transistor). They should be pretty much interchangeable.
    Hi again folks
    Have replaced the opto switches but i am struggling to follow the calcs above
    Taking figures from page 5 of the datasheet Forward voltage is 1.7 v max with a forward current of 20mA, so with two lamps in series we have a forward voltage of 3.4.
    Not sure how I choose the forward current but 20mA is the figure given in the conditions column so will go with that.

    So cautiously driving with a 5 v supply 5- (2x1.7) = 1.6V and at 20 mA I calculate a resistor of 80 ohms and I dont have one.
    And I still cant quite understand why Boxford were driving the same rig with a 10v output and no apparent resistor , so with tongue firmly in the cheek and having a couple of spare opto switches my inexperienced mind thinks why not give it a shot without resistor anyway.

    So I wired to plus 5 v and brought the single pulse (blue wire) back to pin 12 , set this up in Mach 3 I am not understanding the other settings I see in Mach.
    I get figures flashing up for true spindle speed as I switch on with say S500 but these figures die away to zero as spindle runs up.

    I am bewilderd by the range of settings I may need to address so if any one can guide me I would appreciate.
    I presume that spindle pulleys just selects a speed range so I think I am OK with that
    But Ports and pins , spindle setup , spindle motor , motor outputs , PID settings have lost me, even before I get into Encoder settings
    Last edited by John11668; 07-11-2020 at 02:01 PM.

  3. #3
    Not seeing any illumination on pin 12 as I rotate the disc past the single slot

  4. #4
    Quote Originally Posted by John11668 View Post
    Not seeing any illumination on pin 12 as I rotate the disc past the single slot
    I suspect with no resistor you have blown the new optical sensors
    Take the pin 12 and touch it to ground. See if this triggers the pin in mach3
    If it does then you have likely popped the new sensor

    Paul


    Sent from my iPhone using Tapatalk

  5. #5
    Are there optical switches with a better voltage tolerance ?

  6. #6
    Am currently trying to set up a profile in Linux cnc .
    Would that be an easier to place to start .

  7. #7
    Quote Originally Posted by depronman View Post
    I suspect with no resistor you have blown the new optical sensors
    Take the pin 12 and touch it to ground. See if this triggers the pin in mach3
    If it does then you have likely popped the new sensor

    Paul


    Sent from my iPhone using Tapatalk

    Have tried that and the yellow light goes out so sounds like I am stuck until I get some resistors .
    Will look out for my mail early in the week.

    Had a look on RSwww and literally pence each but with £4.95 postage

  8. #8
    so at least you have proven the wiring is correct and the setup in Mach3 is also correct

    just need the resistors and fit a new pair of optical sensors and you should be good to go

    Paul

  9. #9
    Quote Originally Posted by John11668 View Post
    Have tried that and the yellow light goes out so sounds like I am stuck until I get some resistors .
    Will look out for my mail early in the week.

    Had a look on RSwww and literally pence each but with £4.95 postage
    That's interesting, I must have been given a business account (which has free postage for all orders) for some reason without realising it. I've been a customer for donkeys years and have never been charged postage.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  10. #10
    Quote Originally Posted by Kitwn View Post
    That's interesting, I must have been given a business account (which has free postage for all orders) for some reason without realising it. I've been a customer for donkeys years and have never been charged postage.
    I think it depends where you live. In the UK postage is normally charged unless you order is over a certain amount at which point postage becomes free
    I have a deal through work where by I get free postage and on most thinks a little off the price

    I normally use CPC as they are local and if I need it quickly I can collect at their counter I find that I normally need something immediately so this works for me

    Paul


    Sent from my iPhone using Tapatalk

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. FOR SALE: Boxford TCL125 ATC
    By jonnydeen in forum Items For Sale
    Replies: 4
    Last Post: 27-11-2021, 12:41 AM
  2. FOR SALE: Boxford MT2 & Boxford TCL125
    By jonnydeen in forum Items For Sale
    Replies: 3
    Last Post: 12-11-2021, 11:24 AM
  3. WANTED: Automatic Tool Changer for Boxford TCL125
    By TomHennessy in forum Items Wanted
    Replies: 14
    Last Post: 31-10-2020, 10:25 AM
  4. FOR SALE: Boxford TCL125
    By 30tooo in forum Items For Sale
    Replies: 17
    Last Post: 28-06-2017, 04:29 PM
  5. BUILD LOG: fresh start 8x4 build
    By reefy86 in forum DIY Router Build Logs
    Replies: 31
    Last Post: 02-01-2017, 12:45 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
  •