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.

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 Tutorail

ESP32 PD Line Following Robot with Maker Line
Raspberry Pi Line Following Robot with Maker Line
Magnetic Contact Switch Sensor with Arduino.
Control MDDS30 In Serial Simplified Mode Using Raspberry Pi
Control A Servo And Display Sensor’s Reading Using The GUI On Arduino.
Scroll to Top