This week I attended IoT-workshop at Haaga-Helia university of applied sciences. In this class we learned basics about embedded systems and designed our very own IoT devices.
During this week we learned very much about systems such as Arduino and Raspberry PI.
Second day’s morning we started by brainstorming ideas for our own device prototypes.
With my partner Atte Liimatta, we decided to design this RFID-scanner, that after scanning key, sends it to database, checks for if the key is in the base, and then sends email to user and waits for user to open verification URL before moving servo and opening the door.
Double Security System
With the components we had from Funduino starter pack ordered from China we started to build our own embedded system.
Our reader works with many key-card types ie. bank cards that have NFC contactless feature, or travel cards so that there is no necessarily need to carry around more keycards that you already have on you.
Hardware we used in our project:
- Breadboard x2
- LCD-display 16*2
- jumper cables
- LED lamps x2
- 3 Resistors
Software we used in project:
- botbook API
- Mailgun API
- Google Firebase
Additionally we had servo, 2 led lamps, potentiometer and LCD screen.
Device reads RFID-tag, compares it with the ones stored in Google’s Firebase database.
In case key is found in the allowed keys list, script sends email containing verification link to user and waits for response for 40 seconds.
If user doesn’t open the link, script sends ‘Verification timeout’ message to Arduino’s LCD screen.
If user opens the link found in email, script sends ‘Access granted’ message to the LCD screen and then servo opens the door attached to the system.
Biggest problems we encountered in this project:
- Mailgun sends email with delay, so that script returns timeout.
- Sometimes LCD screen prints weird characters and spaces and doesn’t always clear screen properly.
On Friday we introduced our projects to each other in the class and were amazed by how much everyone in our class had learned about embedded systems during this week and were able to design their own amazing prototypes even with no electronics- or any programming skills.
I would gladly recommend this class to everyone interested in IoT.
Source codes will be found in GitHub.
Involved in the project:
Teacher: Tero Karvinen