Go to file
Fabian Schlenz f7c4b0d70a Removed timestamp from build_version.sh cause it forced a complete recompile of everything, all the time. 2019-11-17 14:20:55 +01:00
.vscode Massive changes. Added a quite nice webinterface with live data using WebSockets. Removed the FTP server (wasn't that useful anyways). JSON creating using ArduinoJson instead of String concatenation. Ans, and, and. 2019-11-16 23:03:13 +01:00
data index.html is now served from SPIFFS. You can add rfid tag -> folder mappings via the webinterface. And I've added the missing controller json data messages. 2019-11-17 00:35:23 +01:00
include index.html is now served from SPIFFS. You can add rfid tag -> folder mappings via the webinterface. And I've added the missing controller json data messages. 2019-11-17 00:35:23 +01:00
lib Massive changes. Added a quite nice webinterface with live data using WebSockets. Removed the FTP server (wasn't that useful anyways). JSON creating using ArduinoJson instead of String concatenation. Ans, and, and. 2019-11-16 23:03:13 +01:00
src Increased the SD card speed from 4 MHz to 25 MHz for faster directory reading. 2019-11-17 00:35:55 +01:00
test Initial commit. 2019-08-02 23:48:36 +02:00
.gitignore Initial commit. 2019-08-02 23:48:36 +02:00
.travis.yml Initial commit. 2019-08-02 23:48:36 +02:00
README.md Changed the playing code to use Playlists managed by a PlaylistManager. This allows you to have randomized playlists and stuff. Also, you can now access special functions via the contents of RFID tags. See the README for a list of available modes. 2019-11-14 20:42:02 +01:00
build_version.sh Removed timestamp from build_version.sh cause it forced a complete recompile of everything, all the time. 2019-11-17 14:20:55 +01:00
platformio.ini Massive changes. Added a quite nice webinterface with live data using WebSockets. Removed the FTP server (wasn't that useful anyways). JSON creating using ArduinoJson instead of String concatenation. Ans, and, and. 2019-11-16 23:03:13 +01:00

README.md

Ports

Device Port Connected to
VS1053 CS 16
VS1053 MISO 19
VS1053 MOSI 23
VS1053 SCK 18
VS1053 XCS 4
VS1053 XRESET 0
VS1053 XDCS 2
VS1053 DREQ 15
RC522 SDA 17
RC522 SCK 18
RC522 MOSI 23
RC522 MISO 19
AMP_L SD 27
AMP_R SD 26
BTN_PREV 22
BTN_NEXT 33
BTN_VOL_UP 21
BTN_VOL_DOWN 32

Buttons pull to GND if pushed -> Internal Pull-Up needed!

RFID stuff

The mapping of rfid tags to files uses the ID of the tag. Create a file ids.txt in a folder containing one or more IDs will lead to the folder beginning to play when a tag with that id is on the reader.

The ID should be a 8 character long, downcase string containing the ID in hexadecimal. E.g. 23b1aa7d.

Special modes

You can also save data on the tags to further manipulate the system. Position of the data is irrelevant, the whole tag will be searched.

Using [random] will play the files in a random order. [random:2] will randomize everything except the first 2 files. This can be useful for having the favorite song of your kids playing, but after that getting a bit of randomness.

Using [lock] will turn this key into a key for the locking mode. Scanning the tag enables locking mode. The next album started will keep running until the end. Removing the tag will be deactivated, as are the buttons for prev and next track. You can disable locking mode by again scanning the lock tag again.