IoT-workshop 20.03-24.03.2017

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:

  • Arduino
  • Shield
  • Breadboard x2
  • RFID-RC522
  • LCD-display 16*2
  • Potentiometer
  • jumper cables
  • LED lamps x2
  • 3 Resistors


Software we used in project:

  • C++
  • Python
  • botbook API
  • Mailgun API
  • Google Firebase



Arduino connected


RFID sensor connected











Circuit diagram:


Additionally we had servo, 2 led lamps, potentiometer and LCD screen.

Basic idea:

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.


Access is verified by key and email and shows it to user.




If key is not found in allowed keys database, script returns ‘Access denied’ message..


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:

Mark Laatikainen

Atte Liimatainen

Teacher: Tero Karvinen

Course page

Material used


One thought on “IoT-workshop 20.03-24.03.2017

  1. Pingback: Passer-by counter and calculator version 2 – IOT-workshop – Ohikulkutunnistin ja laskuri versio 2 – IOT-työpaja – Site Title

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s