Temperature dataloger with EM4325 component

UHF RFID application with EM4325 chip

Abstract

This section describe a mine to interface (with SPI) mbed NXP LPC1768 with EM4325 RFID chip to read/write data in eeprom memory and obtain the temperature value.

EM4325 is a UHF RFID ASIC that is compliant with ISO/IEC 18000-6 Type C and Type D (TOTAL) as well as EPCTM Class-3 Generation-2 (Gen2). TOTAL is a protocol used for many applications and is an enhanced version of the defacto standard used in apparel item level tagging.

EM4325 can be red/write in EEPROM thought RFID (UHF) or SPI protocol, but not at the same time.

Contents

  1. Pin description
  2. Typical application

Pin description

EM4325mbed
MOSIp5
MISOp6
SCLKp7
CSp8
VBAP+3.3 V
VSSGND, to antenna -
ANT+To antenna +

/media/uploads/gege089/pins_spi.png

Datasheet

Link to the public datasheet of the EM4325 chip.

A short description how temperature works with SPI connection : here

Typical application

#include "mbed.h"
#include "EM4325.h"//Initial declaration of the EM4325
int main() {
    //Serial communication to read the temperature data
    Serial pc(USBTX, USBRX);
    EM4325 device(p5, p6, p7, p8);//mosi, miso, sclk, cs
          
    while(1) {
      float temp = device.read_temperature();//read method
      wait(3);
      pc.printf("TEMP = %F C \r\n", temp);
     
      uint8_t rf_off1=device.RF('F');
      wait(1);
      pc.printf("RF IS OFF : %X \r\n", rf_off1);
      
      uint8_t status1 = device.write_epc(0x11);
      wait(3);
      pc.printf("STATUS = %X \r\n", status1);
          
      uint8_t rf1=device.RF('O');
      wait(3);
      pc.printf("RF IS ON : %X \r\n", rf1);      
      //***********************************
      uint8_t rf_off2=device.RF('F');
      wait(1);
      pc.printf("RF IS OFF : %X \r\n", rf_off2);
      
      uint8_t status2 = device.write_epc(0x22);
      wait(3);
      pc.printf("STATUS = %X \r\n", status2);
           
      uint8_t rf2=device.RF('O');
      wait(1);
      pc.printf("RF IS ON : %X \r\n", rf2);   
      
    }
}


1 comment on Temperature dataloger with EM4325 component :

28 Nov 2014

Hi..Friend, Can you please share the complete summary and relevant report of "Temperature dataloger with EM4325" for UHF(RFID). This is my final year project. Please help me ASAP. my email id is sachindagur2013@gmail.com

Please log in to post comments.