loading
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
How do you upload a picture??? HELPThanks <br>
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.
There's already a Teleduino :) <br>http://www.teleduino.org/
Whoops!!!!! I did't know I'll change the name!! any ideas???? :) <br>
Can you explain how it connects to the Arduino? Specifically, what on the Arduino board are you referring to by &quot;Sync&quot; and &quot;Video&quot;? The code doesn't seem to mention any Arduino pins either so I'm puzzled :)
Sync goes to pin 9 <br>Video goes to pin 7 <br> <br>Glad I could help!!!
http://code.google.com/p/arduino-tvout/wiki/Hardware

About This Instructable

7,597views

12favorites

License:

Bio: I'm 13, LOVE arduino, and won't miss an opportunity to tinker with electronics
More by lil tinkerer:Ardu-Vision!!!!!!!!!! 
Add instructable to: