Introduction: Drawing Machine With Arduino

My first use of the Arduino in a project. A school assignment to make a drawing machine. This was 2 week project, so please excuse the wires as I didn't have time to solder anything.

I enjoy touchless-interfaces. I used a photocell and by controlling the amount of light that received, I was able to control how fast the motors spun, thus controlling the drawing machine's drawing pattern.

Step 1: Gather Your Parts

Arduino UNO
Hobby Servo

2 micro-vibration motors


push button

2 NPN transistors

3 ~500 ohm resistors (green, black, brown)

2 ~1000 ohm resistors (brown, black, red)

wiring (I used a breadboard)

some sort of structure (I used paper clips hot glued to the breadboard and arduino)

A way to attach drawing utensil to servo (I used a binder clip)

Drawing utensil (I used a sharpie)

Step 2: Assemble

Sorry if this is hard to follow. I did this project around a year ago and didn't take too many pictures as I was building it. Attached are some semi-crude wiring diagrams of exactly how to wire this project. Hopefully they're easy enough to follow. (Although they may not be if this is your first project. Sorry for that)

Step 3: Arduino Code

Upload this code to the Arduino.

To make it more or less sensitive and if you know what you're doing, go down to the bottom of the code. Where it says "if(SensorValue....", adjust these numbers higher or lower. I presented this project in a dimly lit room, so it had to have a higher sensitivity.

Step 4: Final and Video

If you made it this far, congrats! If this was your first project and you're still lost, keep trying. Message me if you are still lost. With the motors I used, I wasn't able to get too much movement. If I were to do it again, I would use larger motors or work to make it lighter.



That's awesome.

dcsabi (author)2014-06-07

try to make a schematic and use the atmega328 only on a stripboard and than it will be lighter ;)