Difference between revisions of "RFID-HAT"

From SB-Components Wiki

Line 59: Line 59:
 
<pre> sudo raspi-config </pre>
 
<pre> sudo raspi-config </pre>
 
Choose Interfacing Options -> Serial -> No -> Yes
 
Choose Interfacing Options -> Serial -> No -> Yes
 +
 +
* Now reboot your pi by running the below command :
 +
<pre> sudo reboot </pre>
  
 
===== Testing =====
 
===== Testing =====

Revision as of 06:59, 4 June 2021

RFID HAT (Incomplete Wiki)

RFID HAT for Raspberry Pi is the latest technology in the range of SB Component products boasting with an updated UART interface running at the frequency of 125KHz with a compact design that has a programmable 0.91” OLED Display that compatibles with all the variants of Raspberry Pi.

Features

  • Standard Raspberry Pi 40 pin GPIO Extension header.
  • UART communication interface
  • On-board programmable 0.91" oled display.
  • Programmable buzzer
  • Support 125 KHz cards/tags/key fobs .

Specifications

  • Operating voltage: 5V DC
  • Operating Frequency: 125 KHz
  • Communication Interface
  • Default Baudrate: 9600

Pinout

Board PIN Raspberry Pi GPIO (BCM)
VCC5V
GNDGND
RFID TXGPIO 15
OLED SDAGPIO 2
OLED SCLGPIO 3
BuzzerGPIO 17

Installation

Python

Library Installation

Before running this board you have to install the required libraries for RFID HAT.

  • For Python3, install these two libraries by running the below command on the terminal.
 sudo apt-get install python-smbus 
 sudo apt-get install i2c-tools 


Board TEST

Required Hardware
  • Raspberry Pi x 1
  • RFID HAT x 1
Enable I2C and Serial Interface
  • Open a terminal and run the following commands to enable I2C:
 sudo raspi-config 

Choose Interfacing Options -> I2C ->yes

  • Again run below command to enable Serial
 sudo raspi-config 

Choose Interfacing Options -> Serial -> No -> Yes

  • Now reboot your pi by running the below command :
 sudo reboot 
Testing

Resources