Inspiration💡

One of my fellow hackers got some swag when he was at school🏫, and it was delivered to his mailbox📬. And he came home happy and opened his mail, but he couldn't find the parcel 📭there and realized someone had stolen it. And later we got to know that it happens very highly in the USA and have seen some reports so decided to make a mailboxm📫 🔏with security to avoid such things.

So our project helps our fellow hackers🧑‍💻 and eliminates the snakes🐍

Nowadays everyone is busy with their own work. It has become very difficult to monitor each and every task which goes on in our daily lives. People have become so busy that they buy things for themselves through online e-commerce websites i.e., Amazon and Flipkart. Most of them are working professional and busy with their daily schedule and as they order things they don’t receive or collect their order at the time of delivery. They simply entrust the order to their neighbor or the delivery agent takes away the parcel with him leading to a delay in delivery. Due to the delay in delivery, the customer has rescheduled the delivery date by contacting customer care and has to wait for a few more days in order to take the delivery and which leads to customer dissatisfaction.

What it does💪

The working of our Smart Locker is very simple. The user has an application that generates a random One Time Password (OTP) whenever he clicks the ”Generate OTP” button present in the app. At the backend, this OTP gets stored in the Google Firebase which is in constant communication with ESP8266 NodeMCU which reads the OTP. Whenever the user enters the OTP displayed in the app, the lock gets unlocked since the OTP entered from the keypad is matching with the OTP stored in the Google Firebase with the help of ESP8266 NodeMCU. Here we are using a 16*2 LCD for displaying the message on the locker for the user to enter the OTP and to inform whether the OTP entered is correct or not. A solenoid lock is used for the locking mechanism which is controlled by a 1 channel relay here in this case. So we finally get the OTP generated from the app got stored in the Google Firebase successfully and ESP8266 NodeMCU established a connection with the Google Firebase and read the OTP.

How we built it❓🧠

We built it using the following components:

Hardware:⚙️ Node MCU DC 12V Solenoid Electromagnetic Cabinet Door Lock 16x2 LCD I2C Module A keypad 9V Battery Battery Cap Channel Relay Module Printed Circuit Board(PCB) PCB Vector Board Jumper Wires

Software:⚙️ Arduino IDE Fusion 360 Fritzing Google Firebase

Co:here

We used Cohere to make an API through which we can generate random One Time Passwords(OTP) which can be used as an alternative to the app we developed to generate random OTPs.

Challenges we ran into🧗

We tried integrating a cohere-based OTP generator in our application and it worked well. Working with firebase to work it with nodeMCU Working with Node MCU as its the first time going through blogs and all Spernovas server is down working with Twilio. trying to figure out how we can integrate it with our project

Accomplishments that we're proud of🎗️🏆

Able to use cohere API with our project Able to make cool NFTs Managed to learn more about Git and Github. We used Node MCU instead of Aurdino UNO which we use regularly Happy to make a project which helps everyone.

What we learned👨‍🎓

We learned how to create a random OTP generating app and learned how to use the google firebase. We even learned how to use hardware components such as Node MCU, Relay module, etc. We learned how to design circuit diagrams in Fritzing and how to design CAD models in Fusion360. We even learned how to use Arduino IDE. We learned using cohere, GitHub, and Node MCU very well, and how Twilio works.

What's next for Smart Locker🔮

Our Smart Locker might be still at the prototype level but it can be upgraded with many more features like adding a camera so that the user can ensure that the parcel has been placed in the locker. Our idea can also be implemented in Apartments where a group of lockers can be set up in a single room (preferably on the ground floor) with the above-mentioned technology so that the delivery boy can easily place the parcel or product of a particular customer in their respective locker.

Built With

Share this project:

Updates