Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

TVout Library

TVout is a completely interrupt driven library that will output either NTSC or PAL composite.

Hardware Connections

Connect an RCA plug to the Arduino according to the following schematic. A 75 ohm resistor may be needed between VID and GND on the RCA plug for a very small subset of TVs

SYNC is on OCR1A and AUDIO is on OCR2A

MCUSYNCVIDEOAUDIOArduinoSYNCVIDEOAUDIO
ATmega168/328PB1PD7PB3NG,Decimila,UNO9711
ATmega1280/2560PB5PA7PB4Mega112910
ATmega644/1284p*PD5PA7PD7Sanguino13248
ATmega32u4**PB5PB4PB7Leonardo9811
AT90USB1286PB5PF7PB4Teensy++___

*There are some timing issues with the ATmega1284p, may be related to Sanguino core.

**Support for the Arduino Leonardo has just recently been added.

Documentation of library functions

https://code.google.com/archive/p/arduino-tvout/wikis