Post your best Lua script examples here
User avatar
By limbo
#71818 dfplayer mini is a great mp3 module for IoT devices.
You can find (almost) full info about it here: ... KU:DFR0299
and of course you can buy some cheap "clones" for less then 2 Euros! (Which are working just fine) ... i&_sacat=0

I 've created a re-usable lua file to control this little device suing its serial interface. Using this file you can enable your creations to play music (or sound files).
The applications are limitless, from a wifi mp3 player to any automation or IoT device which needs to play rich sounds.

The code is available on GIT

Have fun