Difference between revisions of "MintyPi V2"
(→Parts List) |
Liltrublmakr (Talk | contribs) m |
||
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[File:minty_pi_green.jpg|right|thumb]] | [[File:minty_pi_green.jpg|right|thumb]] | ||
==Parts List== | ==Parts List== | ||
+ | (Note: some of these are Amazon associate links. They don't cost you anything extra but they do help the site pay for things like hosting) | ||
*'''Altoids tin''' (I don't think size varies between countries, but the ones I've been using are from the US). You can also use the blank tin that Adafruit sells, as it's an exact match in size and shape: https://www.adafruit.com/product/97 | *'''Altoids tin''' (I don't think size varies between countries, but the ones I've been using are from the US). You can also use the blank tin that Adafruit sells, as it's an exact match in size and shape: https://www.adafruit.com/product/97 | ||
*'''Raspberry Pi Zero W''' (the older non-W version will work fine, but wifi is very nice to have for transferring roms and SSHing into it to tweak settings, since the USB port is taken up by the sound card): https://www.raspberrypi.org/products/raspberry-pi-zero-w/ | *'''Raspberry Pi Zero W''' (the older non-W version will work fine, but wifi is very nice to have for transferring roms and SSHing into it to tweak settings, since the USB port is taken up by the sound card): https://www.raspberrypi.org/products/raspberry-pi-zero-w/ | ||
*'''MicroSD Card''' Pretty much any card will do. Nicer ones may boot a little faster. The minimum size for the pre-made RetroPie image will be 4GB, so anything that size or above should work fine. You can fit a lot more retro games on a 16GB card than you'd think, so don't feel like you need to go crazy and buy a 128GB card. | *'''MicroSD Card''' Pretty much any card will do. Nicer ones may boot a little faster. The minimum size for the pre-made RetroPie image will be 4GB, so anything that size or above should work fine. You can fit a lot more retro games on a 16GB card than you'd think, so don't feel like you need to go crazy and buy a 128GB card. | ||
− | *'''3D-printed parts to hold everything in place''' | + | *'''3D-printed parts to hold everything in place''': http://market.sudomod.com/mintypi-3d-printed-parts-set/ (STL files are linked to further down this page) |
− | *'''Screen''': either the 2.4" screen with custom PCB that Helder will have available soon (http://market.sudomod.com/mintypi-screen-and-button-pcb-set/), or a 2.2" | + | *'''Screen''': either the 2.4" screen with custom PCB that Helder will have available soon (http://market.sudomod.com/mintypi-screen-and-button-pcb-set/), or a 2.2" ILI9341-based SPI TFT screen [http://www.ebay.com/itm/252135075697 like this one] (It should look identical to this one on the back. You may be able to find cheaper sellers. There is a thread for discussing screen options here: http://sudomod.com/forum/viewtopic.php?f=30&t=2887). |
− | http://www.ebay.com/itm/252135075697 (It should look identical to this one on the back. You may be able to find cheaper sellers. There is a thread for discussing screen options here: http://sudomod.com/forum/viewtopic.php?f=30&t=2887). | + | *'''USB sound card''' [https://www.amazon.com/gp/product/B01CZQAIB2/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B01CZQAIB2&linkCode=as2&tag=sudomod-20&linkId=f237de06019d365952445d9a2d9cdd41 This one specifically] because of its size and the fact that it puts out enough juice to not need a separate amp to drive a tiny speaker -- again you may be able to find a cheaper seller. |
− | *'''USB sound card''' | + | |
*'''Speaker''': 20mm diameter 0.5W 8Ohm (this is the one I used, but any 20mm speaker that is 3.5mm or less in thickness should work: http://www.ebay.com/itm/122331730209 ) | *'''Speaker''': 20mm diameter 0.5W 8Ohm (this is the one I used, but any 20mm speaker that is 3.5mm or less in thickness should work: http://www.ebay.com/itm/122331730209 ) | ||
− | *''' | + | *'''Battery charger''': [https://www.amazon.com/gp/product/B01LZSC7I8/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B01LZSC7I8&linkCode=as2&tag=sudomod-20&linkId=3855b75e979c5ac6b33ec8b1782c6761 Either this one] or Adafruit's microLipo |
*'''Battery''': 1200mAh lipo from Adafruit: https://www.adafruit.com/product/258 | *'''Battery''': 1200mAh lipo from Adafruit: https://www.adafruit.com/product/258 | ||
− | *'''DS Lite buttons and conductive pads''' (DSi, 3DS and n3DS will NOT work with the 3d-printed parts or the button PCB | + | Dimensions: 34mm x 62mm x 5mm / 1.3" x 2.4" x 0.2" |
+ | *'''DS Lite buttons and conductive pads''' (DSi, 3DS and n3DS will NOT work with the 3d-printed parts or the button PCB). Black and white buttons available here: http://market.sudomod.com/ds-lite-buttons-for-mintypi/ | ||
*'''Power switch''': (I used this one since it's available locally for really cheap, but any tiny switch should do: https://www.adafruit.com/product/805) | *'''Power switch''': (I used this one since it's available locally for really cheap, but any tiny switch should do: https://www.adafruit.com/product/805) | ||
+ | Dimensions: 0.45"L x 0.16"W x 0.24"D | ||
*'''Tactile switches''': 2 for start and select - these 2 will be pre-attached to Helder's board - (2.5mm tall including the actual button, 2mm tall without, 6.2mm x 6.2mm base), and 2 for L/R (5mm tall including the actual button, 3.2mm tall without, 6.2 x 6.2mm base) | *'''Tactile switches''': 2 for start and select - these 2 will be pre-attached to Helder's board - (2.5mm tall including the actual button, 2mm tall without, 6.2mm x 6.2mm base), and 2 for L/R (5mm tall including the actual button, 3.2mm tall without, 6.2 x 6.2mm base) | ||
− | *'''Screws''': 3 sizes of m2 screws: 4x3mm, 4x8mm, and 6x4mm | + | *'''Screws''': 3 sizes of m2 screws: 4x3mm, 4x8mm, and 6x4mm -- you can buy just the screws you need [http://market.sudomod.com/mintypi-screw-set/ here] or a big box of a ton of screws (including the sizes needed) [https://www.amazon.com/RION-TECH-Notebook-Computer-Samsung/dp/B072NZY69F/ref=as_sl_pc_qf_sp_asin_til?tag=sudomod-20&linkCode=w00&linkId=299deb40e99b11ef137757051fed13e6&creativeASIN=B072NZY69F here] |
+ | *'''Some strong double-sided tape''' to attach the screen to the tin. [https://www.amazon.com/3M-Scotch-4905-VHB-Tape/dp/B00CC46XY4/ref=as_sl_pc_qf_sp_asin_til?tag=sudomod-20&linkCode=w00&linkId=b440ea5495a7a7c952f6ecafbe63c222&creativeASIN=B00CC46XY4 VHB tape from 3M] works very well, but be careful, it's so strong that you will likely damage your tin or 3d-printed parts if you try to remove it. | ||
+ | *'''Wire''': Silicone-coated wire works great because it is incredibly flexible and heat-resistant (nice for soldering). I use [https://www.amazon.com/Striveday-Flexible-Silicone-electronic-electrics/dp/B01KQ2JNLI/ref=as_sl_pc_qf_sp_asin_til?tag=sudomod-20&linkCode=w00&linkId=e86845ad9f97c3375abcd70797e315c0&creativeASIN=B01KQ2JNLI 30AWG wire] for things like the sound card, L/R buttons, etc. and [https://www.amazon.com/Striveday-Flexible-Silicone-electronic-electrics/dp/B01KQ2NURG/ref=as_sl_pc_tf_til?tag=sudomod-20&linkCode=w00&linkId=ef746329807481015b94063db87713e4&creativeASIN=B01KQ2NURG 26AWG wire] for power/ground. | ||
*If you want to do it all by hand in stead of using a button PCB, then some copper tape like this: https://www.amazon.com/Copper-Conductive-Adhesive-4inch-36yards/dp/B01CH4LYZ6/ | *If you want to do it all by hand in stead of using a button PCB, then some copper tape like this: https://www.amazon.com/Copper-Conductive-Adhesive-4inch-36yards/dp/B01CH4LYZ6/ | ||
+ | *If you want to add a heat barrier/diffuser between your battery and the Raspberry Pi (I did as a precaution on an overclocked Pi 0 W), I used a square of [https://www.amazon.com/gp/product/B01N9HGKR1/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B01N9HGKR1&linkCode=as2&tag=sudomod-20&linkId=2909d77aade1d294f0652e82c7cb770f this silicone thermal pad] | ||
==Software== | ==Software== | ||
+ | |||
+ | '''The pre-made RetroPie image can be downloaded here: https://www.mediafire.com/file/1w88746v48lg73q/mintyPi_v4.img.zip''' | ||
+ | |||
+ | It is a fresh install of RetroPie 4.3, with the screen, controls, and sound already set up for you. It also has a few other tweaks, like the Carbon theme tweaked with a larger font size, some services disabled for faster startup (notably Samba), button shortcuts set up for adjusting volume (Select + L/R), as well as RetroPie menu options for enabling/disabling Wifi/Bluetooth. It even has a nice splash screen animation preconfigured from AJRedfern on the forums. | ||
+ | |||
+ | The software that comes installed on it (aside from RetroPie) is: | ||
*RetroPie (the Raspian-based bundle of emulators and frontend we know and love): https://retropie.org.uk/ | *RetroPie (the Raspian-based bundle of emulators and frontend we know and love): https://retropie.org.uk/ | ||
*fbtft (SPI screen driver): https://github.com/notro/fbtft/wiki/LCD-Modules | *fbtft (SPI screen driver): https://github.com/notro/fbtft/wiki/LCD-Modules | ||
*fbcp (copies the framebuffer to an SPI/GPIO screen): https://github.com/tasanakorn/rpi-fbcp | *fbcp (copies the framebuffer to an SPI/GPIO screen): https://github.com/tasanakorn/rpi-fbcp | ||
*Retrogame (turns GPIO into keyboard input): https://github.com/adafruit/Adafruit-Retrogame | *Retrogame (turns GPIO into keyboard input): https://github.com/adafruit/Adafruit-Retrogame | ||
+ | *rfkill: https://wireless.wiki.kernel.org/en/users/Documentation/rfkill | ||
+ | |||
+ | '''Setup Script''' | ||
+ | |||
+ | THIS IS OUT OF DATE. I'll update it soon. | ||
+ | |||
+ | The setup script used to create the pre-made image above can be downloaded here: http://www.mediafire.com/file/ylpr3vzwyons1dp/mintyPi_setup.zip | ||
+ | |||
+ | To use it, extract the zip file into your /boot folder. You should then have a /boot/mintyPi folder, as well as a /boot/wpa_supplicant.conf file. | ||
+ | |||
+ | To run the script, first setup your wifi by entering your SSID and network password into the wpa_supplicant.conf file from a desktop computer, then insert the SD card into your pi and boot it up. If you already have your wifi set up on your pi, you can skip this. | ||
− | + | Then, on the Pi itself, navigate to /boot/mintyPi folder in the terminal, and run 'sudo ./setup.sh'. That's it! It should set everything up for you, and reboot when it's done. Again, make sure you have network access when you run it. | |
==FAQ== | ==FAQ== | ||
Line 29: | Line 51: | ||
Yes 👏 it 👏 has 👏 L 👏 and 👏 R 👏 buttons. | Yes 👏 it 👏 has 👏 L 👏 and 👏 R 👏 buttons. | ||
'''Where are the STL files?''' | '''Where are the STL files?''' | ||
− | + | Right here: http://www.mediafire.com/file/a8f0bxyggr4rpb8/mintyPi_stl_files.zip | |
− | '''Can I use a 2.4" screen on a board, like the 2.2" version?''' | + | Updated STL files with a screwless bezel are here: http://www.mediafire.com/file/ye4laaaiayaan7o/mintyPi_updated_stl_files.zip |
− | No, the board is too wide, even if you were to chop off the corners. | + | '''Can I use Barkleys Mints in stead of Altoids?''' |
+ | Yes, in fact someone on the forums did just that: http://www.sudomod.com/forum/viewtopic.php?f=32&t=3942 | ||
+ | '''Can I use a 2.4" screen on a red board from ebay, like the 2.2" version?''' | ||
+ | No, the board is too wide, even if you were to chop off the corners. That's why Helder's custom board is nice - it lets us fit a 2.4" screen in there easily. | ||
'''Can you get to the SD card?''' | '''Can you get to the SD card?''' | ||
Not easily, no; you'd have to remove a few screws and lift out the bottom portion of the tin. | Not easily, no; you'd have to remove a few screws and lift out the bottom portion of the tin. |
Latest revision as of 02:25, 3 May 2019
Contents
Parts List
(Note: some of these are Amazon associate links. They don't cost you anything extra but they do help the site pay for things like hosting)
- Altoids tin (I don't think size varies between countries, but the ones I've been using are from the US). You can also use the blank tin that Adafruit sells, as it's an exact match in size and shape: https://www.adafruit.com/product/97
- Raspberry Pi Zero W (the older non-W version will work fine, but wifi is very nice to have for transferring roms and SSHing into it to tweak settings, since the USB port is taken up by the sound card): https://www.raspberrypi.org/products/raspberry-pi-zero-w/
- MicroSD Card Pretty much any card will do. Nicer ones may boot a little faster. The minimum size for the pre-made RetroPie image will be 4GB, so anything that size or above should work fine. You can fit a lot more retro games on a 16GB card than you'd think, so don't feel like you need to go crazy and buy a 128GB card.
- 3D-printed parts to hold everything in place: http://market.sudomod.com/mintypi-3d-printed-parts-set/ (STL files are linked to further down this page)
- Screen: either the 2.4" screen with custom PCB that Helder will have available soon (http://market.sudomod.com/mintypi-screen-and-button-pcb-set/), or a 2.2" ILI9341-based SPI TFT screen like this one (It should look identical to this one on the back. You may be able to find cheaper sellers. There is a thread for discussing screen options here: http://sudomod.com/forum/viewtopic.php?f=30&t=2887).
- USB sound card This one specifically because of its size and the fact that it puts out enough juice to not need a separate amp to drive a tiny speaker -- again you may be able to find a cheaper seller.
- Speaker: 20mm diameter 0.5W 8Ohm (this is the one I used, but any 20mm speaker that is 3.5mm or less in thickness should work: http://www.ebay.com/itm/122331730209 )
- Battery charger: Either this one or Adafruit's microLipo
- Battery: 1200mAh lipo from Adafruit: https://www.adafruit.com/product/258
Dimensions: 34mm x 62mm x 5mm / 1.3" x 2.4" x 0.2"
- DS Lite buttons and conductive pads (DSi, 3DS and n3DS will NOT work with the 3d-printed parts or the button PCB). Black and white buttons available here: http://market.sudomod.com/ds-lite-buttons-for-mintypi/
- Power switch: (I used this one since it's available locally for really cheap, but any tiny switch should do: https://www.adafruit.com/product/805)
Dimensions: 0.45"L x 0.16"W x 0.24"D
- Tactile switches: 2 for start and select - these 2 will be pre-attached to Helder's board - (2.5mm tall including the actual button, 2mm tall without, 6.2mm x 6.2mm base), and 2 for L/R (5mm tall including the actual button, 3.2mm tall without, 6.2 x 6.2mm base)
- Screws: 3 sizes of m2 screws: 4x3mm, 4x8mm, and 6x4mm -- you can buy just the screws you need here or a big box of a ton of screws (including the sizes needed) here
- Some strong double-sided tape to attach the screen to the tin. VHB tape from 3M works very well, but be careful, it's so strong that you will likely damage your tin or 3d-printed parts if you try to remove it.
- Wire: Silicone-coated wire works great because it is incredibly flexible and heat-resistant (nice for soldering). I use 30AWG wire for things like the sound card, L/R buttons, etc. and 26AWG wire for power/ground.
- If you want to do it all by hand in stead of using a button PCB, then some copper tape like this: https://www.amazon.com/Copper-Conductive-Adhesive-4inch-36yards/dp/B01CH4LYZ6/
- If you want to add a heat barrier/diffuser between your battery and the Raspberry Pi (I did as a precaution on an overclocked Pi 0 W), I used a square of this silicone thermal pad
Software
The pre-made RetroPie image can be downloaded here: https://www.mediafire.com/file/1w88746v48lg73q/mintyPi_v4.img.zip
It is a fresh install of RetroPie 4.3, with the screen, controls, and sound already set up for you. It also has a few other tweaks, like the Carbon theme tweaked with a larger font size, some services disabled for faster startup (notably Samba), button shortcuts set up for adjusting volume (Select + L/R), as well as RetroPie menu options for enabling/disabling Wifi/Bluetooth. It even has a nice splash screen animation preconfigured from AJRedfern on the forums.
The software that comes installed on it (aside from RetroPie) is:
- RetroPie (the Raspian-based bundle of emulators and frontend we know and love): https://retropie.org.uk/
- fbtft (SPI screen driver): https://github.com/notro/fbtft/wiki/LCD-Modules
- fbcp (copies the framebuffer to an SPI/GPIO screen): https://github.com/tasanakorn/rpi-fbcp
- Retrogame (turns GPIO into keyboard input): https://github.com/adafruit/Adafruit-Retrogame
- rfkill: https://wireless.wiki.kernel.org/en/users/Documentation/rfkill
Setup Script
THIS IS OUT OF DATE. I'll update it soon.
The setup script used to create the pre-made image above can be downloaded here: http://www.mediafire.com/file/ylpr3vzwyons1dp/mintyPi_setup.zip
To use it, extract the zip file into your /boot folder. You should then have a /boot/mintyPi folder, as well as a /boot/wpa_supplicant.conf file.
To run the script, first setup your wifi by entering your SSID and network password into the wpa_supplicant.conf file from a desktop computer, then insert the SD card into your pi and boot it up. If you already have your wifi set up on your pi, you can skip this.
Then, on the Pi itself, navigate to /boot/mintyPi folder in the terminal, and run 'sudo ./setup.sh'. That's it! It should set everything up for you, and reboot when it's done. Again, make sure you have network access when you run it.
FAQ
Does it have L/R buttons?
Yes 👏 it 👏 has 👏 L 👏 and 👏 R 👏 buttons.
Where are the STL files?
Right here: http://www.mediafire.com/file/a8f0bxyggr4rpb8/mintyPi_stl_files.zip Updated STL files with a screwless bezel are here: http://www.mediafire.com/file/ye4laaaiayaan7o/mintyPi_updated_stl_files.zip
Can I use Barkleys Mints in stead of Altoids?
Yes, in fact someone on the forums did just that: http://www.sudomod.com/forum/viewtopic.php?f=32&t=3942
Can I use a 2.4" screen on a red board from ebay, like the 2.2" version?
No, the board is too wide, even if you were to chop off the corners. That's why Helder's custom board is nice - it lets us fit a 2.4" screen in there easily.
Can you get to the SD card?
Not easily, no; you'd have to remove a few screws and lift out the bottom portion of the tin.
How will you put ROMs on it without access to the SD card?
This is why the Pi Zero W is so nice - it has built-in wifi, so you can transfer files and update settings that way.
How much does this cost?
Depends where you buy your parts. You can use the links in the parts list as a starting point and may be able to save a few bucks by looking around for better prices.
Can a 2000mAh battery fit in there?
Not the Adafruit one, no. If you increase the height of the bottom area of the tin very much at all then your buttons will be pressing against the screen, and that's not good.
Can I just buy a pre-made one?
I (wermy) will likely have a few for sale, but not many. I'm sure there will be others selling a few pre-made ones here and there as well, just like the Game Boy Zero.
Is there room for analog sticks?
Probably not, and would require finding something other than Retrogame for the input (it just spits out keyboard keys given some GPIO pin input, which of course wouldn't work well with analog sticks).
Is there room for a headphone jack?
You'd need one that could switch the speaker off when you plug it in, like with the GBZ. I doubt there is enough room for one like that.
How do you control the volume?
You can control the volume while inside a game by pressing select + L/R.