How to use Arduino and RFID

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 มี.ค. 2016
  • Created by IOXhop : www.ioxhop.com
    การใช้งานโมดูลอ่าน RFID กับ Arduino แบบง่ายๆ
    www.ioxhop.com/article/%E0%B8%...
    MFRC-522 RFID Module RC522 Reader Kits S50 13.56mhz 6cm with Tags RF IC Card
    www.ioxhop.com/product/173/mfr...

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

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

    thanks for the video man , simplification at its best

  • @erikhoffman
    @erikhoffman 6 ปีที่แล้ว +3

    Thanks for a wonderful project
    I am using a relay but want to use the same tag for on and off - how do I change the sketch?
    Thanks
    Erik

  • @AMNAT.T
    @AMNAT.T 5 ปีที่แล้ว

    เป็นประโยชน์มากครับ

  • @detdamdongbori_Diy_inventer
    @detdamdongbori_Diy_inventer 4 ปีที่แล้ว

    ทำตามแล้ว ใช้งานได้ดีครับ

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

    Simple and very useful video...

  • @ass.carneiro1007
    @ass.carneiro1007 5 ปีที่แล้ว

    It works great On Uno R3 ! Thank´s

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

    You're a lifesaver man.. More wisdom

  • @SahariarAkash
    @SahariarAkash 6 ปีที่แล้ว

    very clear and precise. like it

  • @arifkamal7329
    @arifkamal7329 7 ปีที่แล้ว

    nice tutorial.. for learning arduino

  • @letsgo_123
    @letsgo_123 5 ปีที่แล้ว +35

    *Tutorial on how to code an RFID chip*
    *Copy and pastes code*
    *Wow I’m learning so much*

    • @ak-wq6di
      @ak-wq6di 3 ปีที่แล้ว +1

      dude find it out yourself. you can translate all the thai in english to so chill out

  • @stevemorse5052
    @stevemorse5052 5 ปีที่แล้ว +3

    I want to personally thank you for a great and well balanced video.
    I followed the wiring instructions to the letter.
    Then I downloaded the library and installed it.
    I copied the program, compiled & downloaded it.
    It worked first time.
    I am sorry that some of the other comments were not as nice as mine, I suggest you ignore them.
    Thanks

  • @kuldeeppanchalblog
    @kuldeeppanchalblog 7 ปีที่แล้ว +7

    thank you friend
    i made it its very easy and appriciate

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

      do you have his code? because I cant seem to find the code

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

    Thanks, for give new idea of jumper wire this save my lots of money.

  • @littlepetebexley
    @littlepetebexley 4 ปีที่แล้ว

    Hi I was wondering if you had come across the PAC RFID tags?

  • @RFX01
    @RFX01 5 ปีที่แล้ว +83

    "Copy code to Arduino IDE"
    yeah thanks for teaching me literally nothing

    • @OskarP2601
      @OskarP2601 3 ปีที่แล้ว +4

      RFX Dude research the code yourself and see what everything does unless your a beginner don’t bite off more than you can chew

    • @codingvio7383
      @codingvio7383 3 ปีที่แล้ว +5

      @@OskarP2601 He is trying to say that litteraly nobody explains the code and how it works, all they do is copy the code and show how it works, and people who dont trust downloading random things from sketchy websites just get agitated

  • @oebgronin
    @oebgronin 6 ปีที่แล้ว

    It works, great video

  • @joannadyjach1143
    @joannadyjach1143 4 ปีที่แล้ว

    Thank you it works

  • @chou4525
    @chou4525 7 ปีที่แล้ว

    It's OK. Thank you very much.

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

    เมื่อนำแท็กไปติ๊ก แล้วต้องการให้แสดงผลออกทางจอ LCD โดยขึ้นชื่อต้องทำยังไงคะ

  • @nitchananrakthai9149
    @nitchananrakthai9149 3 ปีที่แล้ว

    ขอสอบถามหน่อยค่ะ ถ้าเราได้รหัส RFID จากการอ่านค่าจาก Module RFID เเล้ว เเล้วเราจะกรอกข้อมูลส่วนตัวลงไปใช้ในการยืนยันตัวตน เราสามารถนำรหัส RFID ไปเขียนต่อในโปรเเกรมไหนได้บ้างคะ

  • @gerardocardoso5779
    @gerardocardoso5779 7 ปีที่แล้ว

    Thank,That is great!!!!

  • @ronnieku972
    @ronnieku972 7 ปีที่แล้ว +4

    is there anyway we could know the programming in PCB of a door lock? like how it is shown in your video?

  • @jumbo999614
    @jumbo999614 4 ปีที่แล้ว

    ใช้ได้ การ์ดใบไหนบ้างครับ ลองใช้กับคีย์การ์ดเข้าหอพัก ไม่อ่านครับ อ่านแผนขาวฯ
    ส่วนที่เป็นพวกกุญแจ อ่านได้ไม่กีบรรทัดก็มี
    PCD_Authenticate() failed: Timeout in communication

  • @sergiogaviapizarro9860
    @sergiogaviapizarro9860 5 ปีที่แล้ว

    quiero saber el mismo sistema pero que sea portátil y que las tag leídos queden guardados ??
    me ayudas

  • @kamonthepchitnarong170
    @kamonthepchitnarong170 3 ปีที่แล้ว

    ขอบคุณครับ

  • @Luky584LPcz
    @Luky584LPcz 5 ปีที่แล้ว

    Nice video! Like it

  • @mustafaahmed5457
    @mustafaahmed5457 4 ปีที่แล้ว

    thank you vary much

  • @SachinSharma-bk2lg
    @SachinSharma-bk2lg 3 ปีที่แล้ว

    how to use passive tags ?
    can you make a video in this context
    where the tags gets noted when in range of several meters

    • @chriszhu4684
      @chriszhu4684 3 ปีที่แล้ว

      You can use a UHF RFID reader is you need to read long range

  • @thanhtaiho1759
    @thanhtaiho1759 5 ปีที่แล้ว

    nice work bro,with love form VietNam

  • @geniman1263
    @geniman1263 3 ปีที่แล้ว

    Thx buddy

  • @IDMIPoseidon
    @IDMIPoseidon 5 ปีที่แล้ว

    Hello. I'm going to use simple MRFC22 RFID sensor inside a backpack, specifically on the backpack surface/layer. Is it possible to operate the RFID that way? Can the RFID sensor read the RFID tag through fabric? Thanks!

    • @hamzaahsan7029
      @hamzaahsan7029 3 ปีที่แล้ว

      yep! it'll just have to be very close to the card/keychain

  • @shivaprakash3654
    @shivaprakash3654 4 ปีที่แล้ว

    How can I use push buttons or switch. I mean when rfid is true after controlling the led by switch or button. If rfid not match led not control by the switch

  • @mohamedbelhassen8395
    @mohamedbelhassen8395 7 ปีที่แล้ว

    i followed the tutorial step by step, code is written into the arduino but nothing appearing on serial output when touching the tags. Is there any approach to detect the source of my problem?

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

    it works with me

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

    Awesome

  • @infoab9158
    @infoab9158 7 ปีที่แล้ว

    rc522 rfid can read 125khz cards?

  • @souravroyonline
    @souravroyonline 7 ปีที่แล้ว

    I need a read distance of about 1 meter , can we do it with this ? in your video the read range is too small. Can it be customized to increase a read range of around 1 meter

    • @priyaranjantiwari1827
      @priyaranjantiwari1827 5 ปีที่แล้ว

      You can Use active RFID cards . In this video he used passive RFID cards

  • @abhishekvaid8103
    @abhishekvaid8103 7 ปีที่แล้ว

    Can you please tell names of the theme songs running in the background they are really good

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

    can i use arduino mega in this project bro?

  • @warrenbaba30
    @warrenbaba30 5 ปีที่แล้ว

    Can you please tell me where to buy the SAME EXACT kit that you are using? Please and thank you.

    • @8qBIT
      @8qBIT 5 ปีที่แล้ว

      ebay search for rfid kit

  • @Ajaykrishna97_
    @Ajaykrishna97_ 6 ปีที่แล้ว

    Can I have 2 or more different tags on a single reader

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

    ร้าน IOXhop, Who does your music?

  • @recowabunga7200
    @recowabunga7200 6 ปีที่แล้ว

    If i don't have any led, nor resistor, will it explode? Let's find out!

  • @user-yd1mx3th3u
    @user-yd1mx3th3u 6 ปีที่แล้ว

    this is great. But how do i send the read data to a website

  • @abduladri7878
    @abduladri7878 7 ปีที่แล้ว

    hello ...can you add it up with lcd 16x2...if yes..please give it in code..tq...your project is awesome

  • @shaffafkhan4745
    @shaffafkhan4745 6 ปีที่แล้ว

    can you help me eith one thing?
    not individual tags... if the the number of tags may it be any suppose... number of tags is more than 15 out of three leds green must glow otherwise if number of tags is less than 5 red led must glow and like that.. if yes please leave a mail id that i can use to reply to you..!

  • @yassinebejja9330
    @yassinebejja9330 5 ปีที่แล้ว

    Hi
    Can you help me!
    My refid rc522 don't work with my arduino uno and mega ,i don't know why?
    I get just this message ; "firmware version : 0×EE = (unknown)
    Help me please

  • @stefyandrey06
    @stefyandrey06 7 ปีที่แล้ว +3

    Hi! Why this module does not read data from the tag from home sistem interphone?

    • @buiciucdaniel6794
      @buiciucdaniel6794 5 ปีที่แล้ว

      Nici la mine nu citeste. Nu este primul video la care sunt probleme.

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

    может работать публикатором ключа ? копировщиком?

  • @winex01
    @winex01 7 ปีที่แล้ว

    mine sometimes work. sometimes not.. whats wrong with my rfid?

  • @tamilarasu2045
    @tamilarasu2045 5 ปีที่แล้ว

    How to connect extra RFID tag

  • @loganayakit619
    @loganayakit619 6 ปีที่แล้ว

    can u pls send me how to do a toll gate system

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

    How does it work on toll gate ?

  • @s7davidj
    @s7davidj 5 ปีที่แล้ว +11

    Found out that you cant actually translate the website or else it will mess up the code on it.

  • @jttech6834
    @jttech6834 6 ปีที่แล้ว

    My Arduino Leonardo will not communicate with my computer when I put a card by it.

  • @suryakumar-uu4lr
    @suryakumar-uu4lr 5 ปีที่แล้ว

    which kind of software for vodio editing please send me a link brother

  • @hassanahmad9597
    @hassanahmad9597 5 ปีที่แล้ว

    how can use push button switch instead of this "digitalWrite(LED, LOW);"

    • @retr0150
      @retr0150 4 ปีที่แล้ว

      hassan ahmad No you can’t. If you did, the LED would be useless.

  • @russellmaguire4316
    @russellmaguire4316 3 ปีที่แล้ว

    Whats the music name at 7.54?

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

    how to extend the sigbal to several feet?

    • @tonyangeles8741
      @tonyangeles8741 7 ปีที่แล้ว

      Focus can u tell me more? i have alot of questions. can we email?

    • @rollo2163
      @rollo2163 7 ปีที่แล้ว

      Tony Angeles I am just asking because i don't know.
      What do you want to know?

    • @notecad4059
      @notecad4059 7 ปีที่แล้ว

      noon

    • @DakotaCarter22789
      @DakotaCarter22789 7 ปีที่แล้ว

      maximum distance for RFID or NFC is about 4 inches

  • @hachphanong4815
    @hachphanong4815 5 ปีที่แล้ว

    Why does in show me " 'MIFARE_Key' in 'class MFRC522' does not name a type
    " what can i do?

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

    i can't go to the website can someone send me below the comment?

  • @user-ex4qb3oh5j
    @user-ex4qb3oh5j 5 ปีที่แล้ว

    No code up!!!! Must still do???

  • @poloedst
    @poloedst 7 ปีที่แล้ว

    /Users/kio/Documents/Arduino/DumpInfo/DumpInfo.ino: In function 'void setup()':
    DumpInfo:56: error: 'strID' was not declared in this scope
    if (strID.indexOf("6A:51:1B:05") >=1) {
    ^
    DumpInfo:62: error: a function-definition is not allowed here before '{' token
    void loop() {
    ^
    DumpInfo:75: error: expected '}' at end of input
    }
    ^
    exit status 1
    'strID' was not declared in this scope
    someone help me?

  • @MuhannadGhazal
    @MuhannadGhazal 6 ปีที่แล้ว

    i have arduino mega ...it doesnt have d9 or d11 ... where should i connect instead ?

    • @PaulDeanBumgarner
      @PaulDeanBumgarner 5 ปีที่แล้ว

      muuuha92 agnostic
      Are you sure about that?

  • @josemiguel8162
    @josemiguel8162 7 ปีที่แล้ว

    thank you friend, But I have this error who can help me
    class MFRC522 has no member named 'PICC_Halta'

  • @vishwasdsouza4493
    @vishwasdsouza4493 7 ปีที่แล้ว

    Rfidtest:49: error: 'Rfid' was not declared in this scope
    Rfid.PICC_HaltA ();
    ^
    Multiple libraries were found for "MFRC522.h"
    Used: C:\Users\Vishwas\Documents\Arduino\libraries\Rfid
    Not used: C:\Program Files (x86)\Arduino\libraries\Rfid
    Not used: C:\Program Files (x86)\Arduino\libraries\Rfid
    Not used: C:\Program Files (x86)\Arduino\libraries\Rfid
    Not used: C:\Program Files (x86)\Arduino\libraries\Rfid
    exit status 1
    'Rfid' was not declared in this scope
    Can u help me out with this error??

  • @primetekautomation3935
    @primetekautomation3935 3 ปีที่แล้ว

    hwo to add the 4 tags

  • @KeidyLotus
    @KeidyLotus 5 ปีที่แล้ว

    where can i get rfid tags

  • @kakaal9034
    @kakaal9034 3 ปีที่แล้ว

    Lieur maca tulisan siga mie kremes bubuk. Ragrang kanu solokan...jijay

  • @alextuberquia4195
    @alextuberquia4195 6 ปีที่แล้ว

    hola , como puedo registrar mas tarjetas en este código ? soy nuevo en esto.quien me puede ayudar. mil gracias

  • @ravibasnate5677
    @ravibasnate5677 7 ปีที่แล้ว +10

    I did follow step by step as he did and I could upload the program successfully. The only issue is that its not reading anything. can someone help??

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

      does not work with mine :/

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

      same problem :(

    • @DiySpeaker-Vn
      @DiySpeaker-Vn 6 ปีที่แล้ว +1

      Các bạn có thể tham khảo sản phẩm tại: www.sendo.vn/module-rfid-rc522-1356mhz-9375734.html

    • @1308Aditi
      @1308Aditi 4 ปีที่แล้ว

      I had the same problem. Turned out my connections were wrong. Somehow I'd messed it up from the video. Referred the following website and got my connections right. It then worked for me.
      randomnerdtutorials.com/security-access-using-mfrc522-rfid-reader-with-arduino/?fbclid=IwAR0bbg9-X5Tf0OklULVoiV0uwr8Lc2kzCE2kV0RhgO503MaT7nypS9N20-M

  • @maiphuong7486
    @maiphuong7486 7 ปีที่แล้ว

    C:\Users\MyPC\Desktop\arduino-1.8.2-windows\arduino-1.8.2\RFID.h\RFID.h.ino:3:18: fatal error: RFID.h: No such file or directory
    #include
    ^
    compilation terminated.
    exit status 1
    Error compiling for board Arduino/Genuino Uno.
    someone help me? What can I do for save this code? I text this code but have some error? where did i wrong

  • @Dibazz
    @Dibazz 4 ปีที่แล้ว

    Kalo mau nambah jumlah kartu nya, gimana codingnya gan?
    Tolong dijawab
    Terimakasih

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

    program has upload succesfully but rfid not scaning the rfid tag .please help .

    • @1308Aditi
      @1308Aditi 4 ปีที่แล้ว

      I had the same problem. Turned out my connections were wrong. Somehow I'd messed it up from the video. Referred the following website and got my connections right. It then worked for me.
      randomnerdtutorials.com/security-access-using-mfrc522-rfid-reader-with-arduino/?fbclid=IwAR0bbg9-X5Tf0OklULVoiV0uwr8Lc2kzCE2kV0RhgO503MaT7nypS9N20-M

  • @AmeerulIslam
    @AmeerulIslam 6 ปีที่แล้ว

    what is the use of this line? #define SP_PIN 8

    • @mikkeljuhl4884
      @mikkeljuhl4884 6 ปีที่แล้ว

      it changes digital pin 8 to the name SP_PIN

    • @pallavilambe2503
      @pallavilambe2503 5 ปีที่แล้ว

      Hello sir, but not giving any hardware connection with pin no 8 of Arduino, please explain need any connection for that?

  • @abhhack
    @abhhack 4 ปีที่แล้ว

    my code site in not open because Attackers might be trying to steal your information from www.ioxhop.com (for example, passwords, messages, or credit cards).

  • @sumitsaxena6185
    @sumitsaxena6185 7 ปีที่แล้ว +6

    its not reading the data

    • @1308Aditi
      @1308Aditi 4 ปีที่แล้ว

      I had the same problem. Turned out my connections were wrong. Somehow I'd messed it up from the video. Referred the following website and got my connections right. It then worked for me.
      randomnerdtutorials.com/security-access-using-mfrc522-rfid-reader-with-arduino/?fbclid=IwAR0bbg9-X5Tf0OklULVoiV0uwr8Lc2kzCE2kV0RhgO503MaT7nypS9N20-M

  • @jollie772
    @jollie772 5 ปีที่แล้ว

    i put the code in and it comes up saying no such file or diretory for MFRC522.h anyone please help

  • @ninjosh8
    @ninjosh8 5 ปีที่แล้ว

    i got stray "\340"
    can someone help

    • @sahilshukla8127
      @sahilshukla8127 4 ปีที่แล้ว

      Change the double quotes (" " ) of serial.print

  • @juandiegohuachanilicona8743
    @juandiegohuachanilicona8743 8 ปีที่แล้ว

    please help me !! I maked all of you said, but not funcion.

    • @MaxYouTobe2540
      @MaxYouTobe2540 8 ปีที่แล้ว

      +Juan Diego Huachani Licona check connect , check volt , check arduino , does it work? for upload blink

    • @omkarteli6314
      @omkarteli6314 7 ปีที่แล้ว

      Just check Pins of MFRC522 IC which is on module are ok or short if any pin is short then it wont work, otherwise there is no any big reason so it wont work

  • @meralsargil2816
    @meralsargil2816 4 ปีที่แล้ว

    thanks !

  • @kendiminjie9478
    @kendiminjie9478 4 ปีที่แล้ว

    Hi did anyone knows how to save all the data so that they can be checked again? 🙏

    • @hamzaahsan7029
      @hamzaahsan7029 3 ปีที่แล้ว

      which dta do you mean?

    • @kendiminjie9478
      @kendiminjie9478 3 ปีที่แล้ว

      @@hamzaahsan7029 thank you for responding although it's been a year, but I've finished the project and I passed it 👍😁

    • @hamzaahsan7029
      @hamzaahsan7029 3 ปีที่แล้ว

      @@kendiminjie9478 oh didn't even see it was a year old i'm suprised that you're still on youtube and commenting

    • @kendiminjie9478
      @kendiminjie9478 3 ปีที่แล้ว

      @@hamzaahsan7029 well youtube is my place for hibernation, nah ijk

  • @ceesKe12
    @ceesKe12 7 ปีที่แล้ว

    can this be used to scan credit cards with RFID in them?

  • @kogyikyaw3600
    @kogyikyaw3600 5 ปีที่แล้ว

    like

  • @ashachaplot576
    @ashachaplot576 6 ปีที่แล้ว

    an error occured when i open serial moniter it display
    "rfid version(0×0) unknown...
    problem please reply fast urgent

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

    กรุณาใส่รหัสในความคิดเห็น

  • @suryakumar-uu4lr
    @suryakumar-uu4lr 5 ปีที่แล้ว

    how to open a you tube chennal

  • @itsmetech
    @itsmetech 4 ปีที่แล้ว

    Good tutorial, but not working for me, can someone help me?
    I have this problem:
    Firmware Version: 0x0 = (unknown)
    WARNING: Communication failure, is the MFRC522 properly connected?
    Scan PICC to see UID, SAK, type, and data blocks...
    I did everything, tried everything and nothing...

    • @wenhanpro123
      @wenhanpro123 3 ปีที่แล้ว

      means either ur RC522 is broken or u connected the circuit wrongly

  • @Ethan_GToTheG
    @Ethan_GToTheG 5 ปีที่แล้ว

    R.I.P

  • @interesting7215
    @interesting7215 4 ปีที่แล้ว

    mine doesn't work

  • @Krazy0
    @Krazy0 3 ปีที่แล้ว

    Sadly the RFID did not work for me

  • @wyatt2299
    @wyatt2299 3 ปีที่แล้ว

    Why don't people ever type out the code? You didn't help

  • @spyarduinohacks5102
    @spyarduinohacks5102 3 ปีที่แล้ว

    supiri aajiar

  • @Luis-dk9yg
    @Luis-dk9yg 4 ปีที่แล้ว

    He is living in 2559 guys

  • @Playerlist
    @Playerlist 7 ปีที่แล้ว +3

    I wrote the Code from your Video because the WebSite is down but I have one Error, can someone Explaining it to me what I should do ?
    Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Uno"
    C:\Users\Thomas-Alex\Documents\Arduino\RFIDTEST\RFIDTEST.ino: In function 'void loop()':
    RFIDTEST:31: error: 'println' was not declared in this scope
    Serial-println(F("Your tag is not of type MIFARE Classic."));
    ^
    exit status 1
    'println' was not declared in this scope
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    #include "SPI.h"
    #include "MFRC522.h"
    #define SS_PIN 10
    #define RST_PIN 9
    #define SP_PIN 8
    MFRC522 rfid(SS_PIN, RST_PIN);
    MFRC522::MIFARE_Key key;
    void setup(){
    Serial.begin(9600);
    SPI.begin();
    rfid.PCD_Init();
    }
    void loop(){
    if (!rfid.PICC_IsNewCardPresent() || !rfid.PICC_ReadCardSerial())
    return;
    //Serial.print(F(*PICC type: "));
    MFRC522::PICC_Type piccType = rfid.PICC_GetType(rfid.uid.sak);
    //Serial.println(rfid.PICC_GetTypeName(piccType));
    //Check is the PICC of Classic MIFARE type
    if (piccType != MFRC522::PICC_TYPE_MIFARE_MINI &&
    piccType != MFRC522::PICC_TYPE_MIFARE_1K &&
    piccType != MFRC522::PICC_TYPE_MIFARE_4K){
    Serial-println(F("Your tag is not of type MIFARE Classic."));
    return;
    }
    String strID = "";
    for (byte i = 0; i < 4; i++){
    strID +=
    (rfid.uid.uidByte[i], HEX)+
    (i!=3 ?":":"");
    }
    strID.toUpperCase();
    Serial.print("Tap card key: ");
    Serial.println(strID);
    rfid.PICC_HaltA();
    rfid.PCD_StopCrypto1();
    }

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

      You wrote: Serial-println
      in the MIFARE Check section. You should change that to Serial.println

    • @IvanM42
      @IvanM42 7 ปีที่แล้ว

      USE --> serial (DOT) println END with LN not IN

    • @ahmadnordin6835
      @ahmadnordin6835 6 ปีที่แล้ว

      Playerlist .

    • @TheSeveer123
      @TheSeveer123 6 ปีที่แล้ว

      Here:
      #include "SPI.h"
      #include "MFRC522.h"
      #define SS_PIN 10
      #define RST_PIN 9
      #define LED_PIN A0
      MFRC522 rfid(SS_PIN, RST_PIN);
      MFRC522::MIFARE_Key key;
      void setup() {
      Serial.begin(9600);
      SPI.begin();
      rfid.PCD_Init();
      pinMode(LED_PIN, OUTPUT);
      }
      void loop() {
      if (!rfid.PICC_IsNewCardPresent() || !rfid.PICC_ReadCardSerial())
      return;
      // Serial.print(F("PICC type: "));
      MFRC522::PICC_Type piccType = rfid.PICC_GetType(rfid.uid.sak);
      // Serial.println(rfid.PICC_GetTypeName(piccType));
      // Check is the PICC of Classic MIFARE type
      if (piccType != MFRC522::PICC_TYPE_MIFARE_MINI &&
      piccType != MFRC522::PICC_TYPE_MIFARE_1K &&
      piccType != MFRC522::PICC_TYPE_MIFARE_4K) {
      Serial.println(F("Your tag is not of type MIFARE Classic."));
      return;
      }
      String strID = "";
      for (byte i = 0; i < 4; i++) {
      strID +=
      (rfid.uid.uidByte[i] < 0x10 ? "0" : "") +
      String(rfid.uid.uidByte[i], HEX) +
      (i!=3 ? ":" : "");
      }
      strID.toUpperCase();
      Serial.print("Tap card key: ");
      Serial.println(strID);
      // โค้ดส่วนควบคุมหลอด LED โดยเอาค่าจากตัวแปร strID มาเทียบ
      if (strID.indexOf("E4:0A:BA:EB") >= 0) {
      digitalWrite(LED_PIN, HIGH);
      } else {
      digitalWrite(LED_PIN, LOW);
      }
      rfid.PICC_HaltA();
      rfid.PCD_StopCrypto1();
      }

    • @konyalevente6716
      @konyalevente6716 6 ปีที่แล้ว

      I tried to retype the whole freaking thing, so there will be no special characters... still gives me the message: "exit status 1
      stray '\357' in program" Any idea why? THX

  • @benedicktopinio7663
    @benedicktopinio7663 5 ปีที่แล้ว

    How to send rfid data to database?

  • @Ethan_GToTheG
    @Ethan_GToTheG 5 ปีที่แล้ว

    gg

  • @jjjjulian
    @jjjjulian 3 ปีที่แล้ว

    What year is this man living in, Like look at the calendar on his pc XD

  • @Fantasystories100
    @Fantasystories100 6 ปีที่แล้ว

    沒把影片看完你會後悔一輩子,請注意8分12秒

  • @Srbelj
    @Srbelj 5 ปีที่แล้ว

    try to retype that Source code URL
    finger is in mental institution now