the limit switch at the zero position is connected to a GPIO at the ODrive board. The upper position is actually open.
After initialization and finding zero position, the switches are only for emergency detection. I will try to use an GPIO of ODrive to show that initialization is finished and the control loop is running. This signal is used to connect both switches to a relais that can cut of the power.
The chanches are small but the program could fail, so I would take a NC limit switch and put it between the power cable, be sure to take a big one to not lose to much voltage
How are you planning to connect with the Xsim software? Are you going to connect the odrives to your computer or are you going to send it to a raspberry pi for example? Do you have some more information for me about the Xsim software because I havn’t figured that out jet.
Hi again Stijn, it is recommended by XSim to use a go between (Arduino UNO will suffice) a lot of people using XSim are using the Ard, as its affectionately known, if you haven’t already XSim is a great place to start.
You can use the ODrive arduino lib and connect it through an arduino. But I want to use the ASCII interface and my tests are quite good till now.
Register to xsimulator.net and download the package. It’s for free. You need an addin for every game you want to play. That will cost some money. But for testing you can use the lfs https://www.lfs.net/ sim the addon is also for free.
Hi,
this is the main joint between the upper chassis and the base chassis. Every actuator will have an little joint at the bottom and a ball joint at the top.