Introduction: Camera With Automatic Slate

Hello! The inspiration for this camera came from the need to add something unusual at the birthday party of my daughter.

The camera works as follows: There is a distance sensor, ultrasonic, installed on top of the "lens"that continuously checks if something goes ahead. If passed, it activates the slate and then "roll" the film begins to run for a few seconds, giving the impression of actually filming. After waiting a few seconds to restart the reading and repeat the cycle. The kids loved it.

Step 1: Base

- 3 meters of pipe 3 / 4 "

- 3 T's of 3 / 4 "

- 4 elbows of 90 ° (note that 3 elbows and put a T at the base because I had used the material at home)

Cut the stick of PVC in:

- 4 x 24cm for the base

- 2 x 12 cm

- 1 x 135 cm

Assemble as shown to the base

Step 2: Support for the Camera


- 2 x 7cm PVC 3 / 4 "

- 1 x 10cm PVC 3 / 4 "

- 1 x T 3 / 4 "

- 3 x knees 3 / 4 "

- 2 x Union 3 / 4 "(with internal thread)

- 2 x Union 3 / 4 "(externally threaded)

Ride as the first figure and fit on the pedestal.

It was done this way to skew a little down the camera.

Step 3: Character

The party theme was: Cinema. How recent was the premiere of Batman, we decided to choose the Joker to animate the party.

After all: "Why so Serious?"

I found a picture of him on the net that seemed to hold the slate. Was chosen.


- A cardboard box big change

- 25 sheets A4

- Cola

First, I gave ma neat and clipped a figure in front of the arm because this will hold the slate over and is what will move.

Using the print feature poster. I think most printers have this feature. Printed in larger format: 25 pages.

Then I just paste the pages, cut, paste on top of cardboard and cut out the figure. Note that the paint was already in the final. I was forced to print in draft so much more not compromise the final quality.

The arm that moves the slate was cut and pasted just above the elbow on the arm of the figure. The hand was attached to the handle by the fingers of the slate.

Check the very last figure I cut a rectangle. Was to hold the slate.

Step 4: Slate

The slate gave some information about the party because it was copied from the invitation.


- Paper card

- Cardboard

- Servomotor

- Extension for servomotor

- Adjustable arm for servo (white plastic piece)

- two Popsicle sticks

- Glue (I used wood glue)

- A clamp

Cut the cardboard and cardboard the size of an A4 sheet. On the cardstock (I bought more white no matter the color), print mask design on the side without the color because it is similar to cardboard.

On cardboard, glue paper card with printed design. Cut the part that moves the clapper (arm) and make a rectangle to put the servomotor.

On the slate arm, collar a couple popsicle sticks to give support and then fix the scope of the servant with the aid of the Clamp.

Fix the Servomotor in slate through bolts.

Fix the mobile arm of the servant, screwing

Note that I glued a piece of drawing the joker in the shape of a hand to give the impression of holding the slate below.

Snap the slate in the figure and paste the joker in the fingers moving part.

Step 5: Camera

The camera was inspired by the old projectors that had a roll of film on top.


- shoebox

- tin (I used a seed cashew)

- balsa wood (no need to be balsa wood. because he had used)

* could be a strip of cardboard.

- 2 CD's old

- two toy engines from a 3 volt

- two-wheeled cart (with the axis of the same diameter shaft engines)

- wires

- a barbecue stick

- Paint black and white
Open the holes to attach the camera on the pedestal supporting the rolls of film and lens (tin), paint the box of shoes, tin and support for the rolls with black ink.

To support the roll of film, I made a rectangle on top of the box and glued a piece of balsa wood.

The support rolls of film was made as follows: I cut two pieces of balsa wood: one shaped like a parallelepiped and another in the shape of a rectangle. These pieces were embedded with the aid of two pieces of barbecue stick. Holes were made to put the engines and one to pass the thread.
OBs.: Support may also be made with cardboard will need something more to make him stand there like a glue Popsicle sticks between two layers of cardboard, for example.

The CD's were painted to look like rolls of film. I made a mask and printed on cardstock, cut the holes and painted white making the rounds. To fix the cd's in the engines, I used a wheel of toy.

After that, simply mount, placing the engine, fitting the cd's and setting them on top of the camera.

Step 6: Electronic Circuit and Software

The circuit was done using a microcontroller based on Basic Stamp


- 1 x 1K resistor 1 / 8 watt

- 1 x 1N4001 rectifier diode

- 1 x Transistor NPN BD135

- 2 x toy engines

- 1 x standard servomotor

- 1 x ultrasonic distance sensor:

- Plate 1 x Step Lab, with the Basic Stamp microcontroller

- 1 x 6V battery (4pilhas serial) or a 9V battery

- Wires, battery connector

The circuit works as follows:
When switched on, the sensor checks if there is something at a distance less than 1.75 meters (the maximum distance that can be measured with this sensor is 2 meters). If so, the microcontroller activates the servomotor of the slate (the first closing and then opening). Having placed the pin 0 output at a high level and then the transistor, which is functioning as a key closes the circuit, causing the motors connect and stay connected for about 2 seconds (time configurable). The momentum that they get is enough to keep them running for another 10 seconds.

After the microcontroller of a break for a few seconds (set up a 5), back to reading and the cycle repeats.


symbol lig= bit0
symbol rotor= w3

output 0 'pino zero = saída - motores
output 1 'pino 1 = saída - claquete
input 2 'pino 2 = entrada - sensor

loop: 'rotina do sensor
pulsin 2,1,w2 'mede pulso do sonar
w2 = w2*34 'velocidade do som = 340m/s
w2 = w2/2 'o tempo medido é de ida e volta
w2 = w2/100 'acerto na escala

pin0 = 0 'coloca nível baixo no pino zero, desativando os motores

if w2 <= 175 goto claquete 'se distância menor que 1,75m, ativa claquete

goto loop

claquete: 'movimento da claquete

ligadao: 'rotina do servomotor
for rotor= 1 to 30
pulsout 1,150
pause 10
pause 10
for rotor= 1 to 30
pulsout 1,240
pause 10

'Rolo de filme

pin0 = 1 'ativa o rolo de filme
pause 2000 'ligado por 2 segundos
pin0 = 0 'para o rolo de filme
pause 3000 'aguarda 4 segundos
w2 = 0 'zera o valor da distância
pause 1000 'aguarda 1 segundo

goto loop 'retorna a leitura do sensor

OBS.: the servo can move to start up the engines because of their handling of the brushes, which generate transient. If this happens, just put a 1000 microfarad electrolytic capacitor / 12 V in parallel with the power supply.

The board Step Lab has a voltage regulator which supports about 20 volts applied to its input. The circuit can be powered directly from this source because the board has a DC output and one for feeding the 5V microcontroller. There is also a breadboard where I connected all the components and called for jumpers.

The circuit could have been done in other ways instead of using the ultrasonic sensor, using a light sensor (LDR) which is much cheaper. However, differences in brightness can affect the circuit a bit and there would need to be making adjustments all the time.

I prefer to use a microcontroller as we have more flexibility. A change in the length of time that engines are running is done via software without having to disconnect anything. If it were an analog circuit, would be far more difficult.

Microcontroller Contest

Participated in the
Microcontroller Contest

Halloween Decorations Challenge

Participated in the
Halloween Decorations Challenge