You are on page 1of 5

Food

Living

Outside

Play

Technology

Workshop

Simple POV homemade arduino shield


by tempteta on October 21, 2011

Table of Contents
Simple POV homemade arduino shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Intro: Simple POV homemade arduino shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 1: Material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 2: Prepare the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 3: Solder the electronics parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 4: The code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 5: Enjoy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

http://www.instructables.com/id/Simple-POV-homemade-arduino-shield/

Intro: Simple POV homemade arduino shield


Has Gunnery Sergeant Hartman (Full Metal Jacket) says during the riffle pray There are many like it, but this one is mine

Step 1: Material
Indeed there is many project like available on internet.
This one use a tilt switch as trigger
1 x Arduino board (http://shop.snootlab.com/lang-en/arduino/68-arduino-duemilanove.html )
7 x 500 ohms resitors W
7 x basic red leds
1 x 10 k ohms resitors W
1 x tilt switch (I use this one http://shop.snootlab.com/lang-en/parts/96-tilt-sensor.html )
A piece of prototyping board plated holes
Male header (0,1") 1 row, 40 pins (need only 28 for complet arduino connexion , and realy need 10 for this project) http://fr.mouser.com/ProductDetail/FCI/68004236/?qs=sGAEpiMZZMtsLRyDR9nM10aphOtlQBeldG%252bobNTQj6E%3d
Tools
A PC to program the arduino
An soldering iron
Some tin
A cutter

Step 2: Prepare the board


You have to cut the board to get a piece of about 21 x 18 holes (the hole spacing is 2,54 mm)
For this kind of board, just score with a sharp knife, place a metal ruler or similar on the top and snap it.
Then you have to solder the Male header.
First cut the male header in
2 pieces of 8 pins
2 pieces of 6 pins
Then, solder the Male header. Take care of the two 8 pins. They must be tilted to fit the arduino connectors. First, make a try with a single soldering point.

Step 3: Solder the electronics parts


Solder the 500 ohms resistors. They must be connected to the male header of the arduino pin 6 to 12
Solder the leds. The upper leds must be on the pin 6
Solder the tilt switch and the 10 kohms resistor.
With my tilt switch, Im using only two pins (see picture)
Add some jumper wire and finally it should looks like the last picture

http://www.instructables.com/id/Simple-POV-homemade-arduino-shield/

Step 4: The code


You can tune these parameters
If you want faster display reduce those parameters
#define delinterchar 700 //delay between 2 char
#define delinterpoint 340 //delay between 2 points of a char
If you use deferent pin for your leds or for your sensor
#define led1 6
#define led2 7
#define led3 8
#define led4 9
#define led5 10
#define led6 11

http://www.instructables.com/id/Simple-POV-homemade-arduino-shield/

#define led7 12
#define sensorPin 2
Currently this code display two message : SNOOTLAB and RULEZ
The two messages are define in
char texte[] = "SNOOTLAB"; // data to write on startup
char texte2[] = "RULEZ"; // data to write after "repet" writing of the first message
The message changes after 10 displays. You can change this value here
#define repet 10 //number of repetition before changing message

File Downloads

pov03.pde (11 KB)


[NOTE: When saving, if you see .tmp as the file ext, rename it to 'pov03.pde']

Step 5: Enjoy

Simple POV display from phil teta on Vimeo.

I think there is many way to improve this, by using interruption for example. For this purpose, I have connected the sensor on the pin 2 of the arduino of the external
interruption.
If you made a think like this, please post this upgrade on instructable.

Related Instructables

Pov Message
Display 1
(Photos) by
smnoor88

POV CLOCK
(video) by
smnoor88

POV CLOCK $
(video) by
smnoor88

Render 3D
images of your
PCBs using
Eagle3D and
POV-Ray by
ongissim

POV DISPLAY
(video) by
mshayan27

http://www.instructables.com/id/Simple-POV-homemade-arduino-shield/

POV on Basic
Stamp by
WyoJustin

http://www.instructables.com/id/Simple-POV-homemade-arduino-shield/

You might also like