Go Down

Topic: TVout Library (Read 1 time) previous topic - next topic

baum

I just downloaded the TVout Beta from the google code site (here)

I hooked up the schematic and loaded the demo... and nothing. My RCA cable is fine, I checked it with my multimeter continuity and its fine.

It seems like my TV knows that the arduino is connected, though...
If I unplug the RCA cord, I get a full black screen on Video 2 (my arduino).
If I plug it in and load the sketch, I get a black square with grey borders...

Some help please?

fliggygeek

Can you show us a photo of your circuit or a schematic of what you have done?
"Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent di

mowcius

Is your TV PAL or NTSC?
Have you selected that correctly?

baum

Nevermind. Very sorry for the confusion...

My computer is a bit unorganized (especially my downloads folder). So when I downloaded the zip file for the beta, I actually unzipped the old TVout library...

But I got it to work.

fliggygeek

Please post any progress you have on this project, I really want to see what you can do with the device :D
"Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent di

baum

Well it took me so long yesterday to figure out I had the wrong code that I really didn't do anything. But today I'm thinking of hooking of my nunchuck and using the accelerometer to control a dot on the screen...
I'll tell you if it works.

nootropic

Using a nunchuk with TVout is possible, but you need to be aware that nunchuk communication is normally done using I2C, which utilizes interrupts.  Interrupts firing during TV rendering interferes with the timing, so you need to use a different approach.  I wrote a Controllers library which allows nunchuk use by only performing I2C communication during the vertical blanking interval (VBI) when the screen is not being rendered.  The Hackvision Controllers library is described here:  http://nootropicdesign.com/hackvision/gamedev.html

and downloadable from here: http://nootropicdesign.com/hackvision/downloads/Controllers.zip

There is also a nunchuk library that uses a polling approach instead of interrupts, but I'm not sure where that is....

Have fun!

baum

Hmm... I'll check that out. But I may be getting an ATtiny soon... could I read the nunchuk w/ the ATtiny, and send that over to the arduino.

(I could maybe make a simple serial interface and clock the data over.)


Thanks for the help.

Go Up