This Project will use the same code as RFIDuino_helloworld3. This time however, we will be sending the data over the computer wirelessly using 2 XBees and an SBee Uart.
- Load the RFIDuino_helloworld3 sketch onto your arduino. You can find this sketch under File>Examples>RFIDuino after you've installed the RFIDuino Library NOTE:You cannot program the Arduino if the XBee is connected. Remove the Xbee or shield when you are programming your Arduino.
- Connect your components as shown here.
- Connect the Sbee Uart to your computer via USB. This device will show up as a serial port in the Aruino IDE. Pick that serial port and open a serial terminal.
- Attach your RFIDuino to an external power supply like a battery or power brick.
- Swipe the 'key' tag across the RFIDuio antenna. The green light will light up and your buzzer will sound. The RFIDuino will also transmit the ID to your computer via the XBee.
- Check your serial terminal on your computer. You should will see the tag IDs just as if you had your RFIDuino plugged into your computer.
Normally the Arduino uses pins 0(RX) and 1(TX) to communicate with the computer. With our new hardware setup, the XBee will take those pins and use them to transmit wirelessly. The second xbee will pick up that communication and relay it to the computer via the SBee.
RFIDuino Functions used in this example