Orange Custom Gameboy

Show off your completed Game Boy Zero, or post your build logs here!
Post Reply
Hideki
Posts: 2
Joined: Mon Aug 07, 2017 10:27 am
Been thanked: 3 times

Orange Custom Gameboy

Post by Hideki » Mon Aug 07, 2017 11:02 am

Hello everyone,

I'm trying to make a custom gameboy with a OrangePi lite. This contains quadcore and 512 mb ram and wifi.
I add pinout of the board. Firth, in the front have sound ( L R in the red circle ).
open to show imageShow
Image
In the back have tv out and power.
open to show imageShow
Image
Well, i remove all usb conector, power and gpio. Later, i remove hdmi out too.
open to show imageShow
Image
I mod the case to add 3.5'' display at 5 volts.
open to show imageShow
Image
open to show imageShow
Image
Now its time to put all together ( display, orange, sound amplifer )
open to show imageShow
Image
open to show imageShow
Image
And mod back chase to add power input.
open to show imageShow
Image
open to show imageShow
Image

This is all ... I'm test it and work very well
open to show imageShow
Image
I need the other pieces to arrive ( common zero ground pcb, battery, charger ...).
My sistem is Lakka, this is light and friendly to use. Link to system -> http://www.lakka.tv/
But i need to mod the system to run in this build. I need to mod script.bin to add tv output on and asound.conf to make analog sound on.
These problem are beacouse the build use hdmi to main video/audio output.

Component list:
  • 3 W + 3 W ZAD8403 Audio amplifer
  • Micro usb 5pin conector
  • Universal 3.5'' TFT LCD
  • GB DMG GBO Chase transparent
  • ATmega32U4 USB Pro Micro 5 V 16 MHz
  • Orange pi Lite
  • Gameboy emtpy card
  • Common zero ground pcb
  • microsd card 28 cm flex extersor
  • Battery 2200 mah
  • Power bank 5v 2a board
I make a custom label for gameboy card :3
open to show imageShow
Image
Sorry for my bad english but i try to do my best. Tank you.

Regards.

snoek09
Posts: 145
Joined: Sat May 20, 2017 3:06 am
Location: Amsterdam, The Netherlands
Has thanked: 48 times
Been thanked: 43 times

Re: Orange Custom Gameboy

Post by snoek09 » Mon Aug 07, 2017 2:02 pm

Nice build! I find it very interesting to see builds using Pi variants.
Does WiFi still work without the antenna?

Hideki
Posts: 2
Joined: Mon Aug 07, 2017 10:27 am
Been thanked: 3 times

Re: Orange Custom Gameboy

Post by Hideki » Tue Aug 08, 2017 2:34 am

snoek09 wrote:
Mon Aug 07, 2017 2:02 pm
Nice build! I find it very interesting to see builds using Pi variants.
Does WiFi still work without the antenna?
Yes, but the range its small. I add the antenna in the top of the case, next to power switch.

I take the post to add a littel manual to configure lakka system in OrangePi Like ( maibe all orangepi suported in lakka )

TV OUT

To tv out work, need mod script.bin with fex2bin bin2fex tools.
Extract fex file:

Code: Select all

bin2fex script.bin script.fex
Edit lines:

Code: Select all

[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 2
screen0_output_mode = 11
screen1_output_type = 2
screen1_output_mode = 11
fb0_format = 0
fb0_width = 0
fb0_height = 0
fb1_format = 0
fb1_width = 0
fb1_height = 0

[hdmi_para]
hdmi_used = 0
hdmi_power = "vcc-hdmi-18"
hdcp_enable = 0

[tv_para]
tv_used = 1
tv_dac_used = 1
tv_dac_src0 = 0
This values work with tv out in pal mode. If u need ntsc, change output_mode to 14.
All configuration explained in this wiki http://linux-sunxi.org/Fex_Guide#disp_i ... figuration

Now, generate again the bin file

Code: Select all

fex2bin script.fex script.bin
And replace the script.bin file in the image of lakka ( fat32 partition ).

SOUND
For sound is more complicated. Need a linux sistem for unpack and repack the SYSTEM image.
Its located in the same location of script.bin ( fat32 partition ). This file is squashfs, u need tools for manage it.

If use Ubuntu, need install this package

Code: Select all

sudo apt-get update && sudo apt-get install squashfs-tools
Now, cut SYSTEM file and paste in some folder u created previusly.
Unpack the file:

Code: Select all

unsquashfs SYSTEM
Now this generate a folder "squashfs-root" with the content of the system.

Need mod asound.conf file located in /etc/asound.conf
Locate the lines

Code: Select all

card sndhdmi
and replace with

Code: Select all

card audiocodec
Save and repack the system image.

Code: Select all

mksquashfs squashfs-root SYSTEM
Now copy to origin location in fat32 partition and the work is done!!.

Thank you and Regards.

snoek09
Posts: 145
Joined: Sat May 20, 2017 3:06 am
Location: Amsterdam, The Netherlands
Has thanked: 48 times
Been thanked: 43 times

Re: Orange Custom Gameboy

Post by snoek09 » Tue Aug 08, 2017 10:24 am

Thanks for sharing! Looking forward to the rest of your build!
Good luck!

User avatar
correia5022
Posts: 202
Joined: Mon Dec 05, 2016 12:32 am
Location: Portugal
Has thanked: 17 times
Been thanked: 38 times

Re: Orange Custom Gameboy

Post by correia5022 » Wed Aug 09, 2017 12:04 am

Very nice.
Did you considered using orange pi zero?
________________________________________
Starting on electronics :)
My first build, 2 years later
https://sudomod.com/forum/viewtopic.php ... 8&start=30
Check out my Boombox: https://nrcboombox.wixsite.com/website

PierreLo
Posts: 22
Joined: Fri Aug 19, 2016 10:25 am
Has thanked: 1 time
Been thanked: 15 times

Re: Orange Custom Gameboy

Post by PierreLo » Fri Jan 19, 2018 4:12 am

Hi there!
I am making such a device and my LCD signal is too bright, when I put the LCD setting for luminosity to the lowest possible it's getting better but still very bright.
Did you had this problem? If so could you solve it?

User avatar
goldnugget345
Posts: 12
Joined: Sat Dec 02, 2017 8:42 pm
Location: Jakarta,Indonesia
Has thanked: 9 times
Been thanked: 2 times

Re: Orange Custom Gameboy

Post by goldnugget345 » Fri Jan 19, 2018 5:13 am

PierreLo wrote:
Fri Jan 19, 2018 4:12 am
Hi there!
I am making such a device and my LCD signal is too bright, when I put the LCD setting for luminosity to the lowest possible it's getting better but still very bright.
Did you had this problem? If so could you solve it?
say no more solder a resistor to the screen power wire,i dont know how many ohms but just try the highest one you can find.
(☞゚ヮ゚)☞ RASPBERRY PI ☜(゚ヮ゚☜)

PierreLo
Posts: 22
Joined: Fri Aug 19, 2016 10:25 am
Has thanked: 1 time
Been thanked: 15 times

Re: Orange Custom Gameboy

Post by PierreLo » Fri Feb 23, 2018 5:26 am

Thanks for your reply, for future reference I found the solution, I added a 50ohm resistor between AV and ground. It fixed the issue.

Opi zero board is missing this resistor that's why there's this problem.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest