Attiny85 Tv out?

Hello, I been looking for a way to get Tv out on a attiny85. I saw a few people on youtube doing this. But I can not find any starter code or wiring on how i should wire this up to get a signal.

The second part is with the Lacking programming space the Tvout library anyone that is found online is to big for the 85. It is atleast 64k or higher. And the other thing i found wat the TvB-gone but that is all. Does anyone know where i can find a starter sketch and library to get me started on the attiny85 Tv out?

Joseph

Can you post links to YouTube videos where you have seen this done ?

Did you download the code from here?
https://cnlohr.net/pubsvn/electrical/avr_tvb/

Did you find this article?

... and it's "poring through" not "pouring through"... that would be spilling your coffee or beer on the posts...

Feel free to click through to the article from 2015 and inform that author of their error.

1 Like

Hello all. I have seen that video before. He doesn’t code in arduino. But I have talked to him in the past. He mostly does wireless things and VR. Basically does things no one ever saw before. He does awesome stuff. There is another guy called Ben heck hacks on YouTube he uses atmel studios Here. to program the tv. Both of them uses atmel studios to do tv out. Only problem I have is that I do not have or know how to use atmel studios.

Joseph

I don't see what the IDE has to do with the ability of the processor to do what you want

Is there a source of code for this project, whatever IDE it is being compiled in ?

No problem. Put the .c and .h files in tabs and use an empty .ino file. With an ATtiny core installed, the Arduino IDE should be able to build and upload the "sketch" to an ATtiny85.

I selected Tools->Board: "ATtiny25/45/85 (No bootloader)" and Tools->Chip: "ATtiny85", and compiled with only a few warnings:

sketch/test.c: In function 'main':
sketch/test.c:141:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
   sprintf( stdsr, "Fr: " );
   ^~~~~~~
sketch/test.c:141:3: warning: incompatible implicit declaration of built-in function 'sprintf'
sketch/test.c:141:3: note: include '<stdio.h>' or provide a declaration of 'sprintf'
sketch/test.c:172:12: warning: unused variable 'lsd' [-Wunused-variable]
   uint8_t  lsd;
            ^~~
sketch/test.c:171:12: warning: unused variable 'msd' [-Wunused-variable]
   uint8_t  msd;
            ^~~
Sketch uses 2006 bytes (24%) of program storage space. Maximum is 8192 bytes.
Global variables use 36 bytes (7%) of dynamic memory, leaving 476 bytes for local variables. Maximum is 512 bytes.

Adding the line "#include <stdio.h>" got rid of the 'incompatible implicit declaration' warning.

Use Tools->Programer to select your ISP device and Sketch->Upload Using Programmer to upload to the ATtiny85.