I thought I’d dust off my old programming skills and attempt a ‘real’ project. I am creating a programmable turntable to dispense small parts. I have searched the forum and on the web for similar Picaxe projects and have a good idea how to program what I need, but I’m sure I am not the first to do what I am trying to do. Any links or code snipets is greatly appreciated!
1) Input from matrix keypad (2-digit number).
2) Display number to serial display.
3) Press button on keypad to accept 2-digit number.
4) Move servo (turntable) to position associated with 2-digit number.
5) Activate second servo to eject part.
6) Wait for next 2-digit number input from keypad
I plan on implementing a matrix keypad, serial display (I have a bunch of 4-digit HC4LED displays), and 08M2 like the one described by Ron Hackett and using another 08M2 to control the servos. I would like to have the keypad/display module store the 2-digit numbers until the servo control module is ready for the next position. This way the operator can input all the required numbers and walk away while the servos do their thing. This is the part I am confused how to do the storing and handshaking. I almost have the servo/positioning worked out and the code for the keypad/display are well documented by Mr. Hackett (thanks Ron!). The turntable will be able to rotate 360deg with about 40 programmed positions.
1) Input from matrix keypad (2-digit number).
2) Display number to serial display.
3) Press button on keypad to accept 2-digit number.
4) Move servo (turntable) to position associated with 2-digit number.
5) Activate second servo to eject part.
6) Wait for next 2-digit number input from keypad
I plan on implementing a matrix keypad, serial display (I have a bunch of 4-digit HC4LED displays), and 08M2 like the one described by Ron Hackett and using another 08M2 to control the servos. I would like to have the keypad/display module store the 2-digit numbers until the servo control module is ready for the next position. This way the operator can input all the required numbers and walk away while the servos do their thing. This is the part I am confused how to do the storing and handshaking. I almost have the servo/positioning worked out and the code for the keypad/display are well documented by Mr. Hackett (thanks Ron!). The turntable will be able to rotate 360deg with about 40 programmed positions.