Par port input issues.

More
27 Jul 2017 05:47 - 27 Jul 2017 05:52 #96536 by Wolfmansbrother
Wolfmansbrother created the topic: Par port input issues.
I am using this breakout board. I am trying to add some limit switch for my machine so it can auto-home on start up.

Before wiring up the switches, I wanted to see if shorting a the x-input to the ground would be recognized. Much to my dismay, it wasn't.

I have used HAL in the machine tab to "Watch" the pins, both in and in-not, while shorting the pins to the local ground. PDF page 5 Nothing happened.

Next I wen to HAL example programs and tested the 0x378 par port address. All of the outputs were red, and the inputs were green. Nothing changed upon shorting all of the inputs to the ground on the left side of the board

I can control my steppers, old spindle(haven't set up the new one yet) and succesfully use the onboard relay. So it would be odd for everything to work except for these inputs.

Any idea what I am doing wrong?
Attachments:
Last Edit: 27 Jul 2017 05:52 by Wolfmansbrother. Reason: forgot some details
More
27 Jul 2017 15:32 #96571 by Todd Zuercher
Todd Zuercher replied the topic: Par port input issues.
Do you have both power to the 12v and power to 5volt or usb plug? I believe that the 5volt side of those boards has to be powered for the inputs to work. Also was the ground you shorted the input to connected to the ground on the breakout board?

You are not the first person to struggle with the inputs on those boards. I don't think they are the most wonderful of designs.
More
27 Jul 2017 16:58 - 27 Jul 2017 17:00 #96577 by Wolfmansbrother
Wolfmansbrother replied the topic: Par port input issues.
I have the usb plugged in for the 5v. Ill try to supply 12v and see if that helps.

I think the ground next to the input is connected internally to the board ground. Ill tinker around with it.
If it is a board design issue, do you have any recommendations for reliable breakout boards?

*There looks to be an LED for the 12-24V input right below the switch inputs. I don't know if it means anything, but it is something I did not notice before.*
Last Edit: 27 Jul 2017 17:00 by Wolfmansbrother. Reason: *-*
More
30 Jul 2017 19:55 #96695 by Wolfmansbrother
Wolfmansbrother replied the topic: Par port input issues.
I had the 5v in, the 12-24v was not hooked up correctly and that was the issue.
Moderators: Rick G
Time to create page: 0.068 seconds
Powered by Kunena Forum