Skip to content
forked from gvb/easybutton

Pranking an easy button to say unexpected things

License

Notifications You must be signed in to change notification settings

avanovde/easybutton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

easybutton

Prank an easy button to say unexpected things... because "That was easy" is just stupid.

See the wiki for pictures of the modifications.

Software and Sounds

This uses a modified PCM audio driver: https://github.com/gvb/PCM

Create your own .wav files or download selected Simpsons' .wav files from http://www.richmolnar.com/simpsnd.htm (not included). There is a Makefile that uses sox to resample the .wav file(s) to 6KHz (or other rates) and xxd to convert the .wav file(s) to a C include file.

Hardware

Arduino Pins:

  • 2 - Button. The button input uses the weak pullup capability of the Arduino and needs it to be grounded when the switch is pressed. This is configured to interrupt when it goes low, waking up the Arduino and starting the playback.
  • 7 - Wired to the amplifier shutdown pin. This is used to minimize current draw when it isn't active.
  • 11 - Audio output to drive the speaker (defined in PCM.c).

About

Pranking an easy button to say unexpected things

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 55.7%
  • Makefile 44.3%