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

 

DSC_2059

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

 

DSC_2061

Arduino connected

DSC_2062

RFID sensor connected

 

 

 

 

 

 

 

 

 

 

Circuit diagram:

Screenshot_2017-03-24_14-43-26.png

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.

DSC_2064

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

 

 

DSC_2065

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.

 

9ur0T61

 

 

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

Advertisements

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:

WordPress.com Logo

You are commenting using your WordPress.com 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