8000 GitHub - gagregrog/hummus: Hummus
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gagregrog/hummus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hummus

Play audio with the push of a button.

Requirements

PlatformIO Core

pio run --target upload && pio device monitor

BOM

Setup

Set DIP switch on DY-SV8F to the following:

  1. Off
  2. Off
  3. On

Wiring

  • DY-SV8F 5V- -> Arduino GND
  • DY-SV8F 5V+ -> Arduino RAW
  • DY-SV8F IO0/TX -> Arduino 9
  • DY-SV8F IO1/RX -> Arduino 8
  • DY-SV8F Speaker + -> Speaker +
  • DY-SV8F Speaker - -> Speaker -
  • Button Pin 1 -> Arduino 2
  • Button Pin 2 -> Arduino GND

Audio Setup

While the Arduino is disconnected plug the DY-SV8F into your computer with a micro usb cable.

A flash media device will show up and you can drag files onto it.

Files should be named sequentially like 00001-file.mp3, 00002-file2.mp3

Default audio files are listed in ./audio/.

Note that there is a hardcoded number of audio files specified in main.cpp which is used for incrementing the track. If you add more files, make sure to increment that number.

Using

Short press to play the current track.

Long press to increment the track and play the new track.

About

Hummus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0