Remote Monitor with TCP and RFID

Description

I created a way to remotely monitor temperature using TCP Interface in this project with a RFID tag as a way to authorize the system. There are a few main components to this set-up:

  • mbed with Ethernet Interface
  • Sensirion SHT 15 Sensor
  • ID20 RFID Reader
  • Ethernet Breakout Module
  • 125kHz RFID tag

This project is to show that with right tag, the client will receive the info (here is the temperature and humidity) from the server. If given the wrong tag, the client will decline the request. So the project can be used to monitor places through TCP and RFID Tag will be used as a security method. You can add other components such as camera and light control, etc. First pic is the board. /media/uploads/airaylee/img_20131017_144717.jpg

Second one is the terminal for the client /media/uploads/airaylee/img_20131017_185303.jpg

Third one is the terminal for the server /media/uploads/airaylee/img_20131017_185552.jpg

Example

The video demo is shown below. First tag is right, then the client displays the temperature and humidity info received from the server. Second Tag is wrong, the client terminal shows that this is not right tag, and then wait for another tag read.

Connection

You can check relevant cookbook pages for more details. TCP Server

mbedEthernet Breakout BoardSHT15 Breakout Board
VoutVcc
GNDGND
TD+P1
TD-P2
RD+P7
RD-P8
P28(sda)Data
P27(scl)SCK

TCP Client

mbedEthernet Breakout BoardID-20 Breakout Board
VuVcc, NRST
GNDGND, FS
TD+P1
TD-P2
RD+P7
RD-P8
P14D0

Code

The Ethernet Interface is used to work as TCP Server and Client You have to fix the IP address on the server side so that the client can communicate. Also you have to make sure the timeout for connecting and extend it if necessary.

Import programTCPclient_ID-20_Midterm

Using Ethernet Interface to communicate and add a RFID reader

Import programTCPserver_SHT15_Midterm

Using Ethernet Interface to send temperature/humidity info to client

Problems Encountered/Future Steps

The Ethernet connection is the main problem. I have to make sure that the connection will work before using in the mbed chip. Also the timeout needs to be changed to fit in different environment.

For future, we can add more components such as camera, light control on the server side to implement more functions.


Please log in to post comments.