Hello Guest it is March 19, 2024, 04:54:04 AM

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

0 Members and 1 Guest are viewing this topic.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: setting up a reflective object sensor for dummy's
« Reply #80 on: February 05, 2008, 04:01:49 PM »
Hi, Hood

I think your correct, The pull-up resistor is internal on this one.

Never had this mush trouble hooking up an opto switch.

Have always hooked them up direct to the port.

Chip
Re: setting up a reflective object sensor for dummy's
« Reply #81 on: February 05, 2008, 04:28:43 PM »
Chip,
I overlooked this earlier.

You are right.....this is getting bazzar.  :-\
Re: setting up a reflective object sensor for dummy's
« Reply #82 on: February 05, 2008, 05:01:44 PM »
hmm just a shot but I did happen to buy 2 switches. perhaps there is a manufacturing flaw with the switch. I can try and wire up the other one later tonight.
guess Im just running out of things to try.
Chris
Re: setting up a reflective object sensor for dummy's
« Reply #83 on: February 05, 2008, 07:30:05 PM »
I decided to email Bob, over at Campbelldesigns to see what he had to say. He said he is going to ask Jim Cullins who designed the board to see if they can come up with a solution.
Fingers crossed. :-\
Re: setting up a reflective object sensor for dummy's
« Reply #84 on: February 05, 2008, 09:24:29 PM »
ok this is the reply I got from Bob. can someone help me to decifer this a little.

"Connect to J14 here is the pin out
1       +5v
2.      A
3.      B
4.     
5.      GND
 
They are labled on the board
It located near the power in screw terminal.
 
Connect either the A or the B with the open collector out of the interruptor.
These  pins go to pins 15, 13 on the parallel port so view on the diag screen to see what
you are on TO test it short pin  2 to 5 or 3 to 5.
I would use the one on pin 15. Make sure to set mach index to the pin you use, active low"

Im not really sure of everything he is refering to here.
Chris
 
Re: setting up a reflective object sensor for dummy's
« Reply #85 on: February 05, 2008, 09:30:43 PM »
oh never mind I see there is another screw terminal on the board that I was unaware of its use. They must bypass the optos or something. Well I will mess with this tomorrow and get back to you guys.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: setting up a reflective object sensor for dummy's
« Reply #86 on: February 05, 2008, 10:16:57 PM »
Hi, Chris

Looks like there describing hooking up an A B encoder, What was the Question you ask them.

Chip
Re: setting up a reflective object sensor for dummy's
« Reply #87 on: February 05, 2008, 10:42:59 PM »
That doesn't look like J14.
Looks more like J20 which is for a MPG and axis selector switch.
Appears that you use the 5v, ground and input from the photo switch and assign it to the "index" in Mach.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: setting up a reflective object sensor for dummy's
« Reply #88 on: February 05, 2008, 11:00:20 PM »
Hi, Chris

In the brake-out board manual thy talk about npn & pnp sensors.

NPN Inductive Proximity Sensor

NOTE: The break-out board was designed to use either NPN inductive proximity sensors.

A PNP inductive proximity sensor can be made to work by placing a 1K resistor across the signal and ground screw terminals.

Might try this, Chip

RC, I agree with your comment above
Re: setting up a reflective object sensor for dummy's
« Reply #89 on: February 06, 2008, 12:09:50 AM »
Chip, looks to me like everything is right there at J20.
Reply#84 makes perfect sense except that J14 is a 3 terminal block for a limit/home sensor and the pinout doesn't match the pdf.
You've got the 5v , gnd and input to either 13 or 15. Just use 1 channel and set it to the spindle index.
Read #84 closely, it makes sense to me. Shouldn't need any resistors.
RC
« Last Edit: February 06, 2008, 12:12:15 AM by Overloaded »