Reprogrammable RFID Robot
Team Members: Sachit Kadle, Brandon Lico, Vatsal Patel, Richard Wan
Description
The RFID robot is a robot that can be programmed by a user to move in a path and play songs. The robot is programmed by being given a set of commands. Each command consists of two components: A command type (forward, reverse, turn right, turn left, playsound) and a magnitude (distance, angle or song). A LCD display attached to the robot allows a user to select one of the several modes that can be used to program the robot.
1. Read From RFID Mode
The robot can scan multiple RFID cards containing commands, and when prompted execute all of the scanned commands in the order they were scanned.
2. Reprogram Mode
The user has the ability to change the commands that the RFID cards represent in reprogram mode. The translation between RFID tag and command is stored on a SD card, therefore cards keep their commands even after reset.
3. Read from SD Mode
The robot can execute a set of commands that are stored on a microSD card.
4. WiFi Mode
A user can program a RFID card to contain multiple commands using a web interface. In WiFi mode the robot can then scan the programmed RFID card and execute its commands, by pulling the command data wirelessly from a web server.
Hardware
- mbed
- HD44780 LCD display
- iRobot Create
- microSD Car reader
- microSD Card
- ID20 RFID Reader
- RFID Cards
- Roving Networks WiFly RN-171-XV
- RS-232 Breakout Board (Used for iRobot Communication)
Connections
mbed | iRobot RS-232 | RFID Reader | LCD Display | Push Buttons | microSD Reader | WiFi Adapter |
---|---|---|---|---|---|---|
Vout (3.3v) | Vcc | |||||
VU (5V) | Vcc | Vcc, RST | Vcc | Vcc | ||
Gnd | Gnd | Gnd, FS | Gnd, RW, V0 | Gnd | Gnd | |
p5 | DI | |||||
p6 | D0 | |||||
p7 | SCK | |||||
p8 | CS | |||||
p10 | D0 | |||||
p13 | RX | |||||
p14 | TX | |||||
p15 | RS | |||||
p16 | E | |||||
p17 | D4 | |||||
p18 | D5 | |||||
p19 | D6 | |||||
p20 | D7 | |||||
p21 | Terminate | |||||
p22 | Down | |||||
p23 | Up | |||||
p24 | Select | |||||
p27 | TX | |||||
p28 | RX | |||||
p29 | GPIO 6 | |||||
p30 | RST |
Code
The following API's were used with this code:
Import programRFIDRobot
Code for RFID Robot
Video
Please log in to post comments.