Composite TV out adapter

Show us your Gamebuino clone or the last module you made.

Composite TV out adapter

Postby Myndale » Sun Nov 16, 2014 12:46 am

A sneak preview of something I made this week:



( *Disclaimer: I am not really this crap at ufo race...I was concentrating on the video angle! :D )

I still have a few minor issues to sort out before I release it publicly but as far as proof-of-concept goes it's working well. Doesn't require any hardware modifications and also doesn't require any special libraries or anything...so long as a title has been built with the standard Gamebuino library it should run fine. Hardware is the usual i.e. an Arduino Uno with 2 resistors, although the Arduino can be replaced with a ATMega328p and a ceramic resonator which would make an SMD module very small.

Check back here for updates, I'm hoping to have the last few issues resolved next week.
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: Composite TV out adapter

Postby CHEEZE » Sun Nov 16, 2014 1:26 am

Amazing! did you use a second 328p or the one built into the gamebuino? also did you have to use I2C?
CHEEZE
 
Posts: 16
Joined: Fri Nov 14, 2014 4:13 pm

Re: Composite TV out adapter

Postby Drakker » Sun Nov 16, 2014 1:34 am

Wow Myndale, you keep amazing us with your awesome projects. Is there anything you CAN'T do? :)
User avatar
Drakker
 
Posts: 297
Joined: Sun Mar 30, 2014 2:54 am
Location: Québec, Canada

Re: Composite TV out adapter

Postby Myndale » Sun Nov 16, 2014 2:15 am

CHEEZE wrote:did you use a second 328p or the one built into the gamebuino?


I'm using a second chip, it's the only way to make it work with all Gamebuino titles without having to rebuild them all with a custom library. The Gamebuino itself could be used to generate a TV signal but you wouldn't have many clock cycles left over for your game.

CHEEZE wrote:also did you have to use I2C?


Nope, just the GND, SCK and MOSI pins on the ICSP programming port. A standalone module would also need to tap the VCC pin for power.
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: Composite TV out adapter

Postby CHEEZE » Sun Nov 16, 2014 2:47 am

Absolutely amazing. maybe you can add a schematic for how it is wired and the library or software you used? i'm sure almost anyone that has a gamebuino or a clone also has an uno or extra atmega328p to use. i hope to see more on this because t.v. output would be awesome.
p.s. im not rushing you im just super excited for this.
thank you for your hard work and time.

sorry i was too excited that you didnt use I2C and just posted this. i cant wait great work brother.
CHEEZE
 
Posts: 16
Joined: Fri Nov 14, 2014 4:13 pm

Re: Composite TV out adapter

Postby erico » Sun Nov 16, 2014 4:52 am

UAU! I have no words! It is soooo 2600!
I now wonder if 2 gamebuinos could work on a single screen, or if one could add a bluetooth module to pair controllers into the same game?

Myndale, you open a door to many doors. Outstanding feat! :)
User avatar
erico
 
Posts: 671
Joined: Thu Mar 27, 2014 9:29 pm
Location: Brazil

Re: Composite TV out adapter

Postby Myndale » Sun Nov 16, 2014 5:24 am

Since the adapter doesn't use the i2C pins a bluetooth module should work fine, as would the multiplayer cable.

One of the things I've been toying with is multi-screen. The adapter works by detecting a 517-byte packet of commands+data that the Gamebuino library sends to the LCD once per frame. Anything larger or smaller is ignored, that way you don't get garbage on the screen when the SD card is being accessed. If you disable the LCD chip select line and render a frame normally then the display will ignore it but the adapter will still see a valid 517-byte packet and accept it. If you then re-enable the LCD chip select and draw another frame, but this time send a dummy command immediately afterwards, then LCD will draw it but the adapter will discard it. This opens up a number of new possibilities like adding "tv mode" support where the controller is used to draw a mini-map on the Gamebuino etc, to multi-player games where in addition to the main screen the players also have their own private displays.
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: Composite TV out adapter

Postby rodot » Mon Nov 17, 2014 10:02 pm

Wow, astounding :shock:
User avatar
rodot
Site Admin
 
Posts: 1290
Joined: Mon Nov 19, 2012 11:54 pm
Location: France

Re: Composite TV out adapter

Postby Sushi » Thu Nov 20, 2014 11:49 pm

Could you potentially wire this up to a higher res amoled? I know for a fact your TV isn't 84x48(or is it? :mrgreen:)
User avatar
Sushi
 
Posts: 52
Joined: Tue Oct 07, 2014 12:12 am

Re: Composite TV out adapter

Postby quosa » Fri Nov 21, 2014 9:05 am

This is a greate idea! very userfriendly .. only a ISP Connection; great work
quosa
 
Posts: 10
Joined: Thu Nov 13, 2014 12:47 pm

Next

Return to Hardware Gallery

Who is online

Users browsing this forum: No registered users and 1 guest

cron