Hand tools and fabrication machines
We are using node-red to create this application.
With this application we can play a list of songs, skip them by tapping on the table and changing volume by putting our hand on the top of the board at different distance.Solder the speaker to Kitra520 external connector
First we need to solder the speaker. You can check the schematic of the external connector HERE.Update Linux Kernel
To make audio work on Kitra520 we need to install the latest Linux kernel: You can do it by following this step by step tutorial: LINKInstall tools
To connect the board to the network follow the getting started guide: LINK. We need to install node-red, mplayer and espeak.
$ dnf update $ dnf install node $ dnf install npm $ npm cache clean -f #to download last nodejs version $ npm install -g n #to download last nodejs version $ n stable #to download last nodejs version $ reboot #required for upgrade $ npm install -g node-red $ dnf install mplayer $ dnf install espeak
If you have troubles running 'dnf update' run the following:
$ sed -i 's|archive\.fedoraproject\.org\/pub|archives\.fedoraproject\.org\/pub\/archive|g' /etc/yum.repos.d/*
And retry.Load some songs into the board
First check your IP address by running:
Connect via SSH to the Kitra520 (Ex. using FileZilla) and paste 10 songs into the board's /home/ folder. Song name of every file must begin with 'Song' and a number from 0 to 9.
- Song0_This Is What You Came For.mp3
- Song1_Alvaro Soler - Sofia.mp3
- Song9_Flo Rida - Whistle.mp3
On your PC open a browser and open a page on this address:
Select Import->Clipboard. Paste the following text: LINK