Rfid Scanner That Can Read Father Than 10m
Embedded Linux Course by Mark A. Yoder
Team members: Matthew Howlett
Grading Template
I'm using the following template to course. Each slot is ten points. 0 = Missing, 5=OK, x=Wow!
00 Executive Summary 00 Installation Instructions 00 User Instructions 00 Highlights 00 Theory of Functioning 00 Work Breakdown 00 Futurity Work 00 Conclusions 00 Demo 00 Belatedly Comments: I'chiliad looking forward to seeing this. Score: 100/100
(Inline Comment)
Executive Summary
Take you ever wanted to protect your beaglebone from the people on the internet and crave physical presence to operate? With an RFID Scanner and touch screen you lot can prevent tampering. And so far the touch screen from class displays images. I take fabricated several attempts at adapting two libraries for the RFID Scanner and the touch screen. The RFID library allows operation of the scanner over a 3.3V SPI interface. The RFID library for arduino proved too much of a hassle then I am using Peakup's version that has core functionality by and large finished for the Beaglebone. Tweaks had to be fabricated to get information technology to piece of work discussed beneath. The touch screen library uses SPI to draw visuals also as operate the resistive touch screen. The arduino library was designed to operate over an explicit gear up of hardware, has missing features such as touch capablities and not put together elegantly. Then the final projection has resulted in being able to scan an RFID card, log to google sheets, display the id number to a screen and ring a bell respective to the ID number.
Timeline
10/xx/18 RFID reader and TFT screen hardware obtained
10/25/18 RFID reader operational
10/31/18 TFT screen operational
11/5/18 Integration done
Packaging
I will exist using the breadboard given every bit much as possible since the pinouts of the rfid reader and the TFT9341 do not represent well with the pinout of the beaglebone.
Installation Instructions
Wire the beaglebone as shown below:
TFT Display Pins | Beaglebone Pins |
---|---|
MISO | P9_21 |
LED | P9_15 |
SCK | P9_22 |
MOSI | P9_18 |
D/C | P9_19 |
RESET | P9_20 |
CS | P9_17 |
GND | 0V |
VCC | 5V |
MFRC522 Pins | Beaglebone Pins |
---|---|
SDA | P9_28 |
SCK | P9_31 |
MISO | P9_30 |
MOSI | P9_29 |
IRQ | No Connection |
GND | 0V |
RST | 3.3V |
Vcc | three.3V |
Servo Pins | Beaglebone Pins |
---|---|
Control Servo 1 (Yellowish Wire) | P8_45 |
Control Servo two (Yellow Wire) | P8_46 |
Control Servo 3 (Xanthous Wire) | P9_14 |
Control Servo 4 (Yellow Wire) | P9_16 |
Vcc (Red Wire) | 5V |
GND (Brownish Wire) | 0V |
1. Clone the git repo institute here: https://github.com/howletmj/ECE434.git
2. Go to the ECE434/FinalProject/MFRCBellDisplay directory.
3. Enter the make control.
4. Run the setup.sh script.
5. Configure the logtosheets.py to your ain google sheets certificate.
6. Run MFRC522
User Instructions
Scan an RFID card supported by the RFID scanner. The id number will appear on the display, the id number volition be logged to google sheets, a servo will ring one of iv bells three times.
Highlights
Reads Specific ID cards that are not the Rose-Hulman Ids. Shows the ID on the TFT brandish. Logs the id to a google sheet and rings 1 of four bells 3 times.
Challenges
Converting the arduino libraries proved as well much of a challenge due to the lack of documentation on the modules, non put together well and lack of functionality.
Getting the BeagleBone green wireless to pass the loopback examination. The loopback test is a standard SPI port test where the MISO and MOSI ports are tied together. What you write to the SPI bus should be what you become back. When run I would get garbage returned. I learned that the pins demand to exist configured for SPI, two capacitors on bottom of the lath next to the SD menu holder needed to exist removed and finally GCC has strict data construction rules in regards to SPI. If the annotation is not exactly right, GCC will still compile but volition non write to the SPI bus.
The BeagleBone green does not bring out the second aqueduct of the outset SPI bus and the 2d SPI motorcoach was on the pins used for WIFI. I had to move to a beaglebone blackness for SPI pins. I also had to plow off the HDMI port in order to free upwards more PWM pins.
The servos require an additional power supply unit to supply ability that the beaglebone cannot provide solitary. The beaglebone can supply enough power to turn a servo unloaded but cannot with annihilation attached. The pwm needs to be set at 50Hz. The servos I was using for the bells accepted pwm signals with duty cycle of 9% to 15%.
Theory of Functioning
Utilizes the SPI bus and PWM for the servo motors to ring bells. SPI bus has a clock wire, a master out wire, master in wire and a slave select line for every slave device. Requires more wires than I2C but can push faster data rates for curt distances.
Work Breakdown
1. Gathered libraries needed for converting from Arduino to beaglebone C++.
2. Attempt at converting libraries.
3. Loopback test for SPI autobus.
4. Ready issues with SPI passenger vehicle.
5. Verify Scanner works correctly.
5. Get C program to write to LCD screen.
6. Setup servos for bells.
7. Write uids to google sheets.
8. Final Documentation
Future Piece of work
I will in the futurity effort looking through the datasheet for the touchscreen and see if I can write a basic driver to read touch position on the screen.
Conclusions
The embedded systems community is live, thriving and constantly updating. The beaglebone allows people to practice a lot of things in a very attainable style. This project immune me to explore the ability to pull things designed for arduinos and micro-controllers to a higher level platform. While constantly updating, open up source has issues with keeping documentation of issues and problems in previous versions up to appointment. If I had more time I would try to get the touch screen portion of the LCD displays working. It would be cool if someone was able to incorporate Blynk into the project so that you could have live updates of who scanned their rfid bill of fare.
Embedded Linux Form by Marker A. Yoder
Source: https://elinux.org/ECE497_Project_-_RFID_Scanner
0 Response to "Rfid Scanner That Can Read Father Than 10m"
Post a Comment