Arduino Playground - RDM630RFIDReaderLibrary
Arduino Playground - RDM630RFIDReaderLibrary
cc
( / / W W W . A R D U I N O .C C / P R O ) ( / / W W W . A R D U I N O .C C / E D U )
F T W A R E ( / (/)
/ W W W.A R D U I N O .C C / E N / S O F T W A R E ) C L O U D ( / / C R E AT E .A R D U I N O .C C ) D O C U ME N TAT I O N C O MMU N I T Y B L O G ( / / B L O G .A R D U I N O .C C /
Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post
(https://forum.arduino.cc/index.php?topic=580991.0)
Manuals and Curriculum The RDM630 library enables the Arduino to easily read EM4100-compatible RFID-tags using the
(../ManualsAndCurriculum/)
Arduino StackExchange
RDM630 RFID reader module.
(https://arduino.stackexchange.com/)
Board Setup and Configuration
(../ArduinoCoreHardware/)
Development Tools
Needed hardware for this demo
(../DevelopmentTools/) - Arduino compatible board
Arduino on other Chips
(../ArduinoOnOtherAtmelChips/) - RDM630 RFID reader
Interfacing With Hardware
(../InterfacingWithHardware/) - EM4100 compatible tag
- Output
(../InterfacingWithHardware/#Output) How to connect
- Input
- Connect 5V & GND of the module to the corresponding pins of the Arduino
(../InterfacingWithHardware/#InputTOC)
- User Interface - Connect the TX pin of the module to pin 6 of the Arduino.
(../InterfacingWithHardware/#ui)
- You could use another pin of the Arduino, but then you'll have to change the initialisation of
- Storage
(../InterfacingWithHardware/#Storage) the rfid object in the demo code below.
- Communication - If you're using a 3V3 Arduino, you'll have to use extra level shifting. A pull-up resistor
(../InterfacingWithHardware/#Communication)
- Power supplies (../IntWithHW-
between the 3V3 and the Arduino-pin, together with a diode between the Arduino-pin
PwrSup/) (anode) and the RDM630-TX pin (cathode) will do the trick.
- General
(../InterfacingWithHardware/#General) How to program
Interfacing with Software The library can be downloaded from here
(../InterfacingWithSoftware/) (https://github.com/LieBtrau/Aiakos/tree/a6ed7b2c91bc4e02473b41cb376f8add3917920a/RDM630).
User Code Library
(../GeneralCodeLibrary/)
- Snippets and Sketches - Create a folder named "RDM630" (without the parentheses) in your Arduino-libraries folder.
(../SketchList/)
- Libraries (../LibraryList/)
- Copy rdm630.h & rdm630.cpp to that folder.
- Tutorials (../TutorialList/) - Create a new Arduino-sketch
Suggestions & Bugs
- Import the "RDM630"-library into your sketch.
(https://github.com/arduino/arduino/issues)
Electronics Technique
(../ElectroInfoResources/)
- Copy/paste the following demo application to your sketch
Sources for Electronic Parts - Upload & run
(../Resources/)
Related Hardware and Initiatives #include "rdm630.h"
(../SimilarBoards/)
Exhibition {
Languages (../Languages/) }
if(rfid.available()){
(../../Site/AllRecentChanges/) rfid.getData(data,length);
Serial.print(data[i],HEX);
- Basic Editing }
Serial.println();
(../../PmWiki/BasicEditing/)
//concatenate the bytes in the data array to one long which can be
(https://www.pmwiki.org/wiki/PmWiki/DocumentationIndex)
((unsigned long int)data[1]<<24) +
data[4];
Serial.println(result);
Our websites use cookies (also from third parties) for functional
- The and leading
analytical 2
purposes, and to
is the STX show you
symbol personalised
(0x2) denotingadvertisement. You can of
the beginning adjust ID. in Cookie Settings or learn more by reading our
an this
cookie policy (https://www.arduino.cc/en/cookie-policy).
- The three leading 0s are reduced to one single 0
- 7438D is the decimal number 7616525 encoded in hex
-
ONLY REQUIRED the trailing 0 is proof that the checksum that was transmittedHelp(https://support.arduino.cc)
byACCEPT
the module
ALL matches the XOR
operation performed by the RDM630 library on the received data.
The second output is the CardID as a decimal number (as printed on the card).
PRO FESSIO NA L ED UC ATI O N S T O R E ( / / S T O R E . A R D U I N O .C C ) Search on Arduino.cc
( / / W W W . A R D U I N O .C C / P R O ) ( / / W W W . A R D U I N O .C C / E D U )
F T W A R E ( / (/)
/ W W W.A R D U I N O .C C / E N / S O F T W A R E ) C L O U D ( / / C R E AT E .A R D U I N O .C C ) D O C U ME N TAT I O N C O MMU N I T Y B L O G ( / / B L O G .A R D U I N O .C C /
B a ck t o t o p
C o n t a ct U s (/ / w w w . a rd u i n o . cc/ e n / co n t a ct - u s)
Enter your email to sign up S UBS C RIBE
D i st ri b u t o rs (/ / st o re . a rd u i n o . cc/ d i st ri b u t o rs)
(https://www.facebook.com/official.ard
(https://www.instagram.com/ard
(https://twitter.com/arduin
(https://github.com/
(https://www.l
(https:/
C a re e rs (/ / ca re e rs. a rd u i n o . cc)
Te rm s O f S e rv i ce P ri v a cy P o l i cy S e cu
© 2021 A rd u i n o
(/ / w w w . a rd u i n o . cc/ e n / M a i n / C o p y ri g h t N o t i ce )
(/ / w w w . a rd u i n o . cc/ e n / M a i n / Te rm sO f S e rv i ce ) (/ / w w w . a rd u i n o . cc/ e n / M a i n / P ri v a cy P o l i cy ) (/ / w w w . a rd u i n o . cc/
We use cookies 🍪
Our websites use cookies (also from third parties) for functional and analytical purposes, and to show you personalised advertisement. You can adjust this in Cookie Settings or learn more by reading our
cookie policy (https://www.arduino.cc/en/cookie-policy).
ONLY REQUIRED
Help(https://support.arduino.cc)
ACCEPT ALL