Ok so I'm having trouble getting my end stops working on my sanguinololu board.

Ok so I’m having trouble getting my end stops working on my sanguinololu board.

Right now I have Normaly Open(NO) switches. So in the config I have tried settings lines 245, 246, 247 first to FALSE and attaching my switch from signal to ground and I have also tried it with TRUE.

With either TRUE or FALSE when I run the M119 command to check end stops it says they are triggered.

Any one have any ideas what to try next? Is this because there are both min and max end stops listed and I need to disable the max end stops?
http://pastebin.com/ZFv0EHr8

Tripple-check that you have the pull-ups turned on. Had this problem with someone I was trying to help out, and it turned out he had gone through and commented-out all of the lines for turning pull-ups on under both #ifndef ENDSTOPPULLUPS and #ifdef ENDSTOPPULLUPS. Floating pins made them seem to work when I tested them without the motors running, but not when I actually tried to home. Spent an hour or two pulling my hair out over that one.

Edit: just realized that the link was to your config file. Doesn’t look like you’re having the same problem.

You should just have min stops only, max is done through software

Ok I think maybe thats my issue I will try that tonight.

Well I disabled max end stops with no success. Dissabled min and max end stops and m119 still reports there triggered.

I have no clue what’s going on.

I would try to start from scratch and change one thing at a time.

That’s a good idea, try a default build and see if the enstops work on that, then you’ll know if it’s an electrical problem of a configuration problem.

Well I have finally gotten the max end stops disabled. Forgot I have to hold reset while compiling and then release right when the arduino ide says uploading.

Now that those are good and not triggering all the time I can move my Y axis in both directions.

Now my X axis wont move at all. I’m going to try a fresh download and adjust just a few things and see what I end up with as its not the drivers as I tried switching those with no luck.

You will get it, yea, make sure you upload the sketch every time you tweak the firmware, it took a while for me to get the hang of this, but get good practice with it because you will be doing it during calibration a lot. You don’t need to hold down the reset, just push it a few times before you do a sketch upload then it wont crap out on you. I didn’t know any of this in January of this year, now I know quite a bit it will be second nature for you soon.