Joy-it SBC-RFID-RC522 Conrad Electronic Instructions

June 26, 2024
JOY-It

Joy-it SBC-RFID-RC522 Conrad Electronic

Specifications

  • Product: RFID Module
  • Based on: NXP MFRC-522
  • Frequency: 13.56 MHz
  • Communication Protocol: SPI
  • RFID Protocol: Mifare
  • Supply Voltage: DC 3.3V

Product Usage Instructions

  1. Pin Assignment
  2. Use with an Arduino
  3. Connection of the module
  4. Installation of the module
  5. Example application
  6. . Use with a Raspberry Pi
  7. Connection of the module
  8. Installation of the module

FAQ

Q: What do I do if I encounter unexpected problems during use?
A: If you encounter any unexpected problems during use, please do not hesitate to contact us for assistance.

RFID-MODULE
based on NXP MFRC-522

Joy-IT powered by SIMAC Electronics GmbH – Pascalstr. 8 – 47506 Neukirchen- Vluyn – www.joy-it.net

GENERAL INFORMATION

Dear costumer,
thank you very much for choosing our product.
In the following, we will introduce you to what to observe while starting up and using this product.
Should you encounter any unexpected problems during use, please do not hesitate to contact us.

OVERVIEW

Frequency 13.56 MHz
Communication SPI
RFID Protocol Mifare
Supply voltage DC 3,3V

PIN ASSIGNMENT

USE WITH AN ARDUINO

Connection of the module
Since the module works with a 3 V logic level and most Arduinos work with 5V, we use an Arduino Pro Mini 3.3 V in this example.
If you want to use an Arduino with a 5 V logic level, such as an Arduino Uno, you need to downgrade all data lines leading from the Arduino to the module from 5 V to 3.3 V with a voltage translator.
Connect the RFID module as shown in the following picture to the pins of your Arduino.

Installation of the module
To use the module with your Arduino, you must first install the MFRC522 library from the Arduino library manager.

In the window that opens, enter the term “MFRC522” in the search field and install the library.

Example application
After you have successfully installed the library, your module is ready for use.
You can use the following code example and transfer it to your Arduino, to commission and test the module:

Under File -> Examples -> MFRC522 you can find even more example files.

USE WITH A RASPBERRY PI

Connection of the module
Connect the RFID module to the pins of your Raspberry Pis as shown in the following picture .

Installation of the module
Before you can use the module, you have to install additional libraries and enable the SPI interface. To do this, open a terminal window on your Raspberry Pi and enter the following commands:

  • sudo raspi-config

Use the arrow keys to select “3 Interfacing Options” and confirm with Enter. Select “I3 SPI” and confirm the activation with “Yes”.
Now after preparations have been completed, the actual library can be installed:

  • sudo apt-get install -y python3-dev python3-pip git

With Bookworm OS, global installations can no longer be carried out. Therefore, a virtual environment must be created in which this installation takes place. All code which requires these installations must be in this virtual environment.

To create a virtual environment, execute the following commands:

  • mkdir your_project
  • cd your_project
  • python -m venv –system-site-packages env
  • source env/bin/activate

Now we can install the required libraries in this virtual environment:

Example applications
To run our sample codes, run the file to write something on a clip or card with the following command:

  • python3 MFRC522-python/examples/write.py

You can start the application for reading with the following command:

  • python3 MFRC522-python/examples/read.py

USE WITH A BBC MICRO:BIT

Connection of the module
Connect the RFID module to your micro:bit as shown in the following picture.

Example applications
To test the module on your micro:bit you first need a suitable library. To do this, click on the “Add extension” button in your MakeCode project and search here for the term “RFID”. Install here the “rfid-mfrc522” library from Joy-IT. Now you can transfer the following blocks into your project:

USE WITH A RASPBERRY PI PICO

Connection of the module
Connect the RFID module to your Raspberry Pi Pico as shown in the following picture.

Example applications
To use the RFID module, you need the microphone-mfrc522 library. Download the provided zip file here. If you already have a folder named “lib” on your Raspberry Pi Pico, simply add the included library to it. Otherwise, create such a folder and add the library inside. Afterward, you can execute the example code.

INFUSORMAE WITH ATION RAASPNBD TERRYAKE PI- BACK OBLIGATIONS
Our information and take-back obligations according to the Electrical and Electronic Equipment Act (ElektroG)

Symbol on electrical and electronic equipment

This crossed-out dustbin means that electrical and electronic appliances do not belong in the household waste. You must return the old appliances to a collection point.
Before handing over waste batteries and accumulators that are not enclosed by waste equipment must be separated from it.

Return options:
As an end user, you can return your old device (which essentially fulfils the same function as the new device purchased from us) free of charge for disposal when you purchase a new device.
Small appliances with no external dimensions greater than 25 cm can be disposed of in normal household quantities independently of the purchase of a new appliance.
Possibility of return at our company location during opening hours: SIMAC Electronics GmbH, Pascalstr. 8, D-47506 Neukirchen-Vluyn, Germany

Possibility of return in your area
We will send you a parcel stamp with which you can return the device to us free of charge. Please contact us by e-mail at Service@joy- it.net or by telephone.

Information on packaging:
If you do not have suitable packaging material or do not wish to use your own, please contact us and we will send you suitable packaging.

SUPPORT
If there are still any issues pending or problems arising after your purchase, we will support you by e-mail, telephone and with our ticket support system.

www.joy-it.net Simac Electronics Handel GmbH Pascalstr. 8 47506 Neukirchen-Vluyn

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals