Mechanical Design Part
design or modify a machine, making as many of the components as possible
document the group project and your individual contribution
make the passive parts and operate it manually
Machine Design Part
automate your machine
document the group project and your individual contribution
I have not got the necessary part to develop the machine I will make for my final project yet, so this week I finished another machine I used to make and have not finished yet.
This machine records your drawing paths and redoes & reverses it.
Design
! This design is too tight (too exact), it had to be sandered to press-fit and to make the gears work. !
Gears are attached to the rotary encoder and the stepper motor, when you move the pen, the rotary encoder rotates and sends pulse to Arduino.
And, on the serial monitor of Arduino, when you send some letters, the stepper motor rotates and make the pen move (more explation below ('Code')).
The image above shows a circuit just for one axis for simple explanation. Actually, this needs another stepper motor and another rotary encoder for X and Y axis.
And I referred to this page (http://in.shappi.org/article/197875759.html), this page shows how to move bipolar stepper motors with TA7774PG but it was also ok when I tried unipolar one with disconnecting 2 common leads with any pins (maybe they can be connected to GND, though).
Code
Open Serial Monitor on Arduino, when you move the pen to the right, it says 'R' for a tooth of the gear, to the left: 'L', up: 'U' and down: 'D'.
And the AVR records the R as 1, L as 2, U as 3, D as 4 into the variable 'mem'. When you send 'a' on Serial Monitor, you can check the content of 'mem'.
When you send 'r'(Redo), the steppers redoes your path, when you send 'b'(Back), the steppers reversed your path.
If you send 'd'(Delete), all the values of 'mem' will be 0.
The source code file(.pde file) should be inside a folder(directory) named 'HNC_130507c' (If you download the zip file and unzip it, the folder named 'HNC_130507c' will have HNC_130507c.pde.)
This program will work before 1.0 ver. ( == until 0023 ver.)
I made and used this program on 0022 ver. Arduino Download page