Hello Guest it is December 26, 2024, 08:09:05 PM

Author Topic: ports and pins  (Read 45645 times)

0 Members and 1 Guest are viewing this topic.

Re: ports and pins
« Reply #10 on: December 19, 2008, 03:44:56 PM »
OK, I have done that. Maybe I should mention that I have to bob hooked up and i can run the 3 axes through it -- but i wanted to use the limit switches as kill switches, that is, i figured that since i have 6 limit switches at various locations around the machine, if something went wrong i could just manually trip a limit switch to stop the machine. But when I run the machine and trip one of the switches, nothing happens. i am now wondering if i haven't set up the pins/ports correctly.
bob
Re: ports and pins
« Reply #11 on: December 19, 2008, 03:51:28 PM »
Hood, I'm going to try to take a picture of my bob as it is set up and the machine and send it to you. give me a few minutes.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: ports and pins
« Reply #12 on: December 19, 2008, 03:54:10 PM »
Ok for the limits you should have them all wired in series, ie you take a 5v (next to one of the input connections (10, 11, 12, 13 or 15) put it into one side of the first switch, the second side of the switch goes to the first wire on the next switch and the second wire goes to the next switch etc, once you have all of your switches wired like that you then put the last spare wire into the Input you wish to use.
Hood
Re: ports and pins
« Reply #13 on: December 19, 2008, 04:26:51 PM »
don't know why but the pics won't send, although when i tried to send them the second time, i got a message saying that i had already sent that file. I do have the limit switches wired in series and have put 5 vdc through them to the POWER part of the board that has 3 little screws, with the red wire in the 5vdc hole and the black wire in the ground hole.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: ports and pins
« Reply #14 on: December 19, 2008, 04:31:18 PM »
No you take your power from the 5v that is beside the input pin and then the other end of the switch chain goes into the input pin you have chosen. If you look at the way the limit is wired in the pic you have attached you do exactly the same as that but instead of just one switch you would have a chain of switches.
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: ports and pins
« Reply #15 on: December 19, 2008, 04:40:22 PM »
Its a bit rough but you should get an idea of what they should be connected like from this.
Hood
Re: ports and pins
« Reply #16 on: December 19, 2008, 04:44:57 PM »
this is driving me crazy. renamed the pics and tried to send again, but the screen just turns white. However, I made a mistake in my last post -- i have 5vdc going to each power input area, one from a wall wart type battery charger and one using the PC via a usb cable. one end of the the limit switch wires is inserted into a hole labeled 5v in the input bar and the other end is inserted into the hole right next to it, labeled 15, which i take to mean pin #15. is that correct?
Re: ports and pins
« Reply #17 on: December 19, 2008, 04:47:12 PM »
our posts are passing each other in the ether, i think.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: ports and pins
« Reply #18 on: December 19, 2008, 04:48:30 PM »
That sounds correct, will pm you with my email address so you can send the pic direct.
Hood
Re: ports and pins
« Reply #19 on: December 19, 2008, 04:57:56 PM »
thanks, they went out just a minute ago