PN532 NFC RFID Module Tutorial | Interfacing PN532 with Arduino in UART, I2C & SPI Mode

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ค. 2024
  • Register and get $100 from NextPCB:
    www.nextpcb.com/register?code...
    PCB Assembly capabilities info:
    www.nextpcb.com/pcb-assembly-...
    𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
    This is the NFC Module from NXP Semiconductor called PN532. NFC or Near Field Communication is a technology standard based on Radio Frequency Identification, transmitting information wirelessly over short distances. The key distinction between RFID and NFC lies in their transmission ranges. The RFID is often used over longer distances. NFC, however, only has a maximum range of a few centimeters, at most. NFC devices can act as either a reader or tag.
    In this tutorial, we will be interfacing PN532 NFC RFID Module with Arduino. Earlier we used the RC522 module which is certainly the best-known RFID module for the Arduino projects. But the PN532 NFC reader has certain advantages over RC522, particularly in terms of communication options. Here, we will see how to use PN532 NFC RFID Module with Arduino according to the different communication methods UART, SPI & I2C. Later we will display the UID numbers of the NFC card on a 0.96″ OLED Display. So let's begin.
    𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲 & 𝗟𝗶𝗻𝗸: how2electronics.com/interfaci...
    ....................................................................................................................................................................................................................................
    Drop a like if you liked this video.
    Don't forget to subscribe to our channel for more Electronics projects and tutorials.
    Website: www.how2electronics.com
    Facebook: / howtoelectronics
    Instagram: / howtoelectronics
    Twitter: / how2electronics
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 22

  • @dibyojyotibhattacherjee897
    @dibyojyotibhattacherjee897 2 ปีที่แล้ว

    Hello, if u do a series on pcb design, it would be really helpful.

  • @anggaamalulahli9413
    @anggaamalulahli9413 6 หลายเดือนก่อน

    Why is it that when communicating using SPI, only one pin is declared? What are the other pins used for if not declared?

  • @DonLaplace4130
    @DonLaplace4130 2 ปีที่แล้ว

    Can you connect more than one module NFC to an Arduino?

  • @electronic7979
    @electronic7979 2 ปีที่แล้ว +1

    Super

  • @krzakowy4415
    @krzakowy4415 9 หลายเดือนก่อน

    I use I2C, doesn't detect white cards, only keychain and pizzeria card, why?

  • @justsayjay
    @justsayjay 10 หลายเดือนก่อน

    Could you use this as a simple on/off switch for a project? Like to turn on a whole device only with an rfid tag? No read / write info. Just to turn on and off a thing?

    • @histon
      @histon 2 หลายเดือนก่อน

      yeah if you keep a microcontroller running constantly searching for tags, on battery power or powered from your main power rail, then use that microcontroller to switch a relay or something to turn your main device on/off. then in the code you don't check for a specific ID, just if there is a tag detected at all then you switch the relay.

  • @liswifi
    @liswifi ปีที่แล้ว

    Your code is for the ATMega processor, but you're running a Nano. Doesn't that use the nRF processor instead?

  • @flaviocunha7576
    @flaviocunha7576 ปีที่แล้ว

    Isn't this module 3.3 Volts?

  • @rochdimaria
    @rochdimaria 2 ปีที่แล้ว +6

    Can it read smartphone nfc ?

    • @SS-Ak47
      @SS-Ak47 4 หลายเดือนก่อน

      Afaik the chip can do that but I'm not sure if the library supports it

  • @irawanie8635
    @irawanie8635 ปีที่แล้ว +1

    the libraries used here is not supported by arduino ide (2.0.3) anymore.
    upgrade is needed.

    • @HowtoElectronics
      @HowtoElectronics  ปีที่แล้ว

      Downgrade the arduino IDE to earlier version.

  • @practi-herramientasdesoftw3208
    @practi-herramientasdesoftw3208 ปีที่แล้ว

    4:42 5v ? is 3.3v

  • @somenathsamanta_8743
    @somenathsamanta_8743 2 ปีที่แล้ว +2

    PN532_I2C.h no such file or directery this error is hapening

    • @heroshimanara5173
      @heroshimanara5173 3 หลายเดือนก่อน

      im also getting this error, if u found the solution please share it with me

  • @Luca_040
    @Luca_040 ปีที่แล้ว

    you forgot SPI mode

  • @SS-Ak47
    @SS-Ak47 4 หลายเดือนก่อน

    Doesn't work

  • @ismartalluarjun
    @ismartalluarjun ปีที่แล้ว

    Please make
    Mit app inventor android app
    Make video
    Nfc and RFID all the best thing

  • @IbnuHallaz
    @IbnuHallaz 2 ปีที่แล้ว

    nfc.getFirmwareVersion(); return 0 Didn't Find PN53x Module
    How I can fix it?