Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Waveshare

Waveshare NFC HAT: PN532 Contactless Reader for Pi

Waveshare NFC HAT: PN532 Contactless Reader for Pi

April 1, 2026 /Posted by / 0

The Waveshare NFC HAT with PN532 chip adds contactless read/write capability for access control, attendance, and data exchange.

Table of Contents

  • NFC Basics
  • Specs
  • Setup
  • Python Code
  • Projects
  • Security
  • FAQ

NFC and RFID Basics

  • 13.56 MHz, range ~10 cm
  • Reads MIFARE Classic, Ultralight, NTAG tags
  • NDEF format for URLs, text, contacts
Recommended: Waveshare ESP32-S3-Nano Development Board

Specs

  • NXP PN532, ISO14443A/B, MIFARE, FeliCa
  • I2C/SPI/UART selectable via DIP switches
  • Read range up to 7 cm

Setup

  1. Set DIP switches to I2C mode.
  2. Enable I2C on Pi.
  3. Install: pip3 install adafruit-circuitpython-pn532

Python Code

from adafruit_pn532.i2c import PN532_I2C
import board, busio
i2c = busio.I2C(board.SCL, board.SDA)
pn532 = PN532_I2C(i2c)
pn532.SAM_configuration()
while True:
    uid = pn532.read_passive_target(timeout=0.5)
    if uid: print(f"Card: {uid.hex()}")
Recommended: Waveshare 2.8inch Touch LCD Shield for Arduino

Projects

  • Office access control with door lock relay
  • Student attendance system with timestamp logging
  • Library book checkout
  • Digital business card on NFC tag

Security Notes

  • MIFARE Classic encryption is broken — use DESFire for real security.
  • UIDs can be cloned — add server-side validation.
  • Combine NFC + PIN for higher security.

Frequently Asked Questions

What cards work?

MIFARE Classic 1K/4K, Ultralight, NTAG213/215/216.

Read credit cards?

Can detect them but cannot access payment data.

Read range?

3-7 cm with built-in antenna.

Card emulation?

Yes, PN532 supports emulation mode.

Conclusion

The NFC HAT adds contactless identification to Pi projects for access control, attendance, and smart labels.

Browse the full Waveshare collection at Zbotic.in with fast shipping across India.

Tags: NFC, PN532, rfid, waveshare
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
Toothpick Drone Build: Ultrali...
blog toothpick drone build ultralight outdoor fpv 614079
blog wire ferrule crimping safe terminal connections 614081
Wire Ferrule Crimping: Safe Te...

Related posts

Svg%3E
Read more

Waveshare Firmware Update: Flash Latest Software Guide

April 1, 2026 0
Many Waveshare products contain updatable firmware. Keeping firmware current fixes bugs and adds features. Table of Contents Which Products Need... Continue reading
Svg%3E
Read more

Waveshare Troubleshooting: Common Issues and Fixes

April 1, 2026 0
Even reliable hardware encounters issues. This guide addresses the most common Waveshare problems and their solutions. Table of Contents Display... Continue reading
Svg%3E
Read more

Waveshare Education Kit: Classroom Raspberry Pi Pack

April 1, 2026 0
The Waveshare education kit is designed for STEM classrooms, with structured lessons from basic to advanced. Table of Contents Kit... Continue reading
Svg%3E
Read more

Waveshare Industrial Kit: RS485, CAN, and 4G Bundle

April 1, 2026 0
The Waveshare industrial kit combines RS485, CAN bus, and 4G for connecting legacy factory equipment to modern cloud platforms. Table... Continue reading
Svg%3E
Read more

Waveshare Weather Kit: Environmental Monitoring Bundle

April 1, 2026 0
The Waveshare weather kit bundles environmental sensors for building a complete weather monitoring station. Table of Contents Sensors Included Setup... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now