Difference between revisions of "MintyPi V2"

From sudomod
Jump to: navigation, search
(Parts List)
(Parts List)
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 affiliate 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''' (I'll have those available soon. STL files will be available at some point in the future): http://market.sudomod.com/mintypi-3d-printed-parts-set/
 
*'''3D-printed parts to hold everything in place''' (I'll have those available soon. STL files will be available at some point in the future): http://market.sudomod.com/mintypi-3d-printed-parts-set/
*'''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" ILI9340-based SPI TFT screen like this one:
+
*'''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).
+
 
*'''[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 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)
 
*'''[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 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 )
 
*'''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 )
*'''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 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 that we're working on. I will have white and black buttons available.): http://market.sudomod.com/ds-lite-buttons-for-mintypi/
 
*'''DS Lite buttons and conductive pads''' (DSi, 3DS and n3DS will NOT work with the 3d-printed parts or the button PCB that we're working on. I will have white and black buttons available.): http://market.sudomod.com/ds-lite-buttons-for-mintypi/
Line 16: Line 16:
 
*'''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]
 
*'''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.
 
*'''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/
  

Revision as of 16:20, 14 September 2017

Minty pi green.jpg

Parts List

(Note: some of these are Amazon affiliate 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 (I'll have those available soon. STL files will be available at some point in the future): http://market.sudomod.com/mintypi-3d-printed-parts-set/
  • 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
  • DS Lite buttons and conductive pads (DSi, 3DS and n3DS will NOT work with the 3d-printed parts or the button PCB that we're working on. I will have white and black buttons available.): 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)
  • 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/

Software

The pre-made RetroPie image can be downloaded here: http://www.mediafire.com/file/mx8a9rdq5dild36/mintyPi_v3.img.zip

It is a fresh install of RetroPie 4.2, 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:

Setup Script

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://sudomod.com/forum/viewtopic.php?f=30&t=3181

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 board, like the 2.2" version?

 No, the board is too wide, even if you were to chop off the corners.

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.

Misc Links