Hello Guest it is March 19, 2024, 04:20:10 AM

Author Topic: setting up a reflective object sensor for dummy's  (Read 35945 times)

0 Members and 1 Guest are viewing this topic.

Re: setting up a reflective object sensor for dummy's
« Reply #10 on: January 21, 2008, 07:03:17 AM »
Thanks i think Ill try the slotted wheel if I cant get this darn thing to work properly. Any idea where I can an optical switch in the states?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: setting up a reflective object sensor for dummy's
« Reply #11 on: January 21, 2008, 07:29:02 AM »
Just did a quick google for that part number and Digikey and AlliedElec have them.
http://www.digikey.com/
http://www.alliedelec.com/

Hood
Re: setting up a reflective object sensor for dummy's
« Reply #12 on: January 21, 2008, 07:40:43 AM »
I cant seem to find the exact one that was posted, would this one work?
http://www.optekinc.com/pdf/OPB930W.pdf

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: setting up a reflective object sensor for dummy's
« Reply #13 on: January 21, 2008, 07:48:26 AM »
Sorry the part number I listed earlier was the RS Components number, what I did the google search on was the Optek part number OPB917B
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: setting up a reflective object sensor for dummy's
« Reply #14 on: January 21, 2008, 07:52:11 AM »
Also I have used the OPB916B its slightly shorter reach which may suit better.
Hood
Re: setting up a reflective object sensor for dummy's
« Reply #15 on: January 21, 2008, 08:01:11 AM »
well thanks for checking but Digikey and Allied both have minimum orders in the 100's because they do not stock them. Man this if frustrating work.
Chris
Re: setting up a reflective object sensor for dummy's
« Reply #16 on: January 21, 2008, 08:11:41 AM »
what about the OPB917BZ
they stock those, would that one work.
Chris
Re: setting up a reflective object sensor for dummy's
« Reply #17 on: January 21, 2008, 08:46:24 AM »
alright I found them at Newark.com
they charge a riidiculouse $15 handling fee to ship them direct from the UK but I went for it any way.
Hood, How do you have yours wired to the PC?
Im using bob campbells breakout board so I was just curiouse how the wiring would go on this switch.
Chris

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: setting up a reflective object sensor for dummy's
« Reply #18 on: January 21, 2008, 10:01:36 AM »
I just have it connected via my breakout (pmdx 122)
The Cathode and Ground (Black and Green) are connected together and taken to a ground on the breakout.
The Output (blue)  goes to the Input you choose on your breakout.
The Vcc (white)  is connected directly to a 5V supply from the breakout.
The Anode (red) is also connected to the 5V but has a 220 ohm resistor in line.

All thats left to do is configure the Index in Mach for the pin you connected to and you should be up and running.
I would advise to use shielded wire.

Hood
Re: setting up a reflective object sensor for dummy's
« Reply #19 on: January 21, 2008, 12:00:26 PM »
sounds easy enough. thanks.