Just ordered my first ODrive. I’m currently in the process of building a small lathe. It’s NOT a CNC-lathe, it will be mostly manually controlled using electronic handwheels and some Arduino / Teensy 3.5 logic / magic.
The main spindle motor is a brushless servo that comes from a steering-assist assembly from a car, 24V, 600W, 5300rpm, pretty high torque. It’s all belt-driven and I’m using a 1200ppr encoder from Omron for spindle indexing, threading and for the ODrive. At first I wanted to control the spindle using a chinese brushless controller, this thing is unsatisfactory though. To save me some time and potentially a lot of work I went with an ODrive instead.
Have a look:
What I absolutely need from the ODrive, with the help from an Arduino:
- velocity control via PWM (via Arduino)
- direction change (via Arduino)
- some PID-thingy to maintain a constant speed at various loads
- a somewhat definable speed-up/down of the spindle
- needs to able to be turned “off”, meaning that the spindle must be able to rotate freely
Am I able to achieve all this with the ODrive and an Arduino? From what I’ve learned so far this should be an easy task?
Any suggestions, any pitfalls to avoid?
Thanks a lot!