https://github.com/mtgrosser/hack_chime
Hackintosh boot chime with Arduino
https://github.com/mtgrosser/hack_chime
arduino chime dfplayer-mini hackintosh
Last synced: about 1 year ago
JSON representation
Hackintosh boot chime with Arduino
- Host: GitHub
- URL: https://github.com/mtgrosser/hack_chime
- Owner: mtgrosser
- Created: 2017-04-28T20:52:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-01T22:54:52.000Z (about 9 years ago)
- Last Synced: 2025-02-12T11:52:31.591Z (over 1 year ago)
- Topics: arduino, chime, dfplayer-mini, hackintosh
- Language: Arduino
- Homepage:
- Size: 391 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hack Chime
## Hackintosh startup chime with Arduino
Hack Chime is an Arduino circuit which can detect the BIOS POST beep from your Hackintosh
and will play the Mac boot chime, or an alert sound in case of POST errors.
BIOS beeps encountered during normal operation (for example on the Linux console) can be
replaced with a custom sound like the Apple Boink or Funk sounds.
## Circuit

## BOM
* 1x Arduino Nano
* 1x DFPlayer Mini module with micro SD card
* 1x AMS1117 3.3 V voltage regulator module
* 4x BC337-16 or similar NPN transistor
* 1x 1 kΩ resistor
* 4x 2.7 kΩ resistor
* 2x 3 kΩ resistor
* 1x 10 Ω trimmer
* 1x 2-pin male header
* 1x 4-pin male header
* 1x speaker
* 1x ATX speaker cable (you can use a CD-ROM mainboard audio cable instead)
## PCB

## Device in action

## Setup
The connector pins of the AMS1117 voltage regulator module must be re-soldered to
the opposite side of the module in order to fit the PCB. Please double-check VIN
and VOUT are wired correctly.
Pin 1 of the 4-pin header J2 must be connected to the "SPK" line of the BIOS speaker,
pin 4 must be connected to the "+" line.
⚠️ **Pay attention not to accidentally swap the pins!**
The Arduino should be pre-flashed with the sketch before inserting it into the circuit.
#### Preparing the microSD card for DFPlayer
DFPlayer will sort the sound files in the order they are copied to the card.
Format the card and copy the files one by one. The order must match the sound/pin indexes
defined in the sketch, i.e. `chime`, `alert`, `funk`, `boink`.
On macOS, make sure no "._" files end up on the card.
The output volume can be reduced using the R7 trimmer.
## Software
Depending on how much time the mainboard usually takes to complete its power-on self test (POST),
the variables `POST_WAIT_TIME` and `POST_TIMEOUT` can be tweaked to catch the beeps.
## License
 This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).