Creating custom Uzebox

What is a Uzebox? How can I get one? Check here!
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Creating custom Uzebox

Post by Kilo »

The solution with the MC1377 doesn't work. I guess it's a sync problem. Mh... too bad. Another Atmega TV project gives me vsync and hsync. So the MC1377 works.

But I'm also thinking about a modular version. Where different Joysticks can be use. Solution like the Jamma one.
Also it would be nice to have only one main board where people can add their video output standard i.e. AV, Hdmi, scart etc.
So you can combine your kit with different types of available solutions.
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
CunningFellow
Posts: 1445
Joined: Mon Feb 11, 2013 8:08 am
Location: Brisbane, Australia

Re: Creating custom Uzebox

Post by CunningFellow »

What is the MC1377 not doing? Are you feeding it 3.57Mhz (it needs a different freq to the AD72x). Can you see any signal on its composite output? What does the scope trace look like?
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Creating custom Uzebox

Post by Kilo »

I use a 4,433 MHz Crystal because of PAL standard.
Well... I sold my scope month ago, so I only can feel the Signal with my tongue! :lol:
Don't know. Normally the TV should recognize anything when I power on the board.
But with the uzebox nothing happened. I built this circuit already once with success but there I used Hsync and Vsync seperated.
Don't know if this is the reason?!
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
CunningFellow
Posts: 1445
Joined: Mon Feb 11, 2013 8:08 am
Location: Brisbane, Australia

Re: Creating custom Uzebox

Post by CunningFellow »

It will be very hard to say what could be wrong without a scope to look at things.

The MC1377 should work fine for the TV Out. For PAL 4.43Mhz you probably need an acoustic delay line or the colour would be wrong.
User avatar
Jubatian
Posts: 1561
Joined: Thu Oct 01, 2015 9:44 pm
Location: Hungary
Contact:

Re: Creating custom Uzebox

Post by Jubatian »

Kilo wrote: Sat Dec 02, 2017 9:53 pm I use a 4,433 MHz Crystal because of PAL standard.
Well... I sold my scope month ago, so I only can feel the Signal with my tongue! :lol:
Don't know. Normally the TV should recognize anything when I power on the board.
But with the uzebox nothing happened. I built this circuit already once with success but there I used Hsync and Vsync seperated.
Don't know if this is the reason?!
How sure are you that this should be working? The Uzebox generates NTSC timing, I assume you didn't attempt to change the Uzebox's frequency (you are using the same 28.636363MHz crystal for clocking the AVR like any normal Uzebox should). The PAL and NTSC vsync generation is slightly different (PAL, NTSC), however there are hybrids (PAL-M in Brazil, what you are doing is rather PAL-60, you can find it on the same Wiki article).

You may also try using the new V.5 bootloader which generates accurate 262p signal (the old bootloaders have inconsistencies in timing which could be a source of problem if your system is very picky).

I took a look at the MC1377 datasheet, on page 8 for the Sync input it says that for PAL a "correctly serrated vertical sync" is necessary. What this exactly means I don't know, but NTSC has 6 serration pulses and PAL has 5, which could be a problem here.
User avatar
Kilo
Posts: 330
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Creating custom Uzebox

Post by Kilo »

Good point.
That could be the problem. Maybe I have to take a crystal for NTSC and change the circuit to it.
I didn't think about that.
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
Halamix2
Posts: 17
Joined: Mon Jun 06, 2016 10:04 pm

Re: Creating custom Uzebox

Post by Halamix2 »

After 2 years I finally realized that my SPI RAM may be wired incorrectly..
Now SPI RAM works (23LCV1024 but it works), but I have question about WiFi: UzenetDemo detects WiFi card, but it cannot connect to any network and simply says to run the Uzenet configuration program. Wiki mentions ESPSETUP.UZE file, but I cannot find it anywhere.
User avatar
nicksen782
Posts: 714
Joined: Wed Feb 01, 2012 8:23 pm
Location: Detroit, United States
Contact:

Re: Creating custom Uzebox

Post by nicksen782 »

Awesome! Welcome back to Uzebox and to working SPI RAM.

The WiFi code is limited at the moment but it has been used with Tank-Fu (for 2 player) and in Uze's terminal program. There is not a setup file unfortunately. That page needs to be updated to reflect that.

I started to mess with it a few months ago but have been pulled into another project. Start with Tank-Fu though. https://github.com/lawrencebrooks/tankfu

... I want to do a two player feature for a card game.
Post Reply