HI All,
After break I'm making an new blog here about the work , i have done for the Little Free STEM library.
Introduction:
The concept of this project is to add an smartness to the existing Little Free STEM library. Also this adds an security and tracking system for the STEM library. The "Secured STEM Book Library" is made with Bluetooth controller which controls the door of the box. It can be locked and unlocked securely with mobile app over Bluetooth. The Door has True color display which displays the available books inside the box.
The features are,
- Secured way of door access
- Display View of Books
- Tracking system
- QR scan to online library.
- Solar Powered
Block Diagram:
Design
My initial plan to make some wooden type box and later decided to use normal paper card type. The Main part of the design is the CY8CPROTO-063-BLE Prototyping Kit from Infineon. This Kit comes with KitProg 3 debugger for debugging and programming. To develop the firmware i have used ModusTool Box IDE.
The Prototype kit is interfaced with True color OLED display over SPI interface. The display module (NHD-1.5-128128UGC3) is from Newhaven Displays. The display can support multiple modes and i have choosed 3-wire SPI mode. More details about the display refer to the datasheet. The Display pins were directly solder to the proto kit.
Servo Motor is used close and open the door , Its interfaced with Proto Kit over PWM. 5V power supply is given for the Servo , the Torque of the servo is 3.5 - 5Kg.
All the wiring and final setup is mounted on the door itself. Power supply is given through USB connector. The solar based power bank is used for demonstration.
Development
The firmware for the PSoC6 Bluetooth MCU is developed with the help of ModusToolbox Software and Android application is developed using Android Studio.The are basic GATT server client example code from Infineon github repo for the Proto kit.
Security
The library box is secured via Bluetooth communication. The box is using custom GATT service (server). The mobile application runs an client with user credential to access the library with authentication. QR code takes to the cloud for new registration and access the digital library with download options too.
How its works?
The books or magazines where stored in the rack inside the box. The door is closed by default and it displays the available books on the screen. User can view the book details in the screen itself. This saves the time of anyone.
The display also shows the QR code link to get the electronic-paper (ebook) version in the mobile. It can be downloaded into mobile as-well. Also the QR option takes for new registration and request for new books.
Using the mobile app( minimal registration) anyone can securely open the door via Bluetooth. This feature also track the user for borrowing the books to home.
Checkout the working video of Secured STEM lib here.