Page 1 of 1

Orange Custom Gameboy

Posted: Mon Aug 07, 2017 11:02 am
by Hideki
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.

Re: Orange Custom Gameboy

Posted: Mon Aug 07, 2017 2:02 pm
by snoek09
Nice build! I find it very interesting to see builds using Pi variants.
Does WiFi still work without the antenna?

Re: Orange Custom Gameboy

Posted: Tue Aug 08, 2017 2:34 am
by Hideki
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.

Re: Orange Custom Gameboy

Posted: Tue Aug 08, 2017 10:24 am
by snoek09
Thanks for sharing! Looking forward to the rest of your build!
Good luck!

Re: Orange Custom Gameboy

Posted: Wed Aug 09, 2017 12:04 am
by correia5022
Very nice.
Did you considered using orange pi zero?

Re: Orange Custom Gameboy

Posted: Fri Jan 19, 2018 4:12 am
by PierreLo
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?

Re: Orange Custom Gameboy

Posted: Fri Jan 19, 2018 5:13 am
by goldnugget345
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.

Re: Orange Custom Gameboy

Posted: Fri Feb 23, 2018 5:26 am
by PierreLo
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.