Code Monkey home page Code Monkey logo

epc-c1-gen2's Introduction

EPC-C1-Gen2

Code which can recognize the data of a EPC C1 Gen2 signal.

The code works by recognizing when the measured signal is high and low, and depending how long that is the signal either represents a 1 or a 0. The signal consists of 4 steps where the Reader (R) communicates with the Tag (T) in the following manner: R=>T, T=>R, R=>T, T=>R.

The R=>T communications are fully decoded and supported by the matlab script decodert.m . One should enter the start time and stop time of these communications (where the signal starts, switches to T=>R or ends). These times can be chosen slightly greater even when there is a different signal around that time: it automatically filters this different signal out. The code is able to recognize the preamble (or frame-sync) and consequently recognize the type of command and the data bits.

For the case of the signal presented at the hackathon, one should choose a start number of slightly before the signal starts and around 1-500 for the signal which was given for this hackathon. The stop number can be left as-is at 9500, or it can be edited to match the signal, for example the RT transmission proceeds from approximately 1-2785, the next tr from 2785-4900 etcetera.

For the T=>R communications, in decodetr.m, one should enter the point where the data bits start (after the preamble) as a start time and the part where the code switches to R=>T or ends as the end time. This will cause the code to convert this analog signals to digital numbers and print them to an array.

Code constructed by Koos Eerden and Danilo Verhaert.

epc-c1-gen2's People

Contributors

dverhaert avatar keerden avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.