Create A Simple GUI For USB RFid Reader EM4100 Using Raspberry Pi

Don't know how to interface USB RFid Reader with Raspberry Pi? Read this tutorial.

Introduction

Today I would like to try to interface 125KHz USB RFID Smart Card Reader EM4100. Since it is using USB cable, I choose Raspberry Pi as a controller. Even it is using USB, it is not require a driver to interact with computer. You can open any text editor, once the reader detects tag, it will read and display the tag ID to the text editor. But, how if you want to put it in the program? Let’s try!

Video

This video will show you how to create a simple GUI for USB RFid reader model EM4100 using Raspberry Pi.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is the sample code for creating a simple GUI, reading RFid tag and compare to the database. You need to create a file named Database.csv before you can run this code. For more details, please refer to the video.

Thank You

References:

  1. Raspberry Pi: Getting started with GUIs
  2. GUI library package – guizero
  3. Library to control GPIO on Raspberry Pi – gpiozero

Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.

1 thought on “Create A Simple GUI For USB RFid Reader EM4100 Using Raspberry Pi”

  1. Could we do writing process as we do read operation, I mean before the reading process from Database.csv, I want to enter the names right before manually with the help of another function and write it down to the Database.csv file.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Send and Receive SMS Using TTGO ESP32 SIM800L
Getting Started With ProjekIoT.com Using Raspberry Pi
Control Servo With Gesture Using ESP32 and Arduino
Send Sensor’s Data to ThingSpeak Using ESP32
Basic Usage of iMAX B6AC LiPo Charger
Scroll to Top