Gameboy Mk3 - RPi3 + DPI screen + RTC diy [Completed!]

Show off your completed Game Boy Zero, or post your build logs here!
User avatar
Helder
Trailblazer
Trailblazer
Posts: 2810
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1420 times
Been thanked: 3081 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by Helder » Wed Dec 20, 2017 2:51 am

razer.93 wrote:
Sun Dec 17, 2017 1:36 pm
It works!
2017-12-17 21.35.25.jpg
What was the pinout and the LCD model? You probably already posted this info but I kind of skimmed through the thread.
My Sale Threads:

Retro PSU, 3.5A output!


Chat with me and other members


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

razer.93
Posts: 56
Joined: Sun Apr 02, 2017 3:21 pm
Has thanked: 7 times
Been thanked: 39 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by razer.93 » Wed Dec 20, 2017 3:12 am

Helder wrote:
Wed Dec 20, 2017 2:51 am
razer.93 wrote:
Sun Dec 17, 2017 1:36 pm
It works!
2017-12-17 21.35.25.jpg
What was the pinout and the LCD model? You probably already posted this info but I kind of skimmed through the thread.
LQ035NC111, I used the dpi18 dtoverlay pinout

User avatar
tinkerBOY
Posts: 702
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 200 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by tinkerBOY » Fri Dec 22, 2017 7:42 am

razer.93 wrote:
Wed Dec 06, 2017 1:20 am
moooarcuuuus wrote:
Wed Dec 06, 2017 1:10 am
Nope, so far there is only the idea. I use Kites SAIO (viewtopic.php?f=38&t=3295). His overlay osd is currently only a binary file. The I2c pins on the 32u4 can be used for the RTC and the epochtime can send one time via serial to the pi.
Yes, that was the plan! I have already wrote the script for the serial battery monitor and rtc. What about the keep alive pin? Can we use the activity led for example and redirect the power off overlay to that pin? In that way I could use a full 24bit color dpi screen..
Anyone knows if there is a 'correft' way to wire a digital pot to a boost converter for the screen backlight?
Check this https://raspberrypi.stackexchange.com/q ... -led-again

It's gonna be tough to make a full 24bit with those parts. I tried it, sometimes it works sometimes not. Im not really sure. Maybe because all those wires. And for that i think you need a custom pcb.

Good luck! Looking forward on how you do the rtc.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

razer.93
Posts: 56
Joined: Sun Apr 02, 2017 3:21 pm
Has thanked: 7 times
Been thanked: 39 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by razer.93 » Fri Dec 22, 2017 9:31 am

tinkerBOY wrote:
Fri Dec 22, 2017 7:42 am
razer.93 wrote:
Wed Dec 06, 2017 1:20 am
moooarcuuuus wrote:
Wed Dec 06, 2017 1:10 am
Nope, so far there is only the idea. I use Kites SAIO (viewtopic.php?f=38&t=3295). His overlay osd is currently only a binary file. The I2c pins on the 32u4 can be used for the RTC and the epochtime can send one time via serial to the pi.
Yes, that was the plan! I have already wrote the script for the serial battery monitor and rtc. What about the keep alive pin? Can we use the activity led for example and redirect the power off overlay to that pin? In that way I could use a full 24bit color dpi screen..
Anyone knows if there is a 'correft' way to wire a digital pot to a boost converter for the screen backlight?
Check this https://raspberrypi.stackexchange.com/q ... -led-again

It's gonna be tough to make a full 24bit with those parts. I tried it, sometimes it works sometimes not. Im not really sure. Maybe because all those wires. And for that i think you need a custom pcb.

Good luck! Looking forward on how you do the rtc.
Thanks for the feedback!
At the moment I'm ok with the 18bit setup as I think there's no much loss in color depth dealing with emulators. Furthermore I'm using more than 1 GPIO pin in order to handle RTC (I'm using DS3231 RTC module and there's a specific dtoverlay for enabling i2c on any gpio via software, so very easy!), and a bunch of leds.
These days I'm gonna wire the audio and finish it up!

User avatar
fdeluxe
Posts: 71
Joined: Tue Aug 23, 2016 10:16 am
Has thanked: 12 times
Been thanked: 27 times
Contact:

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by fdeluxe » Fri Dec 22, 2017 3:28 pm

Have you finished the dimming feature? I would highly recommend using the contrast wheel to dimm the screen. Adds a lot to the Gameboy feeling. Since you already use a arduino its no problem to send different pot values as keypresses and assign them as hotkeys with triggerhappy. That's how I did it and I am really satisfied. It even remembers the last brightness value when booting by reading it from a file. I would happily share my code with you. It would be necessary that you use PWM to control the backlight driver.

razer.93
Posts: 56
Joined: Sun Apr 02, 2017 3:21 pm
Has thanked: 7 times
Been thanked: 39 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by razer.93 » Sat Dec 23, 2017 3:41 pm

fdeluxe wrote:
Fri Dec 22, 2017 3:28 pm
Have you finished the dimming feature? I would highly recommend using the contrast wheel to dimm the screen. Adds a lot to the Gameboy feeling. Since you already use a arduino its no problem to send different pot values as keypresses and assign them as hotkeys with triggerhappy. That's how I did it and I am really satisfied. It even remembers the last brightness value when booting by reading it from a file. I would happily share my code with you. It would be necessary that you use PWM to control the backlight driver.
I have wired it, I miss the arduino code to drive it. Unfortunately I don't have space for another pot, the contrast port is occupied by hdmi! At the moment I'm controlling the brightness via mod key plus up and down controls. I also have to write a decent OSD.
As soon as I write the code I'll release a git repo.
Today I wired the audio I'm gonna finish it tomorrow, stay tuned!

razer.93
Posts: 56
Joined: Sun Apr 02, 2017 3:21 pm
Has thanked: 7 times
Been thanked: 39 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by razer.93 » Wed Dec 27, 2017 4:51 am

Finished!
These are the last internals:
internals.jpg
internals.jpg (225.07 KiB) Viewed 2107 times
I know, it looks like a mess but there are a LOT of connections (I also doubled the power wires, just to be safe)...
Believe me it could be worse :shock: :shock:
From left to right you can see:
- volume pot
- RTC module (under the pot)
- DPI screen (rewired and cleaned up, under the hood)
- Arduino micro which includes:
---- keys
---- battery meter
---- in charge/full control lines
---- brightness control
---- USB connection to the Pi
- Speaker
- Reset button
- Audio jack
- Audio AMP
- The Pi of course

On the right side:
- Switch with keep alive/shutdown pin
- MOD button on the left of the case
- Personal DIY graceful shutdown circuit
- Mosfet current measure switch
- L/R buttons
- Powerboost
- DIY Boost converter/Current limiter for backlight (dimmable using MOD + arrows)
- External LEDs
- External USB
- Charge USB

More pictures later :D

User avatar
tinkerBOY
Posts: 702
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 200 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by tinkerBOY » Wed Dec 27, 2017 5:16 am

I like the creativity behind the brightness control. Is the shutdown circuit dependent on the powerboost?
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

razer.93
Posts: 56
Joined: Sun Apr 02, 2017 3:21 pm
Has thanked: 7 times
Been thanked: 39 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by razer.93 » Wed Dec 27, 2017 5:22 am

tinkerBOY wrote:
Wed Dec 27, 2017 5:16 am
I like the creativity behind the brightness control. Is the shutdown circuit dependent on the powerboost?
The shutdown circuit is that little spot near the powerboost and it's a separate thing, it actually controls the power flow from the powerboost to all the circuits. It's dependant on the powerboost in the sense that it's designed for it but the mechanism is quite standard

razer.93
Posts: 56
Joined: Sun Apr 02, 2017 3:21 pm
Has thanked: 7 times
Been thanked: 39 times

Re: Gameboy Mk3 - RPi3 + DPI screen + RTC diy [WIP]

Post by razer.93 » Thu Dec 28, 2017 2:41 pm

Here it is:
1.jpg
1.jpg (196.72 KiB) Viewed 2055 times
other picsShow
2.jpg
2.jpg (130.69 KiB) Viewed 2055 times
3.jpg
3.jpg (162.16 KiB) Viewed 2055 times
4.jpg
4.jpg (161.34 KiB) Viewed 2055 times
5.jpg
5.jpg (129.96 KiB) Viewed 2055 times
hdmi.jpg
hdmi.jpg (166.66 KiB) Viewed 2055 times
Completed with adapded/modified OSD, key shortcuts and automatic/hot-plug HDMI clone script (automatically detects when cabe is inserted).
Thank you all for the support!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest