# Ardu-Vision!!!!!!!!!!

7,723

12

11

Published

## Introduction: Ardu-Vision!!!!!!!!!!

This is my first instructable, so constructive criticism please.

With an arduino, some resistors, and an RCA plug you can make personalised messages appear on your tv or any lcd screen that has an RCA video input.

## Step 1: Gather the Materials.

So you need;
an Arduino(kinda obvious??)
a 1k resistor
a 470 resistor
an RCA cable
a few jumper wires

I was lazy and didn't have any 1k or 470 resistors so i used 3 330 Ohm resistors instead of the 1K resistor and 1 330 Ohm resistor instead of the 470 Ohm. Mine works just fine.

## Step 2: The Wiring!!!!

Use the image, its the best way!!!!!!!;)

For the RCA plug, the outside is the ground and the inside is the Video.

## Step 3: The Code

Firstly you need the arduino tv out library.
The library is not made by me.
You can find the one I have here;

Then you can use this code;
#include <TVout.h>

TVout TV;
unsigned char x,y;

void setup()  {
x=0;
y=0;
TV.start_render(_PAL); //for devices with only 1k sram(m168) use TV.begin(_PAL,128,56)
}

void loop() {
TV.clear_screen();
x=0;
y=0;
for (char i = 32; i < 127; i++) {
TV.print_char(x*6,y*8,i);
x++;
if (x > TV.char_line()) {
y++;
x=0;
}
}
TV.delay_frame(50);
TV.clear_screen();
TV.print_str(0,0,"fill screen pixel");
TV.print_str(0,8,"by pixel");
TV.delay_frame(50);
TV.clear_screen();
for(x=0;x<TV.horz_res();x++){
for(y=0;y<TV.vert_res();y++){
TV.set_pixel(x,y,1);
}
}
TV.delay_frame(50);
TV.clear_screen();
TV.print_str(0,0,"draw some lines");
TV.delay_frame(50);
for(y=0;y<TV.vert_res();y++){
delay(10);
TV.draw_line(0,y,x-y,y,2);
}
TV.delay_frame(50);
}

This is what come with it. If you live in places that only have _NTSC tv's, you have to change the;
TV.start_render(_PAL); to
TV.start_render(_NTSC);

## Step 4: The Finished Product

Cant upload a picture, but I am here to help.

I used another pre made code so now I'm playing pong with a potentiometer controlling the paddles

## Recommendations

• ### Arduino Class

69,096 Enrolled

• ### Make it Move Contest

We have a be nice policy.

## Questions

How do you upload a picture??? HELPThanks

4 replies

Unfortunately i don't think it will be possible. I think you can only draw circles rectangles, other shapes and text on screen. I am not really too sure if the TV out library supports image files like jpeg or png. You have to bear in mind it is a black and white image that appears on the screen...

to me the only it appears is some waves like no signal

What do you actually see on screen. If you cannot see anything with the code I have provided, you may need to change from PAL to NTSC.

What do you actually see on screen. If you cannot see anything with the code I have provided, you may need to change from PAL to NTSC.

Great! Another use for an old tv that the media said we should get rid of. Poo-eee on them.

http://www.teleduino.org/

Whoops!!!!! I did't know I'll change the name!! any ideas???? :)

Can you explain how it connects to the Arduino? Specifically, what on the Arduino board are you referring to by "Sync" and "Video"? The code doesn't seem to mention any Arduino pins either so I'm puzzled :)

2 replies

Sync goes to pin 9
Video goes to pin 7