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

About: I'm 13, LOVE arduino, and won't miss an opportunity to tinker with electronics

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
breadboard.

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;
http://code.google.com/p/arduino-tvout/downloads/detail?name=TVout_w_audio.zip&can=2&q=

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