Giter Club home page Giter Club logo

arduino-tvout's Introduction

Arduino-TVout

This is a library for generating composite video on an ATmega microcontroller. Hosted here to keep it available from Arduino IDE (and for simple download as the original Google Code has been archived).

This branch of the TVout library has been patched to allow use with the Arduino Leonardo. The goal of this project is to create a simple interupt driven library for generating composite video on a single AVR chip.

Currently the output is NTSC or PAL at a resolution of 128x96 by default. The library currently works on ATmega168,328,1280,2560,644p,1284p,32U4,AT90USB1286 and more can be added by editing spec/hardware_setup.h.

There are some timing issues with the m1284p, may be related to sanguino core.

Connections

MCU SYNCOUT AUDIOOUT VIDEO VSYNCIN CSYNCIN
m168,m328 PB1 PB3 PD7 INT0 ICP1
m1280,m2560 PB5 PB4 PA7 INT0 ICP1
m644,m1284p PD5 PD7 PA7
m32u4 PB5 PB7 PB4
AT90USB1286 PB5 PB4 PF7
Arduino SYNCOUT AUDIOOUT VIDEO VSYNCIN CSYNCIN
NG,Decimila,UNO 9 11 7 2 8
Mega 11 10 A7(D29) 21
sanguino 13 8 A7(D24)
Leonardo 9 11 8
Nano D9 D11 D7 D2 D8

SYNCOUT is on OCR1A and AUDIOOUT is on OCR2A (except on the Arduino Leonardo, where AUDIOOUT is on OCR0A)

There are some timing issues with the m1284p, may be related to sanguino core.

On NG, Decimila, UNO and Nano the SYNCOUT is pin 9, video on 7 and AUDIOOUT on 11. On Mega2560 SYNCOUT is pin 11, video is on A7(D29) and AUDIOOUT is on pin 10.

Examples

https://youtu.be/MEg_V4YZDh0

https://youtu.be/bHpFv_x_8Kk

arduino-tvout's People

Contributors

mylesmetzler avatar pkendall64 avatar avamander avatar abcbarryn avatar per1234 avatar bugskiller avatar johnhowe avatar

Watchers

James Cloos avatar Iván Ayala avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.