Skip to content

benedikt-mayer/nfcradio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NFC Timeline Radio

This is the software written for the NFC Timeline Radio featured on instructables.com.

Software Installation Instructions

  1. Arduino software
    1. Create an account on Arduino Create.
    2. Install the Arduino Create plugin from here.
    3. Retrieve your nfc tag UID
      1. Now load the sketch read_nfc_tag to the arduino while connected to your computer.
      2. Approximate your nfc tag / card to the nfc reader.
      3. 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
    4. Now that you have your UID, modify the sketch read_rfid_potentiometer
      1. Replace the UIDs in line 115 and 122 with your UIDs. One is enough, two are better so that you can change albums / genres.
      2. Save and upload the script to the Arduino.
      3. Now connect the Arduino to your Master Raspberry Pi and reboot the Pi.
  2. Raspberry software
    1. Get "Raspbian Stretch with Desktop" from and follow instructions on https://www.raspberrypi.org/downloads/raspbian/.
    2. To set up some options, open a terminal and run sudo raspi-config:
      1. In the settings, select Interfacing Options -> I2C -> Yes, to start up the I2C core driver.
      2. Now select Interfacing Options -> SPI -> Yes to enable SPI.
      3. 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!
      4. 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.
      5. Press Finish to save the settings. This will prompt you to reboot.
    3. 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. calling git clone https://github.com/benedikt-mayer/nfcradio.git.
    4. 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).
    5. 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.

Licenses

Music

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published