New Project

CONNECT

RFID Card Reader Voice Project

  • Page Views 867
  • Spread the love
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  

    In this project we will do the RFID Card Reader Voice project with Arduino.There are many projects done with RFID. But it is registered by saying that our project is registered in the card aloud while others define identity, we will have made a difference in a different application, saying the name of the person who registered.  But first, let’s talk about what is working and rfid system.

    RFID radio frequency identification system using radio frequency object is singular and automatic recognition method.RFID tag, a silicon chip, which allows to receive radio frequency queries and answer them with the antenna and the coating occurs.Chip, which stores information about objects on the label.The antenna transmits the object information using radio frequency reader.Coating surrounds the chip and antenna to be placed on an object tag.

    Materials:

    1. Arduino
    2. Wtv020 mp3 module
    3. RC522 RFID card
    4. Speaker
    5. 2 GB SD card

    The project will provide to give our module using mp3 audio information.For this, for you to add audio files to MP3 module wtv020 See our projects in the following form.

    http://www.robimek.com/arduino-ile-wtv020sd-16p-mp3-modul-kullanimi/

    Electronic Section:

     

    Let’s make the necessary connections by looking at the diagram above.If you use a different card rfid SP uno communication model that allows communication with SPI pins will be different pins.

    Just get the software library used. >> libraries

    Software Part:

    
    // Rfid Sesli Kart Okuyucu by Robimek 2015
    // Yazılım lisans by Robimek
    // www.robimek.com
    #include <SPI.h>
    #include <RFID.h>
    #include <Wtv020sd16p.h>
    int resetPin = 2;
    int clockPin = 3;
    int dataPin = 4;
    int busyPin = 5;
    Wtv020sd16p wtv020sd16p(resetPin,clockPin,dataPin,busyPin);
    RFID rfid(10,9); // rfid sda ve reset pinleri
    
    byte emaomos[5] = {19,168,166,2,31}; // kartın kimlik numarası
    byte serNum[5];
    byte data[5];
    int LED_access = 6; // yeşil led
    int LED_intruder = 7; // kırmızı led
    
    void setup(){
    wtv020sd16p.reset();
    Serial.begin(9600);
    rfid.init();
    
    pinMode(LED_access,OUTPUT);
    pinMode(LED_intruder,OUTPUT);
    
    }
    
    void loop(){
    
    boolean emaomos_card = true;
    
    if (rfid.isCard()){ // karttan verilerin okunması
    if (rfid.readCardSerial()){
    delay(1000);
    data[0] = rfid.serNum[0];
    data[1] = rfid.serNum[1];
    data[2] = rfid.serNum[2];
    data[3] = rfid.serNum[3];
    data[4] = rfid.serNum[4];
    }
    
    for(int i=0; i<5; i++){
    if(data[i] != emaomos[i]) emaomos_card = false;
    }
    if (emaomos_card){ // kartın verileri eşleşiyor ise
    
    wtv020sd16p.playVoice(2);
    delay(4000);
    
    digitalWrite(LED_access,HIGH);
    delay(2000);
    digitalWrite(LED_access,LOW);
    }
    else{ // kimlik bilgileri eşleşmiyor ise
    wtv020sd16p.playVoice(1);
    delay(4000);
    digitalWrite(LED_intruder, HIGH);
    
    delay(2000);
    digitalWrite(LED_intruder, LOW);
    }
    
    delay(500);
    rfid.halt();
    
    }
    }

    Share

    What did they say ?

    First Comment About You!!

    avatar
    wpDiscuz

    BE A FACEBOOK FAN

    Instagram