Mini Mac Pi. Created by Ruiz Brothers. Last updated on :43:27 PM UTC

Similar documents
Portable Apple Watch Charger

7 Portable Multitouch Raspberry Pi Tablet

3D Printed 20w Amplifier Box

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

7" Portable HDMI Monitor

3D Printed 20w Amplifier Box

Trinket NeoPixel LED Longboard

FPV Mini Display. Created by Ruiz Brothers. Last updated on :00:18 PM UTC

3D Printed Bone Conduction Transducer Box

3D Printed Camera LED Ring

Solar Boost Bag. Created by Becky Stern. Last updated on :44:55 PM UTC

3D Printed LED Knuckle Jewelry

Trellis 3D Printed Enclosure

3D Printed Case for Adafruit Feather

LED Eyes. Created by Ruiz Brothers. Last updated on :50:55 AM UTC

Bluetooth Controlled NeoPixel Headphones

3D Printed Google AIY Voice Kit

NeoPixel Bike Light. Created by Ruiz Brothers. Last updated on :43:46 PM UTC

Simple LED Unicorn Horn

Circuit Playground Yoyo

Boomy The Boombox. Created by Ruiz Brothers. Last updated on :52:13 PM UTC

Circuit Playground Combadge

DIY Bluetooth Gamepad

PyPortal View Master Created by Ruiz Brothers. Last updated on :51:28 AM UTC

Raspberry Pi Pipboy 3000

Neon LED Signs. Created by John Park. Last updated on :11:09 PM UTC

Guardian Shield+ Zelda Breath of the Wild

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

3D Printed LED Buckle

Webcam Cover-Up Lego brick with Adabot Mini Fig

Ultrasonic Ruler. Created by Ruiz Brothers. Last updated on :08:28 PM UTC

Raspberry Pi Selfie Bot

Lie Ren's Stormflower Gun Blade

PiGRRL 2. Created by Ruiz Brothers. Last updated on :41:35 AM UTC

Pocket PiGRRL. Created by Ruiz Brothers. Last updated on :47:31 PM UTC

Bunny Ears with MakeCode

NeoPixel Ring Bangle Bracelet

Mystical LED Halloween Hood

Audio Prank Gift Box. Created by Becky Stern. Last updated on :46:15 PM UTC

Fiddy - the FTDI Clip

Glowing Smokey Skull. Created by Ruiz Brothers. Last updated on :03:40 PM UTC

Phone-Activated Talking Dog Collar

Fiddy - the FTDI Clip

Adafruit Prototyping Pi Plate. Created by Ladyada

Cup o' Sound. Created by Becky Stern. Last updated on :30:06 PM EST

Desktop Fume Extractor

Clockwork Goggles. Created by John Park. Last updated on :03:10 PM UTC

Adafruit Capacitive Touch Sensor Breakouts

Tent Lantern. Created by Timothy Reese. Last updated on :17:25 AM UTC

Adafruit PowerBoost 500 Shield

3DPrinted Custom Keycaps

BLE Light Switch with Feather nrf52840 and Crickit

Infinity Mirror Valentine's Candy Box

Adafruit MPRLS Ported Pressure Sensor Breakout

Solder Dispenser Adabot Head

Reindeer Mask with Animated Eyes

Toy Car Speed Timer. Created by Kirby Griese. Last updated on :13:49 PM UTC

Bluetooth LE MIDI Controller

CircuitPython Media Dial

3D Printed LED Goggles

3D Printed Daft Punk Helmet with Bluetooth

AdaBox 005. Created by Tyler Cooper. Last updated on :08:13 PM UTC

Con Badge with Circuit Playground Express

Adafruit Pi Cobbler Kit

Interactive Gift Box. Created by codingpro. Last updated on :47:40 AM UTC

No-Sew LED Wristband. Created by Kathy Ceceri. Last updated on :23:40 PM UTC

Bandolier of Light. Created by Becky Stern. Last updated on :16:17 PM EST

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Zelda Thunder Helm. Created by Ruiz Brothers. Last updated on :46:52 PM UTC

Overwatch Prop Gun: Lucio's Blaster Pt. 3

DIY Custom American Girl Doll Prosthetics

NeoPixel LED Cortana Costume

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

Sword & Wand Prop Effects with Circuit Playground

Adafruit DRV2605 Haptic Controller Breakout

3D Printed Camera Tripod Adapter for Telescope

Adafruit AMG8833 8x8 Thermal Camera Sensor

Adafruit GPS Hat in Windows IoT Core

Milk Jug Glow Skull. Created by John Park. Last updated on :28:36 PM UTC

Learning with LEDs. Created by Rick Winscot. Last updated on :39:11 PM UTC

Luminous LED Flowers. Created by Becky Stern. Last updated on :47:44 PM UTC

MiniPOV4 - DIY Full-Color Persistence of Vision & Light-Painting Kit

Naughty or Nice Machine

Mad Science Test Tube Rack

NeoPixel Manicure. Created by Sophy Wong. Last updated on :50:38 PM UTC

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

TRON Bag. Created by Becky Stern

Magnetic shoelaces. Created by Ruiz Brothers. Last updated on :31:02 PM UTC

Circuit Playground Express Head-Tilt Ears

Camera LED Ring Light

'Sup Brows. Created by Kate Hartman. Last updated on :52:04 PM UTC

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :42:16 PM UTC

Motion-Activated Solder Fume Extractor With Lamp

Adafruit Mini TFT " 160x80

Trinket-Powered Conference Room Occupancy Display

Punk LED Collar. Created by Becky Stern. Last updated on :02:45 PM EST

Ping Pong Ball Launcher

Android GBoard Morse Code Control with Circuit Playground Express

Chirping Plush Owl Toy

FLORA Pixel Brooch. Created by Becky Stern. Last updated on :19:07 PM EST

Transcription:

Mini Mac Pi Created by Ruiz Brothers Last updated on 2018-08-22 03:43:27 PM UTC

Guide Contents Guide Contents Overview Build Your Own Mac Pi How it Works Project Advisory Challenges and Expectations Prerequisite Guides Parts & Components Tools & Supplies 3D Printing FDM 3D Printing Parts Breakdown PLA or ABS? Slicer Settings Don't Have a 3D Printer? Customization Like Modding CAD? Learning How-to use 123D Design Using Different Components Colors and Branding Circuit Diagram Power Circuit for the Raspberry Pi Model B Speakers Test Speakers Software Assembly Add Magnets to parts Mount PiTFT to Front Bezel Secure Mini PiTFT to Front Bezel Prep GPIO Cable Add GPIO Ribbon Cable to PiTFT Secure Base to Body Prep Wires for Slide Switch Solder Wires to Slide Switch Seal Wires with Heat Shrink Tubing Install Slide Switch to Base Prep Powerboost 500C for Slide Switch Solder Slide Switch Wires to Powerboost 500C Solder Pi GPIO Wires to Powerboost 500C Prep JST Cable for Battery Solder JST to Battery Mount Powerboost to Bottom Cover Test Powerboost 500C Test PiTFT Position GPIO Cable into Body Install Battery to Base Secure Bottom to Base 2 4 4 4 5 5 6 6 7 8 8 8 9 9 9 10 10 10 10 11 12 13 13 13 15 17 17 17 18 18 19 19 20 20 21 21 22 22 23 24 24 25 25 26 26 27 27 Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 2 of 29

Bend Pi GPIO Ribbon Cable Install Raspberry Pi to PiTFT Snap on Front and Back 28 28 29 Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 3 of 29

Overview Build Your Own Mac Pi Relive the glory days of 128k by making your own Mac Classic, with 3D printing and DIY electronics. A Raspberry Pi Model B and 320x240 mini touch screen display make this an easy-to-build project. In this tutorial, we'll guide you through the steps of printing, building and assembling your own Mac Pi. This project was inspired by John Badger from RetroMacCast! (https://adafru.it/dtf) How it Works You can either have a service print the parts for you, or you can print them yourself on a FDM 3D Printer. This project requires minor assembly and soldering. The Raspberry Pi can run a flavour of minivmac (https://adafru.it/dtg) and emulates booting into Mac OS 7. The Mini vmac is an emulator that runs software for early Macs that ran Motorola's 680x0 microprocessors. This project doesn't require original hardware and runs along side raspbian. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 4 of 29

Project Advisory Like taking things a part? Have a soldering iron laying around? Have an interest in 3D printing? Then this project is for you! This mega-cool build is ideal for anyone with a bit of maker experience looking for a exceptional weekend project. Challenges and Expectations The most difficult part of the build may lie with the experience of the builder. If you are new to 3D printing and don't own one, you can still make this project by having a 3d printing service make and ship the parts to you. If you are new to hardware like the Arduino and Raspberry Pi, you'll be glad to know there's only a minor bit of soldering and most components just connect together. Keeping this in mind, there are a few things to expect! The Mac emulator does boot up and can run some basic apps but, there is: Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 5 of 29

Minor Application Support No Audio Support Only Mac 7 No Networking Screen Size Cut to 320 x 240 so we can use the PiTFT (original was 512x342) Prerequisite Guides We recommend walking through the following guides to get you situated with the Raspberry Pi and the Mini PiTFT 320x240 touch screen display. Adafruit PiTFT (https://adafru.it/ddk) Learn Raspberry Pi Series (https://adafru.it/jcw) Parts & Components Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 6 of 29

Parts & Components Most of the tools parts and supplies are available in our shop. PiTFT 320x240 2.8" Touchscreen (https://adafru.it/dde) Raspberry Pi B (http://adafru.it/998) 6600mAh Lithium Ion Battery (https://adafru.it/dtj) (to make it portable!) Slide Switch (http://adafru.it/805) (to make it portable!) Powerboost 500C (http://adafru.it/1944) (to make it portable!) Stereo Class D (https://adafru.it/cdb) (optional add on if you want internal speakers, audio isn't supported in vmac) Thin Speaker 8ohm 0.25w (http://adafru.it/1891) (optional add on if you want internal speakers, audio isn't supported in vmac) Panel mount HDMI cable (https://adafru.it/dtl) Tools & Supplies 3D Printer (https://adafru.it/tf2) ABS/PLA Filament (https://adafru.it/dtn) Wire Stripper (http://adafru.it/527) Soldering Iron (https://adafru.it/tf4) Solder (https://adafru.it/cdd) 26AWG stranded wire (https://adafru.it/cde) Pi GPIO ribbon cable (http://adafru.it/862) #4-40 flat phillips machine screws Screwdriver set (https://adafru.it/cdf) Rare earth magnets 1/4 x 1/16 inch Disc N48 Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 7 of 29

3D Printing FDM 3D Printing These parts are optimized to print with desktop 3D Printers capable of printing in ABS or PLA material with a minium build area of 100mm x 100mm x 90mm. The five parts are designed to print without any support material. Parts Breakdown macpi-body.stl This is the largest part and has four stand-offs on the top and bottom for inserting magenets. The macpi-front.stl and macpi-back.stl parts snap onto the body for easily accessing the internal components. macpi-front.stl The front bezel of the design features three stand-offs with 1.5mm mount holes for securing the PiTFT display with #4-40 machine screws. This part features four stand-offs in the corners for inserting magnets. This part snaps to the macpi-body.stl part macpi-back.stl A stereo amplifier is mounted to this part with two #40-40 screws. A panel mount HDMI cable is secrued to this part for accessing HDMI out on the Raspberry Pi. macpi-base.stl The battery and powerboost 500c are housed in this part. It is secured to the side of the macpi-body.stl part that has four mounting holes. #4-40 screws secure the macpi-base.stl and macpi-body.stl part together. macpi-bottom.stl The powerboost 500c is mounted to this part with 2 #4-40 machine screws. This part is secured to the macpi-base.stl part with 4 #4-40 screws. https://adafru.it/dux Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 8 of 29

https://adafru.it/dux PLA or ABS? We recommend printing the parts in PLA material. ABS prints tend to warp especially with surfaces that feature filets and chamfers. Use either 1.75mm or 3mm diameter filaments, which ever your printer is optimized for. Slicer Settings The slicer settings are going to vary from printer to printer, but we recommend using the settings below as a reference for tweaking the settings. The slicing settings was generated using MakerWare and the prints were tested on a makerbot Replicator 1 and Replicator 2. macpi-back.stl macpi-base.stl macpi-body.stl macpi-bottom.stl macpi-front.stl PLA @230c 2 shells 10% infill 0.2mm layer height 90/120 speeds Takes about 6-8 hours to print all parts. Don't Have a 3D Printer? Your neighbor or local hackerspace might have a 3D printer you can 'borrow'. There are a few great services that can print the parts out and ship them to you. Check out these below or consult your own google search. Shapeways Sculpteo i.materialise 3DHubs MakeXZY Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 9 of 29

Customization Like Modding CAD? We encourage you to customize the enclosure to fit your project. Maybe you don't want to use magnets and would rather use machine screws all the way through. Our original solids were created in AutoDesk 123D Design and are available to modify, edit and download. Learning How-to use 123D Design 123D Design is an easy to use, free CAD software from Autodesk, that is avilable in most platforms. It has an intutive interface and powerful features that are optimized for designing parts for 3d printing. There are plently of tutorial videos on youtube and we have a great list on our blog, everything from learning the interface to using the features. https://adafru.it/dpb https://adafru.it/dpb Using Different Components Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 10 of 29

Open source design means you're totally free to use whatever components you can find. We recommend using our components because we can offer support if an item is damanged or broken. Colors and Branding The beauty of 3D Printing is you can print it in any color you want or change the color with a little spray paint. Our design features the Raspberry Pi logo and includes the Adafruit logo on the base. If a little STL hacking, you can add your name or logo to any part! Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 11 of 29

Circuit Diagram We'll building this mini mac so it can be self contained. We'll need a battery pack for that! The 6600mAh pack is big but will run the setup for about 15 hours (or less if you add wifi and other accessories) A PowerBoost 500 brings the LiIon pack voltage up to 5V and even has a spot for an on/off switch Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 12 of 29

Power Circuit for the Raspberry Pi Model B The circuit diagram above is a illustration reference for powering the Raspberry Pi. A GPIO cable will conneect to the back of the PiTFT display. Wire #2 will need to be soldered to the postive pin on the Powerboost 500C. Wire #6 connects to the negative pin on the Powerboost 500C. The 600mAh lithium ion battery conncets to the JST port on the Powerboost 500C. A slide switch connects to the GND, EN and BAT pins on the Powerboost 500C. Speakers Connect the speakers with the following connections: connect VDD to VBAT on the powerboost 500 connect GND to VND on the powerboost 500 see photo for audio connections: connect R+ or L+ to R or L on the raspberry pi (use thin blue wire) and connect R- or L- to Gnd on the raspberry pi (ditto) solder speaker to amp (L out or R out, whichever you chose in the last step) set both switches to ON (lowest gain!) Test Speakers on on pi, use the following code to test the output of the speakers: Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 13 of 29

* amixer cset numid=3 1 then: ** speaker-test -t sine -f 600 aplay /usr/share/scratch/media/sounds/animal/bird.wav* *aplay /usr/share/sounds/alsa/front_center.wav* Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 14 of 29

Software Download the Linux compatible ARM verision of Mini vmac https://adafru.it/dxf https://adafru.it/dxf Download and rename the disk image for the system files by following the instructions on http://misapuntesde.com/ (https://adafru.it/dtu) https://adafru.it/dtv https://adafru.it/dtv To luanch, make sure to rename hfs20m.dsk to disk1.dsk and that the minivmac app is in the same directory. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 15 of 29

Drag and drop the Install 1.image file over top of the minivmac app window to load the installaion disk image. Do the same for the other install disks. Get software and games on to the disk image by using the networking functions in BasiliskII (https://adafru.it/dtw) to transfer files from your desktop to the disk imge on the pi. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 16 of 29

Assembly Add Magnets to parts The macpi-front.stl, macpi-body.stl and macpi-back.stl parts were designed to snap together with 1/4 x 1/16 inch Disc N48 magnets. These can be secured to the stand-offs with adhesives. Always double check the polarity of the magnets! Be careful not to let these snap together, they are brittle and can easy break! Mount PiTFT to Front Bezel The macpi-front.stl part has three stand-offs for moutning the PiTFT. Position the PiTFT over the part and line up the mounting holes with the stand-offs. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 17 of 29

Secure Mini PiTFT to Front Bezel Fasten three #4-40 x 3/8" flat phillips machine screws to the mounting holes on the PiTFT. Prep GPIO Cable Attach the GPIO ribbon cable to the 2x16 socket on the back of the PiTFT. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 18 of 29

Add GPIO Ribbon Cable to PiTFT Remove the connector on the end of the ribbon cable with wire cutters. Peel apart #2 and #6 wires from the ribbon cable. #1 is the wire with the white stripe. Secure Base to Body Join the macpi-base.stl part to the macpi-body.stl part with the large opening facing each other and the mounting holes lined up. Fasten four #4-40 flat philips screws to the mount holes. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 19 of 29

Prep Wires for Slide Switch Measure three 26AWG stranded wire to about 8cm in length. Strip the tips and tin them. Secure the slide switch to a panavise jr. for soldering. Solder Wires to Slide Switch Connect the three wires to the slide switch by soldering the tips of the wires to the terminals leads on the slide switch Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 20 of 29

Seal Wires with Heat Shrink Tubing Cut three pieces of heat shrink tubing and slide them over each wire to secure the connection with a heating element. Install Slide Switch to Base Insert the three wires throught he opening on the macpi-base.stl part with the slideswitch facing the outside Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 21 of 29

Prep Powerboost 500C for Slide Switch Secure the Powerboost 500C to panavise jr. for soldering the three wires from the slide switch. Solder Slide Switch Wires to Powerboost 500C Solder the three wires from the slide switch to the GND, EN and Bat pins. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 22 of 29

Solder Pi GPIO Wires to Powerboost 500C Use a wire stripper to strip the #2 and #6 wires on the GPIO ribbon cable. Powerboost 500C Conencted Solder the #2 wire to the Postive+ pin and #6 to the Negative- pin on the Powerboost 500C. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 23 of 29

Prep JST Cable for Battery Cut the male JST connector from an extension cable. Solder JST to Battery Carefully solder the postive and negiative wire conenctions to the male JST connector. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 24 of 29

Mount Powerboost to Bottom Cover Use two #4-40 flat phillips screws to secure the Powerboost 500C to the macpi-bottom.stl part. Test Powerboost 500C Plug in the male JST connetor from the battery to the female JST port on the Powerboost. Slide the switch on to test the power circuit. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 25 of 29

Test PiTFT Check to see if the PiTFT powers on. If it does, congratulations! If not, double check your solder connections. Position GPIO Cable into Body Power off the circuit and unplug the GPIO cable from the PiTFT. Insert it into the base through the macpi-bottom.stl part and out through the macpi-front.stl part Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 26 of 29

Install Battery to Base Insert the 6600mAh lithium ion battery into the macpi-base.stl part through the bottom. Secure Bottom to Base Position the macpi-bottom.stl part over the bottom of the macpi-body.stl part and line up the mounting holes.fasten four #4-40 screws to the four mount holes. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 27 of 29

Bend Pi GPIO Ribbon Cable Gently fold over the GPIO ribbon cable so that it's position like in the photo above. Install Raspberry Pi to PiTFT Position the Pi over the PiTFT, align up the pins with the connector and press it down to make a complete connection. Adafruit Industries https://learn.adafruit.com/mini-mac-pi Page 28 of 29

Snap on Front and Back Carefully snap on the front and back parts to the body. The magnets are pretty strong and secure the parts together nicely! It's easy to quickly remove the front or back and get to the internals. Adafruit Industries Last Updated: 2018-08-22 03:43:21 PM UTC Page 29 of 29