SkillAgentSearch skills...

Easybutton

Pranking an easy button to say unexpected things

Install / Use

/learn @gvb/Easybutton
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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).
View on GitHub
GitHub Stars4
CategoryDevelopment
Updated6y ago
Forks2

Languages

Arduino

Security Score

70/100

Audited on Jul 15, 2019

No findings