# HalloWing Macintosh

## Overview

https://www.youtube.com/watch?v=0-uyLHNdH5E

## 3D Printed Mini Retro Computers

&nbsp;

Use Adafruit HalloWing to make a mini Mac with images with sounds. 3D print a mini Mac for the speaker and display! Play the classic chime sounds from various Mac OS versions. A desktop toy that evokes nostalgia or prank device for co-workers? You decide!

![3d_printing_hero-mackeys.jpg](https://cdn-learn.adafruit.com/assets/assets/000/070/093/medium640/3d_printing_hero-mackeys.jpg?1548684538)

The HalloWing PCB press fits into the face plate without screws and snap fits into the case. Speaker is housed in a back door with a working hinge. Parts 3D print without any supports!

No soldering necessary! HalloWing is pre-assembled and speaker is wired so it's plug-n-play! 3D print the case and snap fit everything together for easy assembly.

![](https://cdn-learn.adafruit.com/assets/assets/000/070/222/medium800/3d_printing_mac-adabot-3.jpg?1548798847)

## Circuit Python Code

Adafruit's CircuitPython is great for making slide show galleries that playback audio and display images. Use the capacitive touch pads on the HalloWing for input commands. You can rapidly update your code without having to compile and there's plenty of libraries, examples and support. Store plenty of images and audio assets on the built-in 8Mb SPI flash storage.

![](https://cdn-learn.adafruit.com/assets/assets/000/070/206/medium800/3d_printing_circuitpython-hallowing.jpg?1548797701)

## Prerequisite Guides

If you're new to Adafruit Feather, CircuitPython or soldering, take a moment to walk through the following guides to get you started.

- [Adafruit HalloWing M0 Express](https://learn.adafruit.com/adafruit-hallowing)
- [Welcome to Circuit Python](https://learn.adafruit.com/welcome-to-circuitpython)
- [Tiny Museum Tour Device](https://learn.adafruit.com/tiny-museum-tour-device)

## Electronics

This project uses the Adafruit HalloWing M0 Express and a mini oval speaker. The speaker has a molex pico connector so it's plug-in-play!

![3d_printing_hero-parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/070/088/medium640/3d_printing_hero-parts.jpg?1548644828)

Featured
### Adafruit HalloWing M0 Express

[Adafruit HalloWing M0 Express](https://www.adafruit.com/product/3900)
[This is Hallowing..this is Hallowing... Hallowing! Hallowing!&nbsp;](https://www.youtube.com/watch?v=kGiYxCUAhks&t=39s)

Are you the kind of person who doesn't like taking down the skeletons and spiders until after January? Well, we've got the development board for...

In Stock
[Buy Now](https://www.adafruit.com/product/3900)
[Related Guides to the Product](https://learn.adafruit.com/products/3900/guides)
![Video of a blinking eye on a Adafruit HalloWing M0 Express.](https://cdn-shop.adafruit.com/product-videos/640x480/3900-07.jpg)

Featured
### Mini Oval Speaker - 8 Ohm 1 Watt

[Mini Oval Speaker - 8 Ohm 1 Watt](https://www.adafruit.com/product/3923)
Hear the good news! This wee speaker&nbsp;is&nbsp;a&nbsp;great addition to any audio project where you need 8 ohm impedance and 1W or less of power. We particularly like this&nbsp;speaker&nbsp;as it is&nbsp;small and comes with nice skinny wires with a connector on the end. It has a handy...

In Stock
[Buy Now](https://www.adafruit.com/product/3923)
[Related Guides to the Product](https://learn.adafruit.com/products/3923/guides)
![Small, black, oval speaker with Pico Blade connector.](https://cdn-shop.adafruit.com/640x480/3923-06.jpg)

## Author Notes:

_My first computer was an [Apple Mac Performa 6300](https://everymac.com/systems/apple/mac_performa/specs/mac_performa_6300cd.html). I remember attempting to fix a Macintosh 128k in middle school because I told my teacher I owned an Apple computer. I was not able to get it running._

Phil Torrone (Mr. Ladyada) comes up with the best project ideas!

> a hallowing that just plays a sound and image of the mac it came from. the enclosure is a mac

![](https://cdn-learn.adafruit.com/assets/assets/000/070/221/medium800/3d_printing_mac-adabot-4.jpg?1548798820)

![](https://cdn-learn.adafruit.com/assets/assets/000/070/207/medium800/3d_printing_circuitpython-mac.jpg?1548797758)

![](https://cdn-learn.adafruit.com/assets/assets/000/070/094/medium800/3d_printing_mac-hold.jpg?1548686658)

![](https://cdn-learn.adafruit.com/assets/assets/000/070/218/medium800/3d_printing_mac-adabot.jpg?1548798756)

# HalloWing Macintosh

## Circuit Diagram

## Circuit&nbsp;Diagram

This provides a visual reference for wiring of the components. They aren't true to scale, just meant to be used as reference. This diagrams was created using [Fritzing software](http://fritzing.org/download/).

## Adafruit Library for Fritzing

Use our Fritzing parts library to create circuit diagrams for your projects. Download the library or just grab the individual parts. Files are hosted on our github repo linked below.

[Adafruit Fritzing Parts](https://github.com/adafruit/Fritzing-Library/tree/master/parts)
![](https://cdn-learn.adafruit.com/assets/assets/000/070/096/medium800/3d_printing_circuit-diagram.jpg?1548687462)

## Powering

The Adafruit HalloWing M0 Express can be powered via USB or JST-PH using a 3.7v lipo battery. In this project, USB power is used. Optionally, a [500mAh battery](https://www.adafruit.com/product/1578)&nbsp;can be used to make it portable – Also fits nicely inside the case. The lipo battery is rechargeable via the USB port on the Adafruit HalloWing M0 Express.

# HalloWing Macintosh

## Software

![](https://cdn-learn.adafruit.com/assets/assets/000/070/095/medium800/3d_printing_code-banner.jpg?1548686754)

## Circuit Python Code

The code for this project was developed using Adafruit's CircuitPython and documented in [John Park's tiny museum project](https://learn.adafruit.com/tiny-museum-tour-device). Head on over there and follow the tutorial to setup CircuitPython on your HalloWing M0 Express.

[Tiny Museum – Software Setup](https://learn.adafruit.com/tiny-museum-tour-device/code-with-circuitpython)
## Mu: Python IDE

Check out the Mu Python editor for writing CircuitPython code you can easily save and load to your Adafruit supported hardware. Use the built-in serial console for debugging and the plotter for visualizing data. [Download the software](http://codewith.mu/) and check out the [learn guide for installation help](https://learn.adafruit.com/welcome-to-circuitpython/installing-mu-editor).

![3d_printing_mu-splash.jpg](https://cdn-learn.adafruit.com/assets/assets/000/070/179/medium640/3d_printing_mu-splash.jpg?1548785643)

## Mac Media Assets

Once you have CircuitPython installed and setup on the HalloWing M0 Express, you can download the assets for this project. This includes bitmap images of the Mac OS boot screens and chime audio wav files. These are included in the download link in the 3D printing page.

## Upload Media Assets

Download the .zip file, and then uncompress it. Drag the .bmp and .wav files onto your HalloWing – **CIRCUITPY**. They must be at the top level of your HalloWing, not inside a folder.

Make sure the **code.py** and **adafruit\_slideshow.mpy** files have been copied over.

![3d_printing_circuitpy-drive.jpg](https://cdn-learn.adafruit.com/assets/assets/000/070/171/medium640/3d_printing_circuitpy-drive.jpg?1548778361)

[Download Media Asset zip](https://github.com/adafruit/Adafruit_Learning_System_Guides/tree/master/Hallowing_Mac/Assets)
![](https://cdn-learn.adafruit.com/assets/assets/000/070/049/medium800/3d_printing_macos-banner.jpg?1548525365)

## Creating Custom Assets

The tiny museum project also covers how to create custom images and audio assets. If you're interested in creating your own assets for this project, be sure to [walk through this page](https://learn.adafruit.com/tiny-museum-tour-device/prepare-visuals-and-audio).

The **_Mac OS chime sounds_** were recorded from this [YouTube Video](https://www.youtube.com/watch?v=n23dp8caq9A). It also has "crash" sounds.

The _ **Mac OS boot screens** _ were found in this [blog post](https://www.techrepublic.com/pictures/apple-startup-screens-from-1979-to-today/10/) that features several others.

[Prepare Visuals and Audio](https://learn.adafruit.com/tiny-museum-tour-device/prepare-visuals-and-audio)
## Reboot and Play Chimes

The capacitive touch pads are used to advance to the next image or the previous image.&nbsp;The code looks for .bmp files to play -- when it finds one it then parses that filename and looks for a .wav file with the same name. For example,&nbsp;`macos8.bmp`&nbsp;would cause the code to look for a&nbsp;`macos8.wav`&nbsp;file to play.

![3d_printing_touch-loop.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/087/medium640thumb/3d_printing_touch-loop.jpg?1548642414)

# HalloWing Macintosh

## 3D Printing

## 3D Printed Parts

Parts are designed to be 3D printed with FDM based machines. STL files are oriented to print "as is". Parts are listed below with file name and description. Parts require tight tolerances that might need adjusting slice setting. Reference the suggested settings below.

![3d_printing_hero-3d-parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/070/084/medium640/3d_printing_hero-3d-parts.jpg?1548637832)

## Print-In-Place Hinge

The STL file named **hallowmac-case-back** features a back door panel with a print-in-place hinge – This allows the panel to swing open and shut closed. The door panel is designed to house the min oval speaker. Tolerances in the hinge are designed to print using FDM 3d printers.&nbsp;

![3d_printing_mac-doorhinge.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/076/medium640thumb/3d_printing_mac-doorhinge.jpg?1548636870)

## Parametric 3D Object

3D print the **hinge-tester.stl** file before printing the **hallowmac-case-back.stl**. See how the tolerances are and adjust slice settings if necessary. The door hinge in this project inspired me to create a parametric model that can be used in future projects. Here's a [short video demonstrating](https://www.youtube.com/watch?v=M6AqZDajXHM) how to scale up the hinge mechanism using Fusion 360's user parameters.

![3d_printing_hinge.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/077/medium640thumb/3d_printing_hinge.jpg?1548636922)

## Simple Enclosure

The STL file named **hallowmac-case** does not feature the print-in-place door hinge. 3D print the file named **hallowmac-back.stl** &nbsp;for the back panel – This houses the mini overal speaker and snap fits into the back of the case. Optionally, a bottom panel cover ( **hallowmac-bottom.stl** ) snap fits into the bottom of the case – This could be useful for housing extra components or a [lipo battery pack](https://www.adafruit.com/product/1578 "500mAh 3.7v lipo battery").

[Download 3D files and Assets](https://github.com/adafruit/Adafruit_Learning_System_Guides/tree/master/Hallowing_Mac)
## Slice Settings

Use these settings as reference. Values listed were used in [Ultimaker's CURA 3.X](https://ultimaker.com/en/products/ultimaker-cura-software) slicing software.

- 0.2mm Layer Height / 0.4mm nozzle
- 0.38mm Line Width (inner & outer widths)
- 40mm/s printing speed
- 20% infill
- Supports: No

![3d_printing_cura-slicer.jpg](https://cdn-learn.adafruit.com/assets/assets/000/070/048/medium640/3d_printing_cura-slicer.jpg?1548517948)

## Design Source Files

The enclosure assembly was designed in Fusion 360.&nbsp;This can be downloaded in different formats like STEP, SAT and more. Electronic components like the board, displays, connectors and more can be downloaded from our&nbsp;[Fusion 360 CAD parts github repo](https://github.com/adafruit/Adafruit_CAD_Parts).

[Download Adafruit CAD Parts](https://github.com/adafruit/Adafruit_CAD_Parts)
## HalloWing 3D Model

[Download the 3d model](https://github.com/adafruit/Adafruit_CAD_Parts/tree/master/3900%20Hallowing) of the Adafruit HalloWing M0 Express and use it to create new cases, enclosures and props! The design features headers, connectors and the display for making accurate snap fit parts.&nbsp;

![3d_printing_hallowing-3d.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/176/medium640thumb/3d_printing_hallowing-3d.jpg?1548784865)

[Download HalloWing 3D Model](https://github.com/adafruit/Adafruit_CAD_Parts/tree/master/3900%20Hallowing)
# HalloWing Macintosh

## Assembly

## HalloWing Faceplate

The HalloWing PCB is secured to the 3d printed face plate without any machine screws. Four built-in standoffs elevate the PCB and two clips holds it down.

## Installation

Start by orienting the HalloWing PCB with the face plate. Position the PCB over the faceplate with the screen facing down. Insert the PCB into the clips by sliding it into place – PCB may need to be slightly angled. Press down on the PCB so the pegs in the standoffs go through the two mounting holes.

![3d_printing_hallowing-faceplate-install.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/062/medium640thumb/3d_printing_hallowing-faceplate-install.jpg?1548619721)

## Connect Speaker

Grab the pico blade connector from the speaker and plug it into the port on the back of the HalloWing. The side with the two distinct tabs faces up with the PCB.

![3d_printing_speaker-connect.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/072/medium640thumb/3d_printing_speaker-connect.jpg?1548635884)

## Install Face Plate to Enclosure

Place the speaker over the HalloWing PCB. Line up the faceplate with the case and lay it on top of the opening. Press the faceplate into the case so the lips are inserted. The two edges snap fit and "click" into place.

![3d_printing_face-case-snap.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/065/medium640thumb/3d_printing_face-case-snap.jpg?1548627309)

## Install Speaker

Open the back door of the case by pushing it outwards. The inside has a cavity designed to house the mini oval speaker. Place the speaker into the cavity and press down. Optionally, remove the protective backing by peeling it off – Sticky adhesive is lined on the outline.

![3d_printing_speaker-install.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/067/medium640thumb/3d_printing_speaker-install.jpg?1548633893)

## Close Door

With the speaker secured to the door, close it back up by pressing down on the edge – The nub will engage the latch inside of the case. To reopen press the door open from the inside. Use both hands and fingers to carefully open and close the door, the latch might get damaged if the door is pressed all the way through.

![3d_printing_close-door-case.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/070/medium640thumb/3d_printing_close-door-case.jpg?1548634529)

## Play Chimes

Touching the capacitive pads on the HalloWing PCB will play the chime and cycle through the different boot screens. Tap and hold to continuously play through all of the assets.&nbsp;

![3d_printing_captouch-nextprev.gif](https://cdn-learn.adafruit.com/assets/assets/000/070/073/medium640thumb/3d_printing_captouch-nextprev.jpg?1548636102)


## Guide Products

### Adafruit HalloWing M0 Express

[Adafruit HalloWing M0 Express](https://www.adafruit.com/product/3900)
[This is Hallowing..this is Hallowing... Hallowing! Hallowing!&nbsp;](https://www.youtube.com/watch?v=kGiYxCUAhks&t=39s)

Are you the kind of person who doesn't like taking down the skeletons and spiders until after January? Well, we've got the development board for...

In Stock
[Buy Now](https://www.adafruit.com/product/3900)
[Related Guides to the Product](https://learn.adafruit.com/products/3900/guides)
### Mini Oval Speaker - 8 Ohm 1 Watt

[Mini Oval Speaker - 8 Ohm 1 Watt](https://www.adafruit.com/product/3923)
Hear the good news! This wee speaker&nbsp;is&nbsp;a&nbsp;great addition to any audio project where you need 8 ohm impedance and 1W or less of power. We particularly like this&nbsp;speaker&nbsp;as it is&nbsp;small and comes with nice skinny wires with a connector on the end. It has a handy...

In Stock
[Buy Now](https://www.adafruit.com/product/3923)
[Related Guides to the Product](https://learn.adafruit.com/products/3923/guides)

## Related Guides

- [Adafruit Hallowing M0](https://learn.adafruit.com/adafruit-hallowing.md)
- [Burning Fire Wizard Staff](https://learn.adafruit.com/burning-fire-wizard-staff.md)
- [Adafruit Fruit Jam](https://learn.adafruit.com/adafruit-fruit-jam.md)
- [RGB Matrix Dreidel Game](https://learn.adafruit.com/rgb-matrix-dreidel-game.md)
- [Adafruit Audio BFF](https://learn.adafruit.com/adafruit-audio-bff.md)
- [Zelda Master Sword](https://learn.adafruit.com/zelda-master-sword.md)
- [Audio Synthesis with CircuitPython synthio](https://learn.adafruit.com/audio-synthesis-with-circuitpython-synthio.md)
- [HalloWing Googly Eye](https://learn.adafruit.com/hallowing-googly-eye.md)
- [Lightsaber Prop-Maker RP2040](https://learn.adafruit.com/lightsaber-rp2040.md)
- [Milk Jug Glow Skull](https://learn.adafruit.com/milk-jug-glow-skull.md)
- [TVA Pruning Baton from Loki](https://learn.adafruit.com/tva-pruning-baton-from-loki.md)
- [Twin Peaks Light Reactive Picture Frame](https://learn.adafruit.com/twin-peaks-light-reactive-pyportal-picture-frame.md)
- [The Great Seal Mask](https://learn.adafruit.com/the-great-seal-mask.md)
- [Tiny Museum Tour Device](https://learn.adafruit.com/tiny-museum-tour-device.md)
- [TRON DISC](https://learn.adafruit.com/trondisc.md)
- [Glowing Mirror Mask](https://learn.adafruit.com/glowing-mirror-mask.md)
