foolishmortalbuilders / magicbandreader

Reads magic bands and plays sounds and lights up leds, just like the real thing.
Other
46 stars 24 forks source link

Reader not seeing MagicBands of Either Generation #8

Open Alaric323 opened 4 years ago

Alaric323 commented 4 years ago

Hello sir, I've been trying to create my own of these over the past month or so. At first, I attempted to swap out the SCL3711 with a much cheaper RFID-RC522 (https://www.amazon.com/HiLetgo-RFID-Kit-Arduino-Raspberry/dp/B01CSTW0IA/), and managed to get the reader working with the Raspberry Pi using the provided card + tag. However, it did not work with either generation of MagicBand, so I assumed the RC522 was incapable of reading them.

I purchased an SCL3711 to try and remedy this, but it appears as if it ALSO cannot read either gen MagicBand (but it still reads the tags from the RC522). This makes me think something is wrong with the bands instead of either the RC522 or SCL3711, aside from the fact my phone can pick up the tag through NFC Tools.

In your experience, does the band rely on an internal battery that expires after a while, so only newly purchased bands work? Or have you gotten several year old bands to function properly?

Alaric323 commented 4 years ago

Also, as a side note, the Raspberry Pi 4 has three separate PWM peripheral now, so you can use the integrated headphone jack without losing NeoPixel capabilities. Tried it with my own Pi4, and it works!

btesoroni commented 4 years ago

How were you able to get it to work with Raspberry Pi 4? I plugged a speaker into the audio jack but my audio gets really loud and all you heard static, but nothing happens when you tap a Magic Band. I thought it was a headphone jack issue but I'm able to play a mp3 player before I start the py script, but after I start it no sound works..... even after I kill the Magic band program. It seems to have something to do with pygame I think. Thanks for your help in advance.

adelyser commented 4 years ago

I have it running on a RPI 1 with the headphone jack as well. Use GPIO10 instead of 18. It uses the SPI interface instead of the PWM, which is what causes the issue with the headphone jack. The SPI interface is also more efficient when controlling the WS2812 pixels.

btesoroni commented 4 years ago

Really. I ended up using a 3.5mm to usb and that seems to work. Do you happen to know any other smart card readers thaT could read the magicband puck. Was locking for something cheaper then $36... making another reader and trying to keep the cost down

On Sun, Sep 6, 2020, 1:00 PM adelyser notifications@github.com wrote:

I have it running on a RPI 1 with the headphone jack as well. Use GPIO10 instead of 18. It uses the SPI interface instead of the PWM, which is what causes the issue with the headphone jack. The SPI interface is also more efficient when controlling the WS2812 pixels.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/foolishmortalbuilders/magicbandreader/issues/8#issuecomment-687842014, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOLJUZGJKGYUSX6POD6NELSEO53ZANCNFSM4OOTMYSQ .

texasmouse commented 2 years ago

Just finished a fork of this that successfully uses the MFRC522 library for the reader. There is no need to get the USB reader, just an inexpensive one for about US$3 on the auction sites. Additional benefit is that this allows you to use the onboard 3.5mm headphone jack! No need for the HDMI-to-audio cable or converter. Please check out my fork.