How to use RFID with Arduino | How to use the RC522 RFID module with an Arduino - Tutorial
ฝัง
- เผยแพร่เมื่อ 12 ก.ค. 2019
- #RFID #Arduino #electronicguru
Buy RFID Reader :
www.banggood.in/RC522-Chip-IC...
Buy Arduino UNO :
www.banggood.in/Wholesale-Ard...
Buy BreadBoard :
www.banggood.in/Geekcreit-MB-...
www.banggood.in/Wholesale-Tes...
Support me on PayPal :
paypal.me/electronicguru007
electronicGURU Instagram :
electronicguru0...
electronicGURU FB page : - / electronicguru001
visit my site :
electronicguru.in
Electronic Guru Forum :
electronicguru.in/forums/foru...
My RFID code:
github.com/shveytank/RFID-code - วิทยาศาสตร์และเทคโนโลยี
this did work, my rfid reader did read a card
but how did you put led's without showing them
i dont want to stare at a serial monitor all day just to see if my card declined
I am buying Arduino RFID reader kit this weekend 🎉
Concise and informative. Exactly how I like tutorial videos.
thank you
Great video once again 😃
Hi sir! Your video is very informative! so is it possible to do this with TCP/IP?
Thank you so much
how to use RFID with stc 8081 ?
Maby how to buid it?
Bhai maine sub kuch kia bar bar connection ki par wo card ka uid hiii nahi de raha hai
Sir I have a doubt ,,How we add the information in RFID tag
Yo there is no info
Sir I bought rfid card from Delhi but cards not working. We not found UID I'd.
@@electronicGURU rfid card cannot be scanned.
show approximate your card to the reader on the serial monitor
Thanks
your welcome brother
Hello. My module is not reading the cards. And it says that firmware is unknown.please help me resolve this problem for our project.please
I have the same problem
Any solution?
hi can i have a schematic for the connections from rfid module to arduino pls
i already mentioned it in video ? right? what needs to be connected where?
@@electronicGURU yeh you did thanks, but can you send a png file of it pls?
sorry i Don't have it now , i usually delete it all after video publishing. please take a screenshot from video.
Can you help me it says firmware version unknown and its says warning communication failure on Comm 5
Did your problem resolve? If so can you help me? It's the same problem for me. Please help us
@@iswaryakuchimanchi9176 no I just realized you cannot solve this problem you have to buy a new reader
Very good
Please share the code with more than 1 RFid access. or share link if there is any video thank.
here you go pal:
just change if condition with authorized access
if (content.substring(1) == "(1st rfid tag)" || content.substring(1) == "(2nd rfid tag)"
Hi
Can I increase the range of this module upto 1meter?
Umm no its alot more complicated than that
Nice......
mu one is not reading cards
How far can the sensor get the key
less than 1cm
it have very less range to detect and we can't increase it
yes thats correct
I did not see the link to your code
#include
#include
#define SS_PIN 10
#define RST_PIN 9
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance.
void setup()
{
pinMode(7,1);
pinMode(6,1);
Serial.begin(9600); // Initiate a serial communication
SPI.begin(); // Initiate SPI bus
mfrc522.PCD_Init(); // Initiate MFRC522
Serial.println("Approximate your card to the reader...");
Serial.println();
}
void loop()
{
// Look for new cards
if ( ! mfrc522.PICC_IsNewCardPresent())
{
return;
}
// Select one of the cards
if ( ! mfrc522.PICC_ReadCardSerial())
{
return;
}
//Show UID on serial monitor
Serial.print("UID tag :");
String content= "";
byte letter;
for (byte i = 0; i < mfrc522.uid.size; i++)
{
Serial.print(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " ");
Serial.print(mfrc522.uid.uidByte[i], HEX);
content.concat(String(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " "));
content.concat(String(mfrc522.uid.uidByte[i], HEX));
}
Serial.println();
Serial.print("Message : ");
content.toUpperCase();
if (content.substring(1) == "F9 D1 F3 6E") //change here the UID of the card/cards that you want to give access
{
Serial.println("Authorized access");
Serial.println();
//delay(3000);
digitalWrite(6,1);
delay(200);
digitalWrite(6,0);
delay(200);
digitalWrite(6,1);
delay(200);
digitalWrite(6,0);
delay(200);
digitalWrite(6,1);
delay(200);
digitalWrite(6,0);
delay(1000);
}
else
{
Serial.println(" Access denied");
Serial.println();
//delay(3000);
digitalWrite(7,1);
delay(200);
digitalWrite(7,0);
delay(200);
digitalWrite(7,1);
delay(200);
digitalWrite(7,0);
delay(200);
digitalWrite(7,1);
delay(200);
digitalWrite(7,0);
delay(1000);
}
}
My error please reply me,
01:47:20.586 -> Firmware Version: 0x0 = (unknown)
01:47:20.586 -> WARNING: Communication failure, is the MFRC522 properly connected?
01:47:20.623 -> Scan PICC to see UID, SAK, type, and data blocks...
check your connection/wiring
Hii even I am facing the same error please help me
@@shreyakarkun317 me too bro
th-cam.com/users/sgaming/emoji/7ff574f2/emoji_u1f62d.png
yeah me too
Me too 🙃
Hi
I would like to contact you
I have a job for you
Well ping me on instagram.
@@electronicGURU
Can you contact me on
Khaledhashad@hotmail.com
Thanks
Hi Khaled please mail to me. My mail id is in channel description.
@@electronicGURU hi sir pls I have watch your rfid circuit but I don't see the link to that code please help me to send the link sir
THIS IS NOT WORKING I DO IT 545752415456415415 TIMES AND IT DONT WANT TO WORK!?!?!?!?!?!?!?!
🤩😎🕺🎤🎼🏆🏅🥇❤❤❤❤❤
Firmware Version : 0×0 = (unknown)
Is this mean my RFID broken?
Same problem
can be broken but firmware can be updated using GiT
Tags not detected no output on serial monitor....any solution?
he is not reading my card
Any solution?
Most probably it is a connection error try pressing it with your finger or push it a little to the front or back while trying to scan