TVout is a completely interrupt driven library that will output either NTSC or PAL composite.
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
MCU | SYNC | VIDEO | AUDIO | Arduino | SYNC | VIDEO | AUDIO |
---|---|---|---|---|---|---|---|
ATmega168/328 | PB1 | PD7 | PB3 | NG,Decimila,UNO | 9 | 7 | 11 |
ATmega1280/2560 | PB5 | PA7 | PB4 | Mega | 11 | 29 | 10 |
ATmega644/1284p* | PD5 | PA7 | PD7 | Sanguino | 13 | 24 | 8 |
ATmega32u4** | PB5 | PB4 | PB7 | Leonardo | 9 | 8 | 11 |
AT90USB1286 | PB5 | PF7 | PB4 | Teensy++ | _ | _ | _ |
*There are some timing issues with the ATmega1284p, may be related to Sanguino core.
**Support for the Arduino Leonardo has just recently been added.