RFID with Memory! Prepaid based access control with RYRR20I_DE and Mifare Ultralight

Поделиться
HTML-код
  • Опубликовано: 4 июл 2024
  • In this video, I'm demonstrating how you can use the RYRR20I_DE module from Reyax to create a simple system where you first need to load a certain number of tokens on a 13.56MHz RFID card and you can then use those tokens to gain access to a resource only for the set number of times.
    To make this work, I'm using tags based on the Mifare Ultralight technology that has an internal memory inside and I'm using this memory to write the allowed number of ties a resource can be accessed.
    On each use of the card, the set number of uses is reduced by 1 and the new state is saved on the card before the access is granted.
    Once all of the allowed uses are used up, the resource is no longer available until the card is topped up with new allowance or credits. This is a similar system to how bus tickets work and it can be easily adapted for multiple uses like on events, amusement parks, equipment usage, and similar where only a certain number of usage times need to be allowed.
    RYRR20I_DE website link: reyax.com/products/RYRR20I_DE
    RYRR20I_DE Amazon link: www.amazon.com/dp/B0CKYKS6S5?...
    RYRR20I_DE Digi- Key link: www.digikey.com/en/products/d...
    Distributor First Components srl: www.first-components.com/en/
    Tools and materials used in the project:
    RYRR20I_DE - reyax.com/products/RYRR20I_DE
    Mifare Ultralight Cards - s.click.aliexpress.com/e/_mLK...
    13.56MHz Tokens - s.click.aliexpress.com/e/_Ezx...
    NTAG215 Self adhesive tags - s.click.aliexpress.com/e/_EHo...
    ESP32 Development Board - s.click.aliexpress.com/e/_mKC...
    Mini Breadboards - s.click.aliexpress.com/e/_oD0...
    Breadboard jumpers - s.click.aliexpress.com/e/_ok6...
    LEDs Kit - s.click.aliexpress.com/e/_m0S...
    Resistors Kit - s.click.aliexpress.com/e/_EH4...
    Long Male Headers - s.click.aliexpress.com/e/_mP5...
    Bench Power Supply - s.click.aliexpress.com/e/_on2...
    Full code and written article is available on my website:
    www.tastethecode.com/rfid-acc...
    Support my work on Patreon so I can continue producing free content and tutorials!
    / taste_the_code
    My recording gear:
    Canon M50 Mark ii - s.click.aliexpress.com/e/_msv...
    GT10 Pro 5G Android Phone - s.click.aliexpress.com/e/_oDn...
    Dragon Touch 4K Action Camera - s.click.aliexpress.com/e/_mrc...
    USB Condenser Microphone - s.click.aliexpress.com/e/_mq9...
    Tripod - s.click.aliexpress.com/e/_Eyn...
    Phone tripod mount - s.click.aliexpress.com/e/_oDT...
    00:00 Introduction
    00:30 RYRR20I_DE Module Overview
    01:10 RFID Tag Types
    01:34 Project Operation Overview
    02:36 RYRR20I_DE Up Close
    03:40 Project Demo
    07:15 NFC Tags construction
    11:31 Arduino Code Overview
    16:08 Outro and next steps
    RFID with Memory! Prepaid based access control with RYRR20I_DE and Mifare Ultralight
    #RFID #RYRR20I #Mifare #NFC #tastethecode
    Main Site and blog: www.tastethecode.com
    Facebook: / tastethecode
    Instagram: / taste_the_code
    Twitter: / taste_the_code
    Get exclusive Taste The Code t-shirts and merch at
    teespring.com/taste-the-code
    Hosting discounts over at Dreamhost
    click.dreamhost.com/SHiw

Комментарии • 8

  • @TheFitimzeka
    @TheFitimzeka 3 месяца назад

    Thanks for sharing it.

    • @TasteTheCode
      @TasteTheCode  3 месяца назад

      You are welcome! Thanks for watching!

  • @filipporossifavilli68
    @filipporossifavilli68 3 месяца назад +1

    🔝🔝🔝🔝 nice project

  • @MyGSunny
    @MyGSunny 2 месяца назад

    can you add credit remotely without the card?

    • @TasteTheCode
      @TasteTheCode  2 месяца назад

      No, the credit value is saved on the card so you must have it close to the device so it is written to it.

  • @TheFitimzeka
    @TheFitimzeka 3 месяца назад

    Is it possible to use more than one NFC reader in one ESP, (i.e. one reader per relay/door)

    • @TasteTheCode
      @TasteTheCode  3 месяца назад

      The ESP32 has hardware 3 serial ports so as long as you don't use the serial for the USB interface with computer, it can speak to 3 readers. Additionally, I guess you can also use software serial to speak to more but honestly, doing a controller per door does not add that much overhead.