SlideShare ist ein Scribd-Unternehmen logo
1 von 21
XBee and RFID
XBee in 30 minutes Xbees are small radio modules that communicate with each other over radio using the Zigbee protocol (built on top of the IEEE 802.15.4 standard, if you care). They allow for drop-in, drop-out mesh networking. New devices can be automatically detected, and existing devices can be removed without disrupting the entire system. Each radio can broadcast or can address specific other modules. Today we will set up a very basic XBee network.
What Does an Xbee Network Need? One  coordinator  to manage the overall network. Multiple  endpoints/routers  to receive and pass on information. External sensors or other modules to collect and/or respond to the information that the radios communicated.
What Hardware Do You Have? Arduino XBee Module XBee USB Explorer Arduino Xbee Shield
Loading Firmware You Need: -Xbee Module -Xbee USB Explorer -X-CTU software Digi’s X-CTU software is a program that lets you load firmware onto your XBee module, configure settings, and test the radio’s functionality. It is only available for Windows but can be run in an emulator on an Intel Mac (load Arduino and the  relevant drivers  in Windows ). http://www.digi.com/support/productdetl.jsp?pid=3352&osvid=57&tp=5&s=316
Programming a Router ,[object Object],[object Object],[object Object],[object Object]
Programming a Router There should be a com port  (probably the last) labeled  USB Serial Port . Click on it. Click on  Test / Query .
Programming a Router You should see this ==> Click OK, then click on the  Modem Configuration tab.
Programming a Router ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Arduino Remember the button you wired  earlier? Make that circuit again.  In the Arduino IDE, open  “ XBButton.pde” and load it onto your Arduino. You can test that the code is  functioning by starting the serial  monitor in Arduino. Every time you  press the button, the pane should show “Hello world!” (Change the “Hello world!” to say  whatever you want.)
Programming Arduino ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is Happening? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
RFID in 15 minutes RFID (radiofrequency identification) is a way of storing and communicating small amounts of data. RFID  tags  store data (usually a serial number and a few bytes of changeable information), and RFID  readers  can read, decode, and sometimes change that data. RFID has historically been used in industrial logistics and tracking, but cheaper and more accessible technologies have recently opened it up for hacking and other creative uses. Today we will set up an RFID reader to read the serial numbers of tags.
What Hardware Do You Have? RFID reader RFID antenna Arduino
Connecting the Reader 4 5 5 +5V Ground
4 5 +5V Ground
Upload your Code Load “RFIDReader.pde” onto your Arduino board. Activate the serial debugger pane in Arduino. Touch an RFID card to the antenna.
What is Happening? The RFID reader communicates with Arduino using a  communication protocol called I2C, which Arduino code manages  using the Wiring library, and which uses analog pins 4 and 5. This is one standard way that microcontrollers communicate with more complicated external devices. This Arduino code continually asks the RFID reader to look for  the serial number of any tags near the reader.  The RFID reader does the heavy lifting and returns a number to the Arduino--the serial number if it sees a tag, and a 2 if no tags are present. The Arduino then sends the tag’s serial number over the serial port,  which you are monitoring on your computer.
The Xbee communicates with Arduino over the serial port. The RFID reader communicates with Arduino using I2C and analog pins 4 and 5. Can we combine these? 15 Minutes Left
Putting it All Together 4 5 5 +5V Ground
Xbee (beware of Series 1 vs Series 2 documentation) http://www.arduino.cc/playground/Main/InterfacingWithHardware http://www.humboldt.edu/~cm19/XBee%20setup.pdf http://hcgilje.wordpress.com/resources/xbee_arduino_code/ http://www.faludi.com/projects/zigbee/ RFID http://www.tinker.it/en/Teaching/RFID http://www.tigoe.net/pcomp/code/?s=RFID&searchsubmit=Find Some Resources

Weitere ähnliche Inhalte

Was ist angesagt?

Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012Droidcon Eastern Europe
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusainstudent
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
Introduction to arduino!
Introduction to arduino!Introduction to arduino!
Introduction to arduino!Makers of India
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno boardGaurav
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduinozvikapika
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
Arduino Introduction by coopermaa
Arduino Introduction by coopermaaArduino Introduction by coopermaa
Arduino Introduction by coopermaa馬 萬圳
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-pptjhcid
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boardselprocus
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoYong Heui Cho
 
Arduino technical session 1
Arduino technical session 1Arduino technical session 1
Arduino technical session 1Audiomas Soni
 
1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptxMohamed Essam
 

Was ist angesagt? (20)

Arduino uno
Arduino unoArduino uno
Arduino uno
 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
 
Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
IoT with Arduino
IoT with ArduinoIoT with Arduino
IoT with Arduino
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Introduction to arduino!
Introduction to arduino!Introduction to arduino!
Introduction to arduino!
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno board
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Report on arduino
Report on arduinoReport on arduino
Report on arduino
 
Arduino Introduction by coopermaa
Arduino Introduction by coopermaaArduino Introduction by coopermaa
Arduino Introduction by coopermaa
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-ppt
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boards
 
Lcd with arduino uno
Lcd with arduino unoLcd with arduino uno
Lcd with arduino uno
 
Different Arduino Boards
Different Arduino BoardsDifferent Arduino Boards
Different Arduino Boards
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino technical session 1
Arduino technical session 1Arduino technical session 1
Arduino technical session 1
 
1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx
 

Ähnlich wie XBee and RFID

ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guidehandson28
 
Mypptinslideshare 180508104046 (1)
Mypptinslideshare 180508104046 (1)Mypptinslideshare 180508104046 (1)
Mypptinslideshare 180508104046 (1)raviteja srinivasula
 
RFID based smart shopping cart and billing system
RFID based smart shopping cart and billing systemRFID based smart shopping cart and billing system
RFID based smart shopping cart and billing systemlaharipothula
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
Arduino Interface with MySQL for Storing RFID Access Details
Arduino Interface with MySQL for Storing RFID Access DetailsArduino Interface with MySQL for Storing RFID Access Details
Arduino Interface with MySQL for Storing RFID Access DetailsSanjay Kumar
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetoothShishupal03012015
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la ActualidadLaurence HR
 
Advanced view arduino projects list use arduino for projects 2
Advanced view arduino projects list  use arduino for projects 2Advanced view arduino projects list  use arduino for projects 2
Advanced view arduino projects list use arduino for projects 2WiseNaeem
 
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfAdvanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfIsmailkhan77481
 
Internet of things aktu lab file
Internet of things  aktu lab fileInternet of things  aktu lab file
Internet of things aktu lab fileNitesh Dubey
 
Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011Roberto Navoni
 
Smart Home Automation using Wi-Fi
Smart Home Automation using Wi-FiSmart Home Automation using Wi-Fi
Smart Home Automation using Wi-Fiijtsrd
 
Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2Roberto Navoni
 

Ähnlich wie XBee and RFID (20)

ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guide
 
Mypptinslideshare 180508104046 (1)
Mypptinslideshare 180508104046 (1)Mypptinslideshare 180508104046 (1)
Mypptinslideshare 180508104046 (1)
 
RFID based smart shopping cart and billing system
RFID based smart shopping cart and billing systemRFID based smart shopping cart and billing system
RFID based smart shopping cart and billing system
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Arduino Interface with MySQL for Storing RFID Access Details
Arduino Interface with MySQL for Storing RFID Access DetailsArduino Interface with MySQL for Storing RFID Access Details
Arduino Interface with MySQL for Storing RFID Access Details
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetooth
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
 
Advanced view arduino projects list use arduino for projects 2
Advanced view arduino projects list  use arduino for projects 2Advanced view arduino projects list  use arduino for projects 2
Advanced view arduino projects list use arduino for projects 2
 
Ardu
ArduArdu
Ardu
 
What is arduino
What is arduinoWhat is arduino
What is arduino
 
Android project
Android projectAndroid project
Android project
 
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdfAdvanced View Arduino Projects List - Use Arduino for Projects (4).pdf
Advanced View Arduino Projects List - Use Arduino for Projects (4).pdf
 
Internet of things aktu lab file
Internet of things  aktu lab fileInternet of things  aktu lab file
Internet of things aktu lab file
 
Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011
 
Report
ReportReport
Report
 
Tech Talk IOT
Tech Talk IOTTech Talk IOT
Tech Talk IOT
 
ESP8266 Wifi Nodemcu
ESP8266 Wifi Nodemcu ESP8266 Wifi Nodemcu
ESP8266 Wifi Nodemcu
 
Smart Home Automation using Wi-Fi
Smart Home Automation using Wi-FiSmart Home Automation using Wi-Fi
Smart Home Automation using Wi-Fi
 
Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2
 

Mehr von Tinker London

Homesense @ La Cantine
Homesense @ La CantineHomesense @ La Cantine
Homesense @ La CantineTinker London
 
Programming for Artists and Designers: Week 3
Programming for Artists and Designers: Week 3Programming for Artists and Designers: Week 3
Programming for Artists and Designers: Week 3Tinker London
 
Programming for Artists and Designers: Week 2
Programming for Artists and Designers: Week 2Programming for Artists and Designers: Week 2
Programming for Artists and Designers: Week 2Tinker London
 
Programming for Artists and Designers: Week 1
Programming for Artists and Designers: Week 1Programming for Artists and Designers: Week 1
Programming for Artists and Designers: Week 1Tinker London
 
Mobile Games and Hardware Hacking
Mobile Games and Hardware HackingMobile Games and Hardware Hacking
Mobile Games and Hardware HackingTinker London
 
Arduino and Open Hardware
Arduino and Open HardwareArduino and Open Hardware
Arduino and Open HardwareTinker London
 

Mehr von Tinker London (9)

Homesense @ La Cantine
Homesense @ La CantineHomesense @ La Cantine
Homesense @ La Cantine
 
Arduino Power
Arduino PowerArduino Power
Arduino Power
 
Programming for Artists and Designers: Week 3
Programming for Artists and Designers: Week 3Programming for Artists and Designers: Week 3
Programming for Artists and Designers: Week 3
 
Programming for Artists and Designers: Week 2
Programming for Artists and Designers: Week 2Programming for Artists and Designers: Week 2
Programming for Artists and Designers: Week 2
 
Programming for Artists and Designers: Week 1
Programming for Artists and Designers: Week 1Programming for Artists and Designers: Week 1
Programming for Artists and Designers: Week 1
 
Playful
PlayfulPlayful
Playful
 
Mobile Games and Hardware Hacking
Mobile Games and Hardware HackingMobile Games and Hardware Hacking
Mobile Games and Hardware Hacking
 
Arduino and Open Hardware
Arduino and Open HardwareArduino and Open Hardware
Arduino and Open Hardware
 
Ethernet Shield
Ethernet ShieldEthernet Shield
Ethernet Shield
 

Kürzlich hochgeladen

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

XBee and RFID

  • 2. XBee in 30 minutes Xbees are small radio modules that communicate with each other over radio using the Zigbee protocol (built on top of the IEEE 802.15.4 standard, if you care). They allow for drop-in, drop-out mesh networking. New devices can be automatically detected, and existing devices can be removed without disrupting the entire system. Each radio can broadcast or can address specific other modules. Today we will set up a very basic XBee network.
  • 3. What Does an Xbee Network Need? One coordinator to manage the overall network. Multiple endpoints/routers to receive and pass on information. External sensors or other modules to collect and/or respond to the information that the radios communicated.
  • 4. What Hardware Do You Have? Arduino XBee Module XBee USB Explorer Arduino Xbee Shield
  • 5. Loading Firmware You Need: -Xbee Module -Xbee USB Explorer -X-CTU software Digi’s X-CTU software is a program that lets you load firmware onto your XBee module, configure settings, and test the radio’s functionality. It is only available for Windows but can be run in an emulator on an Intel Mac (load Arduino and the relevant drivers in Windows ). http://www.digi.com/support/productdetl.jsp?pid=3352&osvid=57&tp=5&s=316
  • 6.
  • 7. Programming a Router There should be a com port (probably the last) labeled USB Serial Port . Click on it. Click on Test / Query .
  • 8. Programming a Router You should see this ==> Click OK, then click on the Modem Configuration tab.
  • 9.
  • 10. Programming Arduino Remember the button you wired earlier? Make that circuit again. In the Arduino IDE, open “ XBButton.pde” and load it onto your Arduino. You can test that the code is functioning by starting the serial monitor in Arduino. Every time you press the button, the pane should show “Hello world!” (Change the “Hello world!” to say whatever you want.)
  • 11.
  • 12.
  • 13. RFID in 15 minutes RFID (radiofrequency identification) is a way of storing and communicating small amounts of data. RFID tags store data (usually a serial number and a few bytes of changeable information), and RFID readers can read, decode, and sometimes change that data. RFID has historically been used in industrial logistics and tracking, but cheaper and more accessible technologies have recently opened it up for hacking and other creative uses. Today we will set up an RFID reader to read the serial numbers of tags.
  • 14. What Hardware Do You Have? RFID reader RFID antenna Arduino
  • 15. Connecting the Reader 4 5 5 +5V Ground
  • 16. 4 5 +5V Ground
  • 17. Upload your Code Load “RFIDReader.pde” onto your Arduino board. Activate the serial debugger pane in Arduino. Touch an RFID card to the antenna.
  • 18. What is Happening? The RFID reader communicates with Arduino using a communication protocol called I2C, which Arduino code manages using the Wiring library, and which uses analog pins 4 and 5. This is one standard way that microcontrollers communicate with more complicated external devices. This Arduino code continually asks the RFID reader to look for the serial number of any tags near the reader. The RFID reader does the heavy lifting and returns a number to the Arduino--the serial number if it sees a tag, and a 2 if no tags are present. The Arduino then sends the tag’s serial number over the serial port, which you are monitoring on your computer.
  • 19. The Xbee communicates with Arduino over the serial port. The RFID reader communicates with Arduino using I2C and analog pins 4 and 5. Can we combine these? 15 Minutes Left
  • 20. Putting it All Together 4 5 5 +5V Ground
  • 21. Xbee (beware of Series 1 vs Series 2 documentation) http://www.arduino.cc/playground/Main/InterfacingWithHardware http://www.humboldt.edu/~cm19/XBee%20setup.pdf http://hcgilje.wordpress.com/resources/xbee_arduino_code/ http://www.faludi.com/projects/zigbee/ RFID http://www.tinker.it/en/Teaching/RFID http://www.tigoe.net/pcomp/code/?s=RFID&searchsubmit=Find Some Resources