This is the software written for the NFC Timeline Radio featured on instructables.com.
- Arduino software
- Create an account on Arduino Create.
- Install the Arduino Create plugin from here.
- Retrieve your nfc tag UID
- Now load the sketch
read_nfc_tag
to the arduino while connected to your computer. - Approximate your nfc tag / card to the nfc reader.
- Look at the Monitor on the left of the editor for a UID: it looks like this
CE 2F F1 D9
, but can be shorter or longer
- Now load the sketch
- Now that you have your UID, modify the sketch
read_rfid_potentiometer
- Replace the UIDs in line 115 and 122 with your UIDs. One is enough, two are better so that you can change albums / genres.
- Save and upload the script to the Arduino.
- Now connect the Arduino to your Master Raspberry Pi and reboot the Pi.
- Raspberry software
- Get "Raspbian Stretch with Desktop" from and follow instructions on https://www.raspberrypi.org/downloads/raspbian/.
- To set up some options, open a terminal and run
sudo raspi-config
:- In the settings, select Interfacing Options -> I2C -> Yes, to start up the I2C core driver.
- Now select Interfacing Options -> SPI -> Yes to enable SPI.
- Go to Network Options -> Wi-fi, now enter the SSID and password of your access point / router. Now you have a internet connection to install software!
- The serial port of RPi is set to serial terminal debugging function mode by default. If you want the serial port services as a common IO, you should modify the settings on the RPi.
Go to Interfacing Options -> Serial and select No in the first and Yes in the second dialog. - Press
Finish
to save the settings. This will prompt you to reboot.
- When logged into the Raspberries, open a terminal and from the home repository of your raspberry (
~
, default is/home/pi
), pull the source code from Github by e.g. callinggit clone https://github.com/benedikt-mayer/nfcradio.git
. - Run the shell script in the root repository of the git folder by opening a terminal and running
sudo sh install.sh
to install all necessary python libraries, setting config files etc.
This will reboot the device at the end. Don't interrupt the script unless you are prompted (which you will be). - After the restart you should see
Scan NFC Tag
on the smaller display: If you now approximate your nfc tag to the reader, it should start playing music from that album / genre.
Stance Gives You Balance by Hogan Grip is licensed under a Attribution-NonCommercial-ShareAlike 3.0 International License. link to music.
Requiem for a Fish by The Freak Fandango Orchestra is licensed under a Attribution-NonCommercial License. link to music.
The last ones by Jahzzar is licensed under a Attribution-ShareAlike 3.0 International License. link to music.
Noahs Stark by krackatoa is licensed under a Attribution-NonCommercial-ShareAlike 3.0 International License. Permissions beyond the scope of this license may be available at http://www.krackatoa.com or contact artist via email. link to music.
The Boss by Dee Yan-Key is licensed under a Attribution-NonCommercial-ShareAlike License. link to music.
The Pianist by Dee Yan-Key is licensed under a Attribution-NonCommercial-ShareAlike License. link to music.
Hungaria by Latché Swing is licensed under a Attribution-Noncommercial-Share Alike 2.0 France License. link to music.
Little Lily Swing by Tri-Tachyon is licensed under a Attribution License. link to music.
Kelli's Number by U.S. Army Blues is licensed under a Public Domain Mark 1.0 License. link to music.