asantos2000 / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
0 stars 0 forks source link

Atmega328 8mhz PB3 and PB4 for VID and SYNC, Atmega 168 16 mhz not working. #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Running on Atmega328 at 8mhz
2.Running on Atmega168 at 16Mhz stripped down version 
3.Changing VID pin and SYNC pin 

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
TVout 5.91 and TVout beta1.0

Please provide any additional information below.
Hello,

My hardware setup is Atmega328 running at 8mhz (with output at PB3,PB4,PB5). I 
changed the pins defined in the harware_setup.h file respectively but cant get 
any output. Also I have observed that most of the TV PAL signal examples work 
on the PB0 and PB1 only if I change it to other PINS or other ports I don't get 
any output.I have been trying to get the TVout working for a week now. I have 
even tried to get it run on 168 running at 16Mhz but I cant get any output. I 
am on PAL.

Kindly let me know how do I change the code to get the TVOUT running on 
atmega328 at 8mhz with sync and vid on PB3 and PB4. And the same for Atmega168 
at 16 Mhz on PB0 and PB1

Original issue reported on code.google.com by infi...@gmail.com on 31 Jul 2011 at 9:16

GoogleCodeExporter commented 8 years ago
As I read the current version does not work with 8mhz. I guess that could be 
the problem.Could you please tell me how to get the current version of the lib 
running at 8Mhz.

I tried the 5.9 ver of the lib on Atmega328 at 8Mhz and I get the output at PB0 
and PB1. But when I changed the pins to PB3 and PB4 in hardware_setup.h I get 
no output. Could you please tell me why the library (Beta1.0 or ver 5.9) works 
only on the pins mentioned in the lib and not working if we redefine the output 
on different pins.

Original comment by infi...@gmail.com on 31 Jul 2011 at 9:35

GoogleCodeExporter commented 8 years ago
And TVout ver5.9 is not working with Atmega168 at 16 mhz.

Original comment by infi...@gmail.com on 31 Jul 2011 at 9:44

GoogleCodeExporter commented 8 years ago
I think it cannot be used on PB3 as it just an 8 bit timer output. So I guess 
only 16 bit timer will do. However I tried to get the new and old libs to work 
on 168 at PB1 and PB0 default but no luck.

Original comment by infi...@gmail.com on 31 Jul 2011 at 10:35

GoogleCodeExporter commented 8 years ago
Now I loaded the TVout5.9 onto the Atmega328 at 8Mhz but I do not get any free 
flowing video on it.Just when I touch the sync and vid pin I get a frozen and 
misaligned frame. I do not know what could be causing the problem? (I am using 
450-900 ohm split without the diodes).Please advice.Thanks in advance.

Original comment by infi...@gmail.com on 31 Jul 2011 at 1:06

GoogleCodeExporter commented 8 years ago
solved..

Original comment by infi...@gmail.com on 31 Jul 2011 at 5:20

GoogleCodeExporter commented 8 years ago
How was it solved? I am having a similar problem, but with beta1.

Original comment by oldtop...@gmail.com on 11 Sep 2011 at 12:12