Drawing Machine With Arduino




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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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.

Be the First to Share


    • Magnets Challenge

      Magnets Challenge
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    2 Discussions


    5 years ago

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