{"id":21963,"date":"2021-02-28T16:10:47","date_gmt":"2021-02-28T12:40:47","guid":{"rendered":"https:\/\/thecaferobot.com\/learn\/?p=21963"},"modified":"2022-01-08T10:29:05","modified_gmt":"2022-01-08T06:59:05","slug":"interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino","status":"publish","type":"post","link":"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u0628\u0627 \u0642\u0627\u0628\u0644\u06cc\u062a \u062e\u0648\u0627\u0646\u062f\u0646 \u0648 \u0646\u0648\u0634\u062a\u0646 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"21963\" class=\"elementor elementor-21963\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fdbfba2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fdbfba2\" data-element_type=\"section\">\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\r\n\t\t\t\t\t\t\t\t<div class=\"elementor-row\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ccc2bb5\" data-id=\"ccc2bb5\" data-element_type=\"column\">\r\n\r\n\t\t\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\r\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2876a1e elementor-widget elementor-widget-heading\" data-id=\"2876a1e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0645\u0627\u0698\u0648\u0644 RFID PN532<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-26c1325 elementor-widget elementor-widget-text-editor\" data-id=\"26c1325\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u06af\u0631 \u0634\u0645\u0627 \u0627\u0646\u062f\u06a9\u06cc \u0628\u0627 \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9 \u0622\u0634\u0646\u0627 \u0628\u0627\u0634\u06cc\u062f\u060c \u0642\u0637\u0639\u0627 \u0646\u0627\u0645\u200c\u0647\u0627\u06cc \u00a0RFID(radio-frequency-identification) \u0648 NFC (near-field-communication) \u0631\u0627 \u0634\u0646\u06cc\u062f\u0647\u200c\u0627\u06cc\u062f. \u0645\u0627\u0698\u0648\u0644 PN532 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc RFID-NFC \u0628\u0648\u062f\u0647 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0632 3 \u067e\u0631\u0648\u062a\u06a9\u0644 I2C\u060c SPI \u0648 HSU \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f. \u0645\u0628\u0646\u0627\u06cc \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0628\u0631 \u0622\u06cc\u200c\u0633\u06cc NXP PN532 \u0627\u0633\u062a. \u0645\u0627\u0698\u0648\u0644 RFID\u00a0<span style=\"letter-spacing: 0px;\">PN532<\/span><span style=\"letter-spacing: 0px;\">\u00a0\u062f\u0627\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/span><\/p><ul><li>\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 \u067e\u0631\u0648\u062a\u06a9\u0644\u200c\u0647\u0627\u06cc I2C, SPI, high-speed UART(HSU)<\/li><li>\u0637\u0631\u0627\u062d\u06cc PCB \u062c\u0647\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u062a\u0646<\/li><li>\u0641\u0627\u0635\u0644\u0647 \u0627\u0631\u062a\u0628\u0627\u0637: 5 \u062a\u0627 7 \u0633\u0627\u0646\u062a\u06cc\u200c\u0645\u062a\u0631<\/li><li>\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0631\u06cc\u062f\u0631 \u0648 \u0631\u0627\u06cc\u062a\u0631 RFID \u0634\u0627\u0645\u0644 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f:<\/li><\/ul><ol><li>\u06a9\u0627\u0631\u062a \u0647\u0627\u06cc Mifare 1K 4K\u060c Ultralight \u0648 DesFire<\/li><li>\u06a9\u0627\u0631\u062a\u0647\u0627\u06cc ISO \/ IEC 14443-4 \u0645\u0627\u0646\u0646\u062f CD97BX \u060c CD light \u060c DesFire \u0648 P5CN072 (SMX)<\/li><li>\u06a9\u0627\u0631\u062a \u0647\u0627\u06cc Innovision Jewel \u0645\u0627\u0646\u0646\u062f \u06a9\u0627\u0631\u062a IRT5001<\/li><li>\u06a9\u0627\u0631\u062a \u0647\u0627\u06cc FeliCa \u0645\u0627\u0646\u0646\u062f RCS_860 \u0648 RCS_854<\/li><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-83ed291 elementor-widget elementor-widget-image\" data-id=\"83ed291\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Module-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"PN532-NFC-RFID-Module\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE5NzQsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1BONTMyLU5GQy1SRklELU1vZHVsZS0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img width=\"600\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Module-1.jpg\" class=\"attachment-large size-large\" alt=\"\u0645\u0627\u0698\u0648\u0644 PN532 NFC-RFID \u062f\u0627\u0631\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 SPI \u0648 I2C\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3618052 elementor-widget elementor-widget-text-editor\" data-id=\"3618052\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u062f\u06cc\u062a\u0627\u0634\u06cc\u062a \u0622\u06cc\u200c\u0633\u06cc PN532 \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646\u062c\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/p><p><div class='w3eden'><!-- WPDM Link Template: Default Template -->\n\n<div class=\"link-template-default card mb-2\">\n    <div class=\"card-body\">\n        <div class=\"media\">\n            <div class=\"mr-3 img-48\"><img class=\"wpdm_icon\" alt=\"Icon\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/plugins\/download-manager\/assets\/file-type-icons\/pdf.svg\" \/><\/div>\n            <div class=\"media-body\">\n                <h3 class=\"package-title\"><a href='https:\/\/thecaferobot.com\/learn\/download\/pn532-nfc-rfid-module-datasheet\/'>PN532 NFC RFID Module Datasheet<\/a><\/h3>\n                <div class=\"text-muted text-small\"><i class=\"fas fa-copy\"><\/i> 1 file(s) <i class=\"fas fa-hdd ml-3\"><\/i> 1.71 MB<\/div>\n            <\/div>\n            <div class=\"ml-3\">\n                <a class='wpdm-download-link download-on-click btn btn-primary ' rel='nofollow' href='#' data-downloadurl=\"https:\/\/thecaferobot.com\/learn\/download\/pn532-nfc-rfid-module-datasheet\/?wpdmdl=21966&#038;refresh=6a121ea7d92251779572391\">Download<\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<\/div><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6ceab5b elementor-widget elementor-widget-heading\" data-id=\"6ceab5b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0645\u0639\u0631\u0641\u06cc \u067e\u0627\u06cc\u0647 \u0647\u0627\u06cc (Pinout) \u0645\u0627\u0698\u0648\u0644 RFID PN532<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-efc6f96 elementor-widget elementor-widget-text-editor\" data-id=\"efc6f96\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u06af\u0641\u062a\u0647 \u0634\u062f \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0628\u0631\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0632 3 \u067e\u0631\u0648\u062a\u06a9\u0644 I2C\u060c SPI \u0648 HSU \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f. SPI \u062f\u0627\u0631\u0627\u06cc \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u062c\u0632\u0627 \u0628\u0631\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0627\u0633\u062a \u0648\u0644\u06cc I2C \u0648 HSU \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc\u06cc \u0645\u0634\u062a\u0631\u06a9 \u062f\u0631 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u0631\u0646\u062f. \u0646\u0627\u0645 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 I2C \u062f\u0631 \u062c\u0644\u0648\u06cc \u0645\u0627\u0698\u0648\u0644 \u0648 \u0646\u0627\u0645 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc HSU \u067e\u0634\u062a \u0645\u0627\u0698\u0648\u0644 \u062f\u0631\u062c \u0634\u062f\u0647\u200c\u0627\u0633\u062a. \u0645\u062f HSU \u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0628\u0631 \u0631\u0648\u06cc \u0645\u0627\u0698\u0648\u0644 \u0641\u0639\u0627\u0644 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0645\u062f \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0648\u0633\u0637 \u0633\u0648\u0626\u06cc\u0686 \u06a9\u0648\u0686\u06a9 \u0628\u0631\u0631\u0648\u06cc \u0645\u0627\u0698\u0648\u0644\u060c \u0628\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0631\u0648\u062a\u06a9\u0644\u200c\u0647\u0627\u06cc SPI\u060c HSU \u0648 I2C \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f. \u067e\u0627\u06cc\u0647 \u0647\u0627\u06cc \u0647\u0631 \u0628\u062e\u0634 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<p><strong>\u067e\u0631\u0648\u062a\u06a9\u0644 <\/strong><strong>I2C<\/strong><strong>:<\/strong><\/p>\n<ul>\n<li><strong>VCC<\/strong><strong>:<\/strong> \u062a\u063a\u0630\u06cc\u0647 \u0645\u0627\u0698\u0648\u0644 \u2013 5 \u0648\u0644\u062a<\/li>\n<li><strong>GND<\/strong><strong>:<\/strong> \u0632\u0645\u06cc\u0646<\/li>\n<li><strong>SDA<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u062f\u06cc\u062a\u0627<\/li>\n<li><strong>SCL<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u06a9\u0644\u0627\u06a9<\/li>\n<\/ul>\n<p><strong>\u067e\u0631\u0648\u062a\u06a9\u0644 <\/strong><strong>SPI<\/strong><strong>:<\/strong><\/p>\n<ul>\n<li><strong>VCC<\/strong><strong>:<\/strong> \u062a\u063a\u0630\u06cc\u0647 \u0645\u0627\u0698\u0648\u0644 \u2013 3v \u062a\u0627 5v<\/li>\n<li><strong>GND<\/strong><strong>:<\/strong> \u0632\u0645\u06cc\u0646<\/li>\n<li><strong>SCK<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u0633\u0631\u06cc\u0627\u0644 \u06a9\u0644\u0627\u06a9<\/li>\n<li><strong>MISO<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u062f\u06cc\u062a\u0627\u06cc \u062e\u0631\u0648\u062c\u06cc<\/li>\n<li><strong>MOSI<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u062f\u06cc\u062a\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc<\/li>\n<li><strong>SS<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u0627\u0646\u062a\u062e\u0627\u0628 Slave<\/li>\n<li><strong>IRQ<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u0627\u06cc\u0646\u062a\u0631\u0627\u067e\u062a<\/li>\n<li><strong>RSTO<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u0631\u06cc\u0633\u062a<\/li>\n<\/ul>\n<p><strong>\u067e\u0631\u0648\u062a\u06a9\u0644 <\/strong><strong>HSU<\/strong><strong>:<\/strong><\/p>\n<ul>\n<li><strong>VCC<\/strong><strong>:<\/strong> \u062a\u063a\u0630\u06cc\u0647 \u0645\u0627\u0698\u0648\u0644 \u2013 5 \u0648\u0644\u062a<\/li>\n<li><strong>GND<\/strong><strong>:<\/strong> \u0632\u0645\u06cc\u0646<\/li>\n<li><strong>TXD<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u0641\u0631\u0633\u062a\u0646\u062f\u0647 \u062f\u06cc\u062a\u0627<\/li>\n<li><strong>RXD<\/strong><strong>:<\/strong> \u067e\u06cc\u0646 \u06af\u06cc\u0631\u0646\u062f\u0647 \u062f\u06cc\u062a\u0627<\/li>\n<\/ul>\n<p>\u067e\u06cc\u0646 \u0627\u0648\u062a (Pinout) \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e999a8d elementor-widget elementor-widget-image\" data-id=\"e999a8d\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Pinout1-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"PN532-NFC-RFID-Pinout1\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE5NzUsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1BONTMyLU5GQy1SRklELVBpbm91dDEtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"600\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Pinout1-1.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-19b84c3 elementor-widget elementor-widget-image\" data-id=\"19b84c3\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Pinout2.jpg\" data-elementor-open-lightbox=\"yes\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjAxNTcsInVybCI6ZmFsc2V9\">\n\t\t\t\t\t\t\t<img src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Pinout2.jpg\" title=\"\" alt=\"\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5798514 elementor-widget elementor-widget-heading\" data-id=\"5798514\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0644\u0648\u0627\u0632\u0645\u06cc \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u0627\u062d\u062a\u06cc\u0627\u062c \u062f\u0627\u0631\u06cc\u062f<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5b9f7e2 elementor-widget elementor-widget-image\" data-id=\"5b9f7e2\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Required-Material.jpg\" data-elementor-open-lightbox=\"yes\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjAxNTgsInVybCI6ZmFsc2V9\">\n\t\t\t\t\t\t\t<img src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Required-Material.jpg\" title=\"\" alt=\"\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8f66130 elementor-widget elementor-widget-heading\" data-id=\"8f66130\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0642\u0637\u0639\u0627\u062a \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 <\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15fc678 elementor-widget elementor-widget-html\" data-id=\"15fc678\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"70%\">\u0622\u0631\u062f\u0648\u06cc\u0646\u0648 UNO R3 \r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"http:\/\/thecaferobot.com\/store\/arduino-uno-r3\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0645\u0627\u0698\u0648\u0644 RFID PN532\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/thecaferobot.com\/store\/pn532-nfc-rfid-reader-writer\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n\t<td width=\"70%\">\u0633\u06cc\u0645 \u062c\u0627\u0645\u067e\u0631 \u0646\u0631\u06cc-\u0645\u0627\u062f\u06af\u06cc\r\n<\/td>\r\n\t<td class=\"center\" width=\"10%\">\u00d7<\/td>\r\n    <td class=\"center\" width=\"10%\">1<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"http:\/\/thecaferobot.com\/store\/40p-male-female-10cm-jumper-wire\" target=\"_blank\"><i class=\"fa fa-shopping-cart\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d22e5c9 elementor-widget elementor-widget-heading\" data-id=\"d22e5c9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-678ea54 elementor-widget elementor-widget-html\" data-id=\"678ea54\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"table-2\">\r\n<table width=\"100%\" class=\"zebra\">\r\n<tbody>\r\n\r\n<tr>\r\n\t<td width=\"90%\">\u0622\u0631\u062f\u0648\u06cc\u0646\u0648 IDE<\/td>\r\n\t<td class=\"center\" width=\"10%\"><a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\"><i class=\"fa fa-info\" style=\"\"><\/i><\/a><\/td>\r\n<\/tr>\r\n\r\n\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0827e97 elementor-widget elementor-widget-heading\" data-id=\"0827e97\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<span style=\"letter-spacing: 0px;\"><\/span><br><\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-587c8a6 elementor-widget elementor-widget-heading\" data-id=\"587c8a6\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u0627\u0648\u0644: \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7234ea4 elementor-widget elementor-widget-text-editor\" data-id=\"7234ea4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0645\u0637\u0627\u0628\u0642 \u0645\u062f\u0627\u0631 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0648\u0635\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0b327c4 elementor-widget elementor-widget-image\" data-id=\"0b327c4\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Circuit.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"PN532-NFC-RFID-Circuit.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE5NzEsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1BONTMyLU5GQy1SRklELUNpcmN1aXQuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"529\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Circuit.jpg\" class=\"attachment-large size-large\" alt=\"\u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc \u0645\u062f\u0627\u0631 \u0627\u062a\u0635\u0627\u0644 PN532 \u0628\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15daecd elementor-widget elementor-widget-heading\" data-id=\"15daecd\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u062f\u0648\u0645: \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ef6d77e elementor-widget elementor-widget-text-editor\" data-id=\"ef6d77e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc Zip \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0631\u0627 \u0627\u0632 <a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2022\/01\/PN532.zip\">\u0627\u06cc\u0646\u062c\u0627<\/a> <span style=\"letter-spacing: 0px;\">\u0648 <a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2022\/01\/PN532_SWHSU.zip\">\u0627\u06cc\u0646\u062c\u0627<\/a> \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f. \u0633\u067e\u0633 \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0627\u0632 \u062d\u0627\u0644\u062a Zip \u062e\u0627\u0631\u062c \u06a9\u0631\u062f\u0647 \u0648 \u067e\u0648\u0634\u0647\u200c\u0647\u0627\u06cc \u062f\u0631\u0648\u0646 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u0645\u062d\u0644 \u0646\u0635\u0628 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0648 \u062f\u0631 \u0642\u0633\u0645\u062a Libraries \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f.<\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-d115705 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d115705\" data-element_type=\"section\">\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\r\n\t\t\t\t\t\t\t\t<div class=\"elementor-row\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-e7a067b\" data-id=\"e7a067b\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\r\n\r\n\t\t\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\r\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\r\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7c06489 elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"7c06489\" data-element_type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"far fa-lightbulb\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b5f46a5 elementor-widget elementor-widget-heading\" data-id=\"b5f46a5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">\u062a\u0648\u062c\u0647<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8338009 elementor-widget elementor-widget-text-editor\" data-id=\"8338009\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u06af\u0631 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u0628\u06cc\u0634\u062a\u0631 \u062f\u0627\u0631\u06cc\u062f\u060c \u0628\u0647 <a href=\"https:\/\/thecaferobot.com\/learn\/how-to-install-an-arduino-library\/\">\u0627\u06cc\u0646\u062c\u0627<\/a> \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t<div class=\"elementor-element elementor-element-1f981c5 elementor-widget elementor-widget-heading\" data-id=\"1f981c5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">\u06af\u0627\u0645 \u0633\u0648\u0645: \u06a9\u062f   <\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a5231e7 elementor-widget elementor-widget-text-editor\" data-id=\"a5231e7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u0628\u062a\u062f\u0627 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0631\u0648\u06cc \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u062e\u0648\u062f \u0622\u067e\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0628\u0647 \u0639\u0644\u062a \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 2 \u067e\u0627\u06cc\u0647 \u0633\u0631\u06cc\u0627\u0644 \u062f\u06cc\u06af\u0631\u060c \u0627\u0632 SoftwareSerial \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647\u200c\u0627\u0633\u062a.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c147c8f elementor-widget elementor-widget-html\" data-id=\"c147c8f\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<pre class=\"line-numbers lang-arduino\"><code>    \/*\r\n  PN532-NFC-RFID-Module-Library\r\n  modified on 18 Nov 2020\r\n  by Amir Mohammad Shojaee @ Electropeak\r\n  https:\/\/electropeak.com\/learn\/\r\n\r\n  based on www.electroschematics.com Arduino Examples\r\n*\/\r\n\r\n#include &lt;SoftwareSerial.h&gt;\r\n\r\n#include &lt;PN532_SWHSU.h&gt;\r\n\r\n#include &lt;PN532.h&gt;\r\n\r\nSoftwareSerial SWSerial( 10, 11 ); \/\/ RX, TX\r\n\r\nPN532_SWHSU pn532swhsu( SWSerial );\r\n\r\nPN532 nfc( pn532swhsu );\r\n\r\n\r\nvoid setup(void) {\r\n\r\n  Serial.begin(115200);\r\n\r\n  Serial.println(&quot;Hello Maker!&quot;);\r\n\r\n  nfc.begin();\r\n\r\n  uint32_t versiondata = nfc.getFirmwareVersion();\r\n\r\n  if (! versiondata) {\r\n\r\n    Serial.print(&quot;Didn't Find PN53x Module&quot;);\r\n\r\n    while (1); \/\/ Halt\r\n\r\n  }\r\n\r\n  \/\/ Got valid data, print it out!\r\n\r\n  Serial.print(&quot;Found chip PN5&quot;); Serial.println((versiondata&gt;&gt;24) &amp; 0xFF, HEX);\r\n\r\n  Serial.print(&quot;Firmware ver. &quot;); Serial.print((versiondata&gt;&gt;16) &amp; 0xFF, DEC);\r\n\r\n  Serial.print('.'); Serial.println((versiondata&gt;&gt;8) &amp; 0xFF, DEC);\r\n\r\n  \/\/ Configure board to read RFID tags\r\n\r\n  nfc.SAMConfig();\r\n\r\n  Serial.println(&quot;Waiting for an ISO14443A Card ...&quot;);\r\n\r\n}\r\n\r\nvoid loop(void) {\r\n\r\n  boolean success;\r\n\r\n  uint8_t uid[] = { 0, 0, 0, 0, 0, 0, 0 };  \/\/ Buffer to store the returned UID\r\n\r\n  uint8_t uidLength;                       \/\/ Length of the UID (4 or 7 bytes depending on ISO14443A card type)\r\n\r\nsuccess = nfc.readPassiveTargetID(PN532_MIFARE_ISO14443A, &amp;uid[0], &amp;uidLength);\r\n\r\n  if (success) {\r\n\r\n    Serial.println(&quot;Found A Card!&quot;);\r\n\r\n    Serial.print(&quot;UID Length: &quot;);Serial.print(uidLength, DEC);Serial.println(&quot; bytes&quot;);\r\n\r\n    Serial.print(&quot;UID Value: &quot;);\r\n\r\n    for (uint8_t i=0; i &lt; uidLength; i++)\r\n\r\n    {\r\n\r\n      Serial.print(&quot; 0x&quot;);Serial.print(uid[i], HEX);\r\n\r\n    }\r\n\r\n    Serial.println(&quot;&quot;);\r\n\r\n    \/\/ 2 second halt\r\n\r\n    delay(2000);\r\n\r\n  }\r\n\r\n  else\r\n\r\n  {\r\n\r\n    \/\/ PN532 probably timed out waiting for a card\r\n\r\n    Serial.println(&quot;Timed out! Waiting for a card...&quot;);\r\n\r\n  }\r\n}\r\n<\/code><\/pre>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d357676 elementor-widget elementor-widget-text-editor\" data-id=\"d357676\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>\u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u0633\u062a\u06cc \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u067e\u06cc\u0648\u0633\u062a \u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631 \u062f\u0631 \u0645\u062f HSU \u0627\u0633\u062a. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u067e\u0627\u06cc\u0647 10 \u0648 11 \u062c\u0647\u062a \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0645\u0627\u0698\u0648\u0644 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062f\u0648 \u067e\u06cc\u0646 \u0633\u0631\u06cc\u0627\u0644 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0627\u06af\u0631 \u06a9\u0627\u0631\u062a \u0631\u0627 \u00a0\u0628\u0647 \u0645\u0627\u0698\u0648\u0644 \u0646\u0632\u062f\u06cc\u06a9 \u06a9\u0646\u06cc\u0645\u060c \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u062f\u0631 \u062e\u0631\u0648\u062c\u06cc \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0622\u0646 \u0638\u0627\u0647\u0631 \u0645\u06cc\u200c\u06af\u0631\u062f\u062f.<\/p><p>\u0639\u06a9\u0633 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0628\u06cc\u0646\u06cc\u062f. \u06a9\u0627\u0631\u062a \u0631\u0627 \u0646\u0632\u062f\u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u06a9\u0631\u062f\u0647 \u0648 \u0633\u067e\u0633 \u0628\u0631\u0645\u06cc\u200c\u062f\u0627\u0631\u06cc\u0645. \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0627\u0628\u062a\u062f\u0627 \u06a9\u0627\u0631\u062a \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0634\u062f\u0647 \u0648 \u0633\u067e\u0633 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0622\u0646 \u062f\u0631 \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b06b774 elementor-widget elementor-widget-image\" data-id=\"b06b774\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Result.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"PN532-NFC-RFID-Result.jpg\" e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjE5NzIsInVybCI6Imh0dHBzOlwvXC90aGVjYWZlcm9ib3QuY29tXC9sZWFyblwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMVwvMDFcL1BONTMyLU5GQy1SRklELVJlc3VsdC5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img width=\"800\" height=\"553\" src=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/PN532-NFC-RFID-Result.jpg\" class=\"attachment-large size-large\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/section>\r\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u0627\u06af\u0631 \u0634\u0645\u0627 \u0627\u0646\u062f\u06a9\u06cc \u0628\u0627 \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9 \u0622\u0634\u0646\u0627 \u0628\u0627\u0634\u06cc\u062f\u060c \u0642\u0637\u0639\u0627 \u0646\u0627\u0645\u200c\u0647\u0627\u06cc \u00a0RFID(radio-frequency-identification) \u0648 NFC (near-field-communication) \u0631\u0627 \u0634\u0646\u06cc\u062f\u0647\u200c\u0627\u06cc\u062f. \u0645\u0627\u0698\u0648\u0644 PN532 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc RFID-NFC \u0628\u0648\u062f\u0647 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0632 3 \u067e\u0631\u0648\u062a\u06a9\u0644 I2C\u060c SPI \u0648 HSU \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f. \u0645\u0628\u0646\u0627\u06cc \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0628\u0631 \u0622\u06cc\u200c\u0633\u06cc NXP PN532 \u0627\u0633\u062a. \u0645\u0627\u0698\u0648\u0644 RFID\u00a0PN532\u00a0\u062f\u0627\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0627\u0633\u062a: \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 \u067e\u0631\u0648\u062a\u06a9\u0644\u200c\u0647\u0627\u06cc [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":21964,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[938],"tags":[4601],"platform":[1071],"bytype":[1075],"difficulty":[1077],"related_products":[4242],"featured_image_src":{"landsacpe":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-10.jpg",1200,900,false],"list":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-10.jpg",1200,900,false],"medium":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-10.jpg",533,400,false],"full":["https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-10.jpg",1200,900,false]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v14.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u0628\u0627 \u0642\u0627\u0628\u0644\u06cc\u062a \u062e\u0648\u0627\u0646\u062f\u0646 \u0648 \u0646\u0648\u0634\u062a\u0646 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a<\/title>\n<meta name=\"description\" content=\"\u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647\u060c \u0645\u062b\u0627\u0644\u060c \u06a9\u062f\u060c \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc\u060c \u0646\u0645\u0648\u0646\u0647\u060c \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\" \/>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u0628\u0627 \u0642\u0627\u0628\u0644\u06cc\u062a \u062e\u0648\u0627\u0646\u062f\u0646 \u0648 \u0646\u0648\u0634\u062a\u0646 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 - \u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"og:description\" content=\"\u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 RFID PN532 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0645\u0631\u0627\u0647\u060c \u0645\u062b\u0627\u0644\u060c \u06a9\u062f\u060c \u0633\u06cc\u0645 \u0628\u0646\u062f\u06cc\u060c \u0646\u0645\u0648\u0646\u0647\u060c \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"\u06a9\u0627\u0641\u0647 \u0631\u0628\u0627\u062a\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-28T12:40:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-08T06:59:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-10.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\",\"name\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"url\":\"https:\/\/thecaferobot.com\/learn\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#logo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2018\/08\/Logo-small.png\",\"width\":250,\"height\":250,\"caption\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\",\"url\":\"https:\/\/thecaferobot.com\/learn\/\",\"name\":\"\\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"description\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0627\\u0644\\u06a9\\u062a\\u0631\\u0648\\u0646\\u06cc\\u06a9\\u060c \\u0631\\u0628\\u0627\\u062a\\u06cc\\u06a9\\u060c \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 \\u0648 \\u0631\\u0633\\u067e\\u0628\\u0631\\u06cc \\u067e\\u0627\\u06cc\",\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/thecaferobot.com\/learn\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/thecaferobot.com\/learn\/wp-content\/uploads\/2021\/01\/Teaser-10.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/#webpage\",\"url\":\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/\",\"name\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647\\u200c\\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 RFID PN532 \\u0628\\u0627 \\u0642\\u0627\\u0628\\u0644\\u06cc\\u062a \\u062e\\u0648\\u0627\\u0646\\u062f\\u0646 \\u0648 \\u0646\\u0648\\u0634\\u062a\\u0646 \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648 - \\u06a9\\u0627\\u0641\\u0647 \\u0631\\u0628\\u0627\\u062a\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/#primaryimage\"},\"datePublished\":\"2021-02-28T12:40:47+00:00\",\"dateModified\":\"2022-01-08T06:59:05+00:00\",\"description\":\"\\u062f\\u0631 \\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647 \\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 RFID PN532 \\u06cc\\u0627\\u062f \\u0645\\u06cc\\u200c\\u06af\\u06cc\\u0631\\u06cc\\u062f \\u0686\\u06af\\u0648\\u0646\\u0647 \\u0627\\u0632 \\u0645\\u0627\\u0698\\u0648\\u0644 RFID PN532 \\u0627\\u0633\\u062a\\u0641\\u0627\\u062f\\u0647 \\u06a9\\u0646\\u06cc\\u062f \\u0628\\u0647 \\u0647\\u0645\\u0631\\u0627\\u0647\\u060c \\u0645\\u062b\\u0627\\u0644\\u060c \\u06a9\\u062f\\u060c \\u0633\\u06cc\\u0645 \\u0628\\u0646\\u062f\\u06cc\\u060c \\u0646\\u0645\\u0648\\u0646\\u0647\\u060c \\u06a9\\u062a\\u0627\\u0628\\u062e\\u0627\\u0646\\u0647\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/#webpage\"},\"author\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/b6791ba5e680550ef96ffd3dc0deef0c\"},\"headline\":\"\\u0622\\u0645\\u0648\\u0632\\u0634 \\u0631\\u0627\\u0647\\u200c\\u0627\\u0646\\u062f\\u0627\\u0632\\u06cc \\u0645\\u0627\\u0698\\u0648\\u0644 RFID PN532 \\u0628\\u0627 \\u0642\\u0627\\u0628\\u0644\\u06cc\\u062a \\u062e\\u0648\\u0627\\u0646\\u062f\\u0646 \\u0648 \\u0646\\u0648\\u0634\\u062a\\u0646 \\u0628\\u0627 \\u0622\\u0631\\u062f\\u0648\\u06cc\\u0646\\u0648\",\"datePublished\":\"2021-02-28T12:40:47+00:00\",\"dateModified\":\"2022-01-08T06:59:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/#organization\"},\"image\":{\"@id\":\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/#primaryimage\"},\"keywords\":\"RFID\",\"articleSection\":\"\\u0627\\u0631\\u062a\\u0628\\u0627\\u0637\\u0627\\u062a\",\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thecaferobot.com\/learn\/interfacing-pn532-nfc-rfid-reader-writer-module-i2c-spi-with-arduino\/#respond\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/thecaferobot.com\/learn\/#\/schema\/person\/b6791ba5e680550ef96ffd3dc0deef0c\",\"name\":\"\\u0627\\u0645\\u06cc\\u0631 \\u0645\\u062d\\u0645\\u062f \\u0634\\u062c\\u0627\\u0639\\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/thecaferobot.com\/learn\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a179973280bc72da373a553a314a2593?s=96&d=mm&r=g\",\"caption\":\"\\u0627\\u0645\\u06cc\\u0631 \\u0645\\u062d\\u0645\\u062f \\u0634\\u062c\\u0627\\u0639\\u06cc\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/21963"}],"collection":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/comments?post=21963"}],"version-history":[{"count":13,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/21963\/revisions"}],"predecessor-version":[{"id":26262,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/posts\/21963\/revisions\/26262"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media\/21964"}],"wp:attachment":[{"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/media?parent=21963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/categories?post=21963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/tags?post=21963"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/platform?post=21963"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/bytype?post=21963"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/difficulty?post=21963"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/thecaferobot.com\/learn\/wp-json\/wp\/v2\/related_products?post=21963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}