Skip to content

Reads magic bands and plays sounds and lights up leds, just like the real thing.

License

Notifications You must be signed in to change notification settings

joshuapeterson/magicbandreader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magicbandreader

Reads magic bands and plays sounds and lights up leds, just like the real thing. Use webhook URLS to turn on lights or unlock locks.

NOTE

Sound files are no longer included. Either supply your own mp3 sound files or contact us through youtube for more information.

3D Printer pieces:

Find the pieces to make this model on thingiverse: https://www.thingiverse.com/thing:4271417

Upgrade

If you are upgrading from a previous version, be sure to re-run the install script to pick up the new required files: sudo sh install.sh.

BACKUP YOUR magicband.py BEFORE UPGRADING so you don't lose you sequences configurations! You'll need to migrate any old configurations that were stored in the magicband.py file to the new settings.conf file.

New Features

  • All configurations are now stored in settings.conf file instead of editing the python file directly.
  • New color support including rainbow (see example config for details) Make sure you are using the newest color names.
  • Webhook support for turning on lights or opening locks when a magic band is played
  • Multiple sequence support per individual magic bands. (A single magicband can have multiple sequences assigned to it.)

#Basic wiring:

  • Connect PIXEL LEDS to DATA on GPIO-18 (pin 12), pixel GnD to GND (pin 6) and pixel positive to +5v (pin 2)
  • Connect USB RFID reader
  • Connect Speaker via HDMI connector (ONBOARD SPEAKER WILL NOT WORK DUE TO Pixel LEDS!)

Installation

See videos for more details Note: if you are using the older videos to follow along, the main difference with the latest code is the settings.conf. Updated videos coming soon.

Config

Set the ring_pixels and mickey_pixel counts to the correct value

Troubleshooting

If the install fails, try running this command first: sudo apt-get update

About

Reads magic bands and plays sounds and lights up leds, just like the real thing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.6%
  • Shell 1.4%