You are on page 1of 15

RFID

• Passive tags

• Active tags
RFID
• Readers
Barcode vs RFID
• Discussion
Barcode

• 750131311309
Where
75 = Number system
01031 = Manufacturer code
31130 = Product code
9 = Check digit
Barcode
• 7501031311309

Sum = 7 + 15 + 0 + 3 + 0 + 9 + 1 + 9 + 1 + 3 + 3 + 0 = 51
Result = 51%10
Check digit = 10-Result (9)
Barcode
• 7 501031311309
Barcode
• 7 501031 311309 (O-E-O-E-O-E)

• LEFT GUARD BARS (always the same): 101.

• SECOND NUMBER SYSTEM DIGIT [5]: Encoded with left-hand odd parity, 0110001.
• 1st MANUFACTURER DIGIT [0]: Encoding with left-hand even parity, 0100111.
• 2nd MANUFACTURER DIGIT [1]: Encoded with left-hand odd parity, 0011001.
• 3rd MANUFACTURER DIGIT [0]: Encoded with left-hand even parity, 0100111.
• 4th MANUFACTURER DIGIT [3]: Encoded with left-hand odd parity, 0111101.
• 5th MANUFACTURER DIGIT [1]: Encoded with left-hand even parity, 0110011.

• CENTAR GUARD BARS (always the same): 01010.


Barcode
• 7 501031 311309

• 1st PRODUCT CODE DIGIT [3]: Encoded as right-hand character, 1000010.


• 2nd PRODUCT CODE DIGIT [1]: Encoded as right-hand character, 1100110.
• 3rd PRODUCT CODE DIGIT [1]: Encoded as right-hand character, 1100110.
• 4th PRODUCT CODE DIGIT [3]: Encoded as right-hand character, 1000010.
• 5th PRODUCT CODE DIGIT [0]: Encoded as right-hand character, 1110010.
• CHECK DIGIT [9]: Encoded as right-hand character, 1110100.

• RIGHT GUARD BARS (always the same): 101.


Barcode
• 501031 311309
Wiring/Arduino
• Wiring is an open source programming
environment and electronics i/o board for
exploring the electronic arts, tangible
media, computer programming and
prototyping with electronics.
• It explores the physical interaction design
Wiring/Arduino
Photo resistor/ Light Sensor
Wiring/Arduino
Photo resistor/ Light Sensor
Wiring/Arduino
Photo resistor/ Light Sensor (Code)
int val;
void setup() {
Serial.begin(9600); // sets the serial port to 9600 }

void loop() {
val = analogRead(0); // read analog input pin 0
Serial.print(val, DEC); // prints the value read
Serial.print(" "); // prints a space between the numbers
delay(100); // wait 100ms for next reading
}
Wiring/Arduino
More Examples
http://www.wiring.org.co/learning/basics/forceresistor.html

http://www.wiring.org.co/learning/basics/potentiometer.html
Misc.
• Head mounted display
• Wii remote
• Mixed reality

You might also like