A friend of mine is converting a cnc lathe to a new PC based controller. One area that requires some work is the toolchanger. It consists of an electric motor that rotates the toolchanger. When the correct tool is detected the motor is switched into reverse and the motor is driven backwards until a ratchet prevents it going further - the motor stays on but stalled. The position is detected by 3 opto sensors and an encoded disk.
What we want to do is send a number from the RS232 port on the PC. A microchip would detect this, rotate the toolchanger until it is in the correct position and then send a confirm signal back to the PC. (i.e. send RS232 command number, chip checks current tool selected, switch motor on forward, rotate until 3 input lines are at correct states, switch motor into reverse, send confirm back to PC)
We've been looking at the ABC Mini Board to do this with (http://www.quasarelectronics.com...). Would it be possible using this kit? Also any good tutorials around about how to do this sort of thing?