Endstop not working, trying to understand where home is

Hi everyone,

I am just trying to install the endstops and I’m getting stuck at the homing. How is the homing/0º set on initial start up of the system?
Sometimes on boot it will rotate but it continues past the endstop and it seems to have no effect. I send the command “IP1” and “IP2” to see if the endstops have been triggered and they do, but the program doesn’t register anything.
I’m wondering how this works on start up, currently I am just testing but it seems to rotate around multiple times, sometimes trying to home, and somethings it doesn’t home on start up.

Thank you

Hmm, to me it’s looks like homing sensor issue. Make sure the wiring is not reversed, and depend the sensor type it could register as normally high or normally low.

I troubleshoot mine back then when booting up for the first time by covering the optical end stop by electrical tape and the rotator doesn’t move when boot up, confirming that the sensor was fine. Turns out it only getting reversed between the altitude and azimuth pin.

Thanks for your quick response!

I think I found the issue which was I didn’t realise that the azimuth and elevation motors need to be tested at the same time. When trying to test separately it wouldn’t register, but when both motors are plugged in it works a lot better.

Here is my other issue: When homing, the endstop is pressed by one (eg AZ), and it slows, stops, then spins backwards a few steps. But when the second endstop is pressed they both halt immediately. Is this normal behaviour or should they both hit the end stop and reverse for a few steps?

I am using the CNC Shield and Arduino method, along with the X and Z directions (y seemed to have an issue with the connection)

also, pleasy try to keep the threads together, else it will just create confusion Stepper Motor With CNC Shield Not Working

Thanks for the tip I’ll try to keep things together.

I have just tested and got my homing to work, however I am confused about where the 0 location should be for elevation, I’m guessing that for azimuth it doesn’t matter as it can go 360º but I might be wrong.