MightyPi 1.1 - OrangePi Zero based console

Want to show off your own project? Want to keep a build log of it? Post it here!
Post Reply
wojtekpil
Posts: 3
Joined: Sat Sep 29, 2018 7:34 am
Been thanked: 5 times

MightyPi 1.1 - OrangePi Zero based console

Post by wojtekpil » Sat Sep 29, 2018 8:04 am

Hello! I just created my second handheld game console. Still work in progress but it's working fine right now.

Dimmensions:
H: 23.5 mm, W: 133 mm, L:74 mm

Features:
Custom shell inspired by gpd xd and ndsl,
ON/OFF Push button to power up and down,
Micro USB charging port,
Headphones Audio jack,
External SD card reader at the bottom,
2x back USB port,
1x front micro USB OTG port,
Analog joystick
1x D pad
10x buttons

Components:
☑ Orange Pi Zero 512 MB,
☐ 3.2 inch tft screen with ILI9341 controller,
☑ ADS1115 module board,
☑ set of screws,
☑ dc dc boost converter 5V,
☑ PSP1000 joystick,
☑ heatsink for CPU,
☑ tactile switches,
☑ NDSL buttons,
☑ power switch,
☑ silicone tactile switches,
☑ micro usb battery charger,
☑ 3.7v lipo battery (30x50x10mm, but slimmer would be better),
☐ 30mm slim speaker,
☐ small audio amplifier/ usb sound card,
☐ 3.5mm audio jack,
☐ standard usb port,
☐ small power silide switch,
☐ PCB components

The total cost is about $40.

Software:
For OS I recommend to use a RetroOrangePi distribution, a screen is driven by BBCP library https://github.com/bitbank2/BB-CP, and you can find a code for a matrix keyboard with joystick here: https://gist.github.com/wojtekpil/deaba ... 915e328f7a.

Image

Image

Image

Image

Image

Thingiverse link and more info: https://www.thingiverse.com/thing:3090433

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: MightyPi 1.1 - OrangePi Zero based console

Post by Helder » Sat Sep 29, 2018 11:22 am

Are you using the attiny for the joystick or the ads1015?
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: MightyPi 1.1 - OrangePi Zero based console

Post by VeteranGamer » Sat Sep 29, 2018 12:10 pm

really nice....

also nice to see a Orange Pi used.....

you've manage to get the screen working, and the controls (top marks)


and images of the actually setup to the OrangePi.....
(i appreciate that you've provided a schematic, but to noobs like me images are a lot better)



.

wojtekpil
Posts: 3
Joined: Sat Sep 29, 2018 7:34 am
Been thanked: 5 times

Re: MightyPi 1.1 - OrangePi Zero based console

Post by wojtekpil » Sat Sep 29, 2018 12:30 pm

Helder wrote:
Sat Sep 29, 2018 11:22 am
Are you using the attiny for the joystick or the ads1015?
I an sorry for the confusion. Right now I'm using the ADS1115 with a ported WiringPi library. This is only because I "transplanted" hardware from my older project. I planned to do it using attiny for a few things, including a joystick, a battery measurement and a hall sensor. But it turned out to be a pretty expensive method, especially manufacturing a PCB wider than 10 cm. So right now I'm thinking about using an arduino nano board ($2) with the homemade PCB (photos from my thingiverse page).

Image

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: MightyPi 1.1 - OrangePi Zero based console

Post by VeteranGamer » Sat Sep 29, 2018 12:40 pm

wojtekpil wrote:
Sat Sep 29, 2018 12:30 pm

I an sorry for the confusion. Right now I'm using the ADS1115 with a ported WiringPi library. This is only because I "transplanted" hardware from my older project. I planned to do it using attiny for a few things, including a joystick, a battery measurement and a hall sensor. But it turned out to be a pretty expensive method, especially manufacturing a PCB wider than 10 cm. So right now I'm thinking about using an arduino nano board ($2) with the homemade PCB (photos from my thingiverse page).

Image
whats the exact pinouts you used for the OrangePi to the SPI screen

any images would be great....


a suggestion
(and this is coming from a noob)

why not have two boards manufactured, if you want to avoid paying more for boards larger than 10cm (100mm)
as most of the components and the business end of the board can be at one side...
and at the other end where really only for something like the buttons/dpad are needed can be connected via a ribbon cable

it will still look great....

.

wojtekpil
Posts: 3
Joined: Sat Sep 29, 2018 7:34 am
Been thanked: 5 times

Re: MightyPi 1.1 - OrangePi Zero based console

Post by wojtekpil » Sat Sep 29, 2018 1:03 pm

VeteranGamer wrote:
Sat Sep 29, 2018 12:10 pm
really nice....

also nice to see a Orange Pi used.....

you've manage to get the screen working, and the controls (top marks)


and images of the actually setup to the OrangePi.....
(i appreciate that you've provided a schematic, but to noobs like me images are a lot better)



.
It's quite messy inside:
Image

For SPI screen you can look at this:
Image
You connect lcd to SPI 1 pins: miso, mosi, sclk, cs0 and to two any unused gpios for DC and RESET. It works ok, but sometimes screen goes white. I suspect that's some kind of driver issue of SPI interface (as always with chinese boards, good hardware but crappy software). You can restart bbcp and everyting works fine again, but its annoying. I'm working on a workaround. I can be also problem with chinese lcd driver freezing at 30 Mhz. it happens rarely and only under heavy load, so it can wait until I buy bigger screen.

User avatar
ABH
Posts: 188
Joined: Sat May 28, 2016 7:01 pm
Location: Qatar
Has thanked: 82 times
Been thanked: 113 times

Re: MightyPi 1.1 - OrangePi Zero based console

Post by ABH » Sat Sep 29, 2018 1:50 pm

Thank you that’s really helpful !

User avatar
ThompsonTinkers
Posts: 39
Joined: Sat Jan 28, 2017 9:36 pm
Has thanked: 57 times
Been thanked: 20 times

Re: MightyPi 1.1 - OrangePi Zero based console

Post by ThompsonTinkers » Sat Oct 06, 2018 5:43 pm

I love seeing scratch built consoles here!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest