Make: Projects

Circle-A-Sketch

Create a program similar to "Etch-A-Sketch" with 2 potentiometers and a photoresistor.

  • By
  • Category: Arduino
  • Time Required: 15 minutes
  • Difficulty: Easy

Steps

Step #1: Set up the hardware.

PrevNext
Circle-A-SketchCircle-A-SketchCircle-A-SketchCircle-A-Sketch
  • Set up two potentiometers next to each other. They will act as the horizontal and vertical controls for the Processing Circle-A-Sketch.
  • The pin on one end will go to a 5V source, the middle pin will go to an analog pin on the Arduino (either A0 or A1) and the other end pin will go to ground ("Gnd").
  • Photoresistor
  • Create a voltage divider with the 10k resistor.

Step #2: Upload the Arduino code.

PrevNext
Circle-A-Sketch
  • Connect the Arduino to your computer.
  • Verify/Compile the code and then upload it to the Arduino board.

Step #3: Processing

PrevNext
Circle-A-Sketch
  • Download and install Processing.
  • Open Processing and upload the Processing code.
  • Click the Run button and get ready to sketch!

Step #4: That's it!

PrevNext
Circle-A-Sketch

Draw and experiment.