-->
Page 1 of 2

Composite video from esp

PostPosted: Mon Nov 02, 2015 10:23 pm
by Mmiscool
Hello,

Arduino has a nifty function library that allows the avr to produce composite video signal that can be used by a tv.
http://playground.arduino.cc/Main/TVout

Has any one attempted to use, port or make a library for the esp8266 that dose what this one dose.
https://github.com/Avamander/arduino-tvout/

It would be really awesome if this was able to work on the ESP8266.

Re: Composite video from esp

PostPosted: Mon Nov 02, 2015 10:36 pm
by mrburnette
Mmiscool wrote:Hello,

Arduino has a nifty function library that allows the avr to produce composite video signal that can be used by a tv.


Just an FYI: the ESP8266 is running an RTOS, so extreme care will be needed to thread the critical timings.

Ray

Re: Composite video from esp

PostPosted: Mon Nov 02, 2015 11:13 pm
by lethe
I don't think that'll work. The code library you posted seems to make havy use of the AVR's timers and PWM hardware. The ESP on the other hand does not have hardware PWM and as mrburnette already has hinted, the other tasks (wifi/tcp) will probably make it next to impossible to keep the strict timing requirements of analog video.
Also, according to this post viewtopic.php?p=9105#p9105 the achievable GPIO speed seems to be rather low, compared to an AVR.

Re: Composite video from esp

PostPosted: Tue Nov 03, 2015 5:24 am
by GengusKahn
Seems a bit simple, but add a 328 Mini on the serial port or via RF24l01 on HSPI, If there is not a lot of information to be passed only the variables, use the mini to do Real Time timing....mini cost £1, use sleep/wake on Serial interrupt on mini to save power if needed.......
Code: Select all ___/'¬_         /\
{_-_ ^  \_______//
     /           \
     \ _  _____  /
     || ||     |||
     || ||     |||