DIY Raspberry Pi Zero Handheld Game Console (Part 1)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
when it comes to single board computers I think we can all agree that the Raspberry Pi zero of us the most attractive price-performance size ratio so it's no wonder that it gets used in dozens of different projects my favorite one though is a handheld gaming console because who doesn't love retro gaming and in this two-part video series I will present you my take on the popular project so that you can easily create it as well let's get started for starters we need a 8 gigabyte micro SD card which are firstly formatted to its standard settings then I downloaded the retail box operating system from the github page unzipped it at the root directory of the SD card and finally plugged SD card in the pie now it's time for power but such a 5 volt charger is not portable and the micro USB cable is bulky so we might as well use the breakout pins pp 1 4 5 volts and PP 6 foregrounds for portable power I went with 4 classical and a loop nickel metal hydride double-a batteries that will later be placed inside the integrated battery compartment of my hands outs when fully charged those have a voltage of roughly 1 point 4 volts and will be almost completely discharged at a voltage of 1.2 volts and since all of them will be placed in serious we are basically working with wattage is between 5 point 7 volts and 4 point 8 volts which does partly exceed the USB standard voltage so I connected the Raspberry Pi to my lab bench power supply to check whether would work correctly with a given voltage range which it did because the utilized DC DC converter the P a.m. to 306 works with a maximum voltage of 6 point 5 volts but how can we prevent the batteries from over discharge you may ask for that I added a max 667 voltage regulator IC of the main power switch which has a very low dropout voltage and thus can generate a voltage of 4.5 volts by adjusting its set potentiometer this voltage then powers an MCP is 602 rail-to-rail op-amp and also directly connects to one non-inverting input as a reference voltage by adding a potentiometer to the inverting input ascared the 4.8 board's minimum battery voltage to a value of 3.8 volts which means once the battery voltage falls under propionate volts the output of the op-amp turns on since this is basically a comparator configuration the activated outputs then connects to the set pin of a set reset flip-flop clone which was created whuppin are op amp and thus turns on his output as well and holds it high even when the battery voltage increases again this flip-flop outputs now finally activates a NPN transistor and thereby pulls the gate of rlz 44 n MOSFET to ground which now increases its drain to source resistance and thus turns of the Raspberry Pi and only after disconnecting the battery year through the power switch another powerup is possible since this over discharge protection circuit work pretty well I created schematic of its and use the piece of proof board as big as the Raspberry Pi itself to create the circuit more permanently and most importantly as small and flat as possible and now that we have power up we need a display for that I got myself a 3.5 inch rear view monitor which sadly only works before doges above 6 volts which means our battery voltage is too low but luckily after I slowly and carefully remove the case of the LCD I realized that the circuit uses Excel 1 509 ICU to step down the input voltage to 5 volts so I remove this IC here and solar the input wire directly to the output pin 2 and best of all it did work even with wattage is from 4 point 8 volts to 5 point 7 volts but before the first power of the system HDMI compatible screen is still mandatory after the installation was completes I switch the system to Raspberry Pi B because I could plug in my keyboards and Wi-Fi dongle simultaneously without having USB hub plane arounds I used the keyboard to enter the network settings and typed in the excess information for my network after establishing a connection I started the software winscp and locked into the PI as a root user with the passwords recall box root then I opened the command prompt and enter this commands which enables me to edit the configuration file in the boot directory of the system there are edit the hash symbol to all lines that include the word HDMI and activated overscan as well as the SD TV outputs before saving the changes in addition to that we also need to edit the recall box configuration file by simply changing the global dot video modes to defaults now with those changes the raspberry pi 0 can output its video signal through composite video cable and thus we can use the small ralphie LCD next is the audio which the old Raspberry Pi beer offered through a 3.5 millimeter jack but the zero type does not have such a jack instead we need to change the GPIO audio output pins in the configuration file connect pin 13 to RC filter circuits followed by a potentiometer wheel and then finally to the PA m8 403 audio amplifier since the iceo works with voltages from 2.5 to an absolute maximum of 6 volts we can simply connect it to the battery voltage its plus output to a slight switch which connects to a speaker and a 3.5 millimeter jack for headphones and finally the negative outputs to the other side of the speaker and Jack after powering up the system the audio quality year was acceptable so I sold the passive components 2 / 4 and tested it out again but as you might already have noticed the sound is only monel not stereo the reason for that is that we need the other audio GPIO for the controls which we first need to activate in the recall box configuration file but only for player one after rebooting the system the controller acts according to this given representation of the GPIO s so it is basically an act of connecting the individual inputs to grounds to achieve the described action later on though I will be using a perf board with copper strips on which the conductive material of the buttons will press in order to connect the input to ground and thus activate the action and just like that the general structure of the Raspberry Pi handhelds was complete and already works like a charm but for your convenience I created a more easier to follow overall schematic of the system as well stay tuned for part two in which I will house all the components inside the case and bring this project to an end until then don't forget to Like share and subscribe that would be awesome stay creative and I will see you next time
Info
Channel: GreatScott!
Views: 1,591,228
Rating: undefined out of 5
Keywords: raspberry pi, raspberry, pi, zero, gameboy, Gameboy, handheld, game, console, diy, how to, make, project, tutorial, portable, recalbox, retropie, emulation, retro, NiMH, nimh, battery, batteries, over discharge, protection, PAM8403, audio, amp, electronics, greatscott!
Id: _MtN_s4tVK0
Channel Id: undefined
Length: 7min 49sec (469 seconds)
Published: Sun Oct 16 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.