Spooky Painting

by xavividal in Circuits > Arduino

333 Views, 2 Favorites, 0 Comments

Spooky Painting

IMG_6250.jpg
IMG_6248.jpg
IMG_6250.jpg

In this project we built an interactive painting, which by means of servos, leds and ultrasonic sensors a scary image is shown when you get close.

Supplies

p_6_8_6_686-40-Cables-30cm-Macho-Macho-jumper-dupont-254-arduino-protoboard.jpg
s-l500.jpg

We are going to need:


Arduino x1

240 Ohm resistor x2

Servo Motor x1

Led's x2

Chopstick

A3 Wooden Board

Cables 

Protoboard

Back Board

IMG_6197.jpg

First we are going to cut a wooden board into our desired size, in our case A3, 297 × 420 mm.

Supports

IMG_6198.jpg
IMG_6200.jpg

Next we are going to ad 4 supports in each corner where the frame is going to sit.

Frame

IMG_6199.jpg

The following step is to cut de frame to size. Cut each corner in 45º angles so then it forms a perfect square.

This is the moment where we are going to make wholes in the back board, at the height of the eyes of your image, where later we are going to stick at the LEDS.

Image

IMG_6202.jpg

Once the supports are glued, it is time to cut the image into size and stick it to the board. And after stick the frame to clean everything up.

Circuit

IMG_6246.jpg

The circuit is pretty simple.

We are going to connect the LEDS, each at a port, 8 and 9.

The servo motor is connected in port number 5.

The ultrasonic sensor, the Trigger is connected to port number 2 and the Echo at port number 3.

Code

In the attached file you are going to find the code we used.

Downloads

Time to scare your friends!!!