S15: RFID Security Box
Contents
Grading Criteria
- How well is Software & Hardware Design described?
- How well can this report be used to reproduce this projec
- Code Quality
- Overall Report Quality:
- Software Block Diagrams
- Hardware Block Diagrams
- Schematic Quality
- Quality of technical challenges and solutions adopted.
Project Title
Abstract
The RFID Security Box is a container with an electronic lock that can be unlocked by using RFID tags, NFC-compatible devices, or a manually entered passcode.
Objectives & Introduction
Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.
A security box that is accessible through a numeric keypad, NFC-compatible device, and RFID tags that can store valuables.
- NFC/RFID Controller breakout board
- Lock-style Solenoid
- 3x4 Phone-style Matrix Keypad
- RGB LCD Screen
Team Members & Responsibilities
- Rajwinder Ruprai
- Charles MacDonald
Schedule
Show a simple table or figures that show your scheduled as planned before you started working on the project. Then in another table column, write down the actual schedule so that readers can see the planned vs. actual goals. The point of the schedule is for readers to assess how to pace themselves if they are doing a similar project.
Week# | Date | Task | Actual |
---|---|---|---|
1 | 04/14 | Order parts needed for required functionality, work on box design (component placement, mounting requirements, etc.) |
Completed |
Week# | Date | Task | Actual |
---|---|---|---|
2 | 04/21 | Develop keypad and LCD display drivers. | Upcoming |
Week# | Date | Task | Actual |
---|---|---|---|
3 | 04/28 | Develop solenoid driver and start work on RFID/NFC driver. | Upcoming |
Week# | Date | Task | Actual |
---|---|---|---|
4 | 05/5 | Finish RFID/NFC driver, finish PSU wiring. | Upcoming |
Week# | Date | Task | Actual |
---|---|---|---|
5 | 05/12 | Component integration and testing. | Upcoming |
Week# | Date | Task | Actual |
---|---|---|---|
6 | 05/19 | Tweaking and polishing implementation. | Upcoming |
Week# | Date | Task | Actual |
---|---|---|---|
7 | 05/25 | Project presentation. | Upcoming |
Parts List & Cost
Give a simple list of the cost of your project broken down by components. Do not write long stories here.
Quantity | Description | Cost |
---|---|---|
1 | Lock-style Solenoid - 12VDC | $14.95 |
1 | i2c / SPI character LCD backpack | $10.00 |
1 | MiFare Classic (13.56 MHz) tag assortment (1KB) | $10.00 |
1 | PN532 NFC/RFID controller breakout board (v1.6) | $39.95 |
1 | 3x4 Phone-style Matrix Keypad | $7.50 |
1 | RGB backlight negative LCD 16x2 + extras (RGB on black) | $13.95 |
1 | Extra-long break-away 0.1" 16-pin strip male header (5 pieces) | $3.00 |
1 | ULN2803: 8 Channel Darlington Driver (Solenoid/Unipolar Stepper) (ULN2803A) | $1.95 |
Design & Implementation
The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.
Hardware Design
Initial rough draft of system architecture / schematic diagram (external link):
https://www.dropbox.com/s/1jhlvk78qywjkfu/244_project.jpg?dl=0
Hardware Interface
The buses are allocated as follows:
- PN532 (RFID/NFC transmitter/receiver) is configurable to use RS-232, SPI, or I2C via jumpers.
- LCD is configurable to use SPI or I2C via jumpers.
- LCD RGB backlight uses three GPIOs
- Solenoid uses one GPIO
- Piezo buzzer uses one GPIO.
- Keypad matrix uses multiple GPIOs (connections TBD).
Software Design
Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.
Implementation
This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.
Testing & Technical Challenges
Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.
Include sub-sections that list out a problem and solution, such as:
Issue #1 : Backlight control
The LCD panel has a RGB backlight consisting of a single RGB LED, that has a common anode and three independent cathodes. Each cathode has a 200-ohm resistor in series to limit current to 25mA (when +5V supplied to the anode) per LED. In order to control the red, green, and blue channels of the backlight independently, a circuit is required that can interface a GPIO from the SJOne board to the cathode such that 25mA can be sunk.
The solution is to use a Darlington transistor. The ULN2803 contains eight independent Darlington transistors, each of which having the appropriate base and collector resistors to be controlled by the SJOne GPIOs directly (being TTL/CMOS compatible). This chip can sink 500mA per transistor which meets and exceeds the current requirements of the RGB backlight.
Interfacing the backlight controls to three GPIOs will provide 2^3=8 total colors. However we will use the PWM function of the LPC1758 to to increase the range of available colors to several hundred thousand. This will also allow software-defined brightness control, to either set the brightness to a user-defined level or for strobing or flashing effects on the display by modulating the brightness over time.
Conclusion
Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?
Project Video
Upload a video of your project and post the link here.
Project Source Code
References
Acknowledgement
Any acknowledgement that you may wish to provide can be included here.
References Used
List any references used in project.
Appendix
You can list the references you used.