Robinson Mesino
Published © GPL3+

Rampiot - Cool Smart Lock

This smart lock allows create rules and scheduled actions with your voice using Alexa and a new unlock feature using smartphone fingerprint.

IntermediateFull instructions provided8 hours4,360

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
ESP8266 ESP-01
Espressif ESP8266 ESP-01
×1
Male Header 40 Position 1 Row (0.1")
Male Header 40 Position 1 Row (0.1")
×2
Adafruit female header pin
×1
Solar Servo D772
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×15
micro momentary switch button
For lock, unlock and reset configuration
×3
female pin header 2 rows
×1
m3 screws 12 - 15 mm
×8
m3 nuts
×6
3d pla filament hatchbox gray
×1
3d pla filament eSUN red
×1
Adafruit magnetic contact switch sensor
×1

Software apps and online services

AWS Lambda
Amazon Web Services AWS Lambda
AWS SNS
Amazon Web Services AWS SNS
AWS API Gateway
Amazon Web Services AWS API Gateway
AWS DynamoDB
Amazon Web Services AWS DynamoDB
AWS EC2
Amazon Web Services AWS EC2
Alexa Skills Kit
Amazon Alexa Alexa Skills Kit
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Soldering iron (generic)
Soldering iron (generic)
Hot glue gun (generic)
Hot glue gun (generic)
super glue

Story

Read more

Custom parts and enclosures

ServoBoardsMount

Handler

Bottom

Top

Arduino Top

Rod

Schematics

BreadBoard Smart Door

PowerPinsPCB

SmartDoorBoardESP01PCB

Code

rampiot-arduino-lib

This layer has the responsibility to encapsulate the serial communication with the RampIOTESPShield and expose the methods to principal Sketch to interact with the platform.

RampIOTESPShield

This library encapsulates all network tasks and common processes to connect with the Rampiot iot platform exposing this functionality over serial.

rampiot-alexa-smart-home-skill

Rampiot custom Alexa skill

SmartDoorArduino

This is where all the logic of our smart door is, here the position of the servo is read, the opening sensor is read and it is also decided what to do when a message arrives from the MQTT server. Here it also notifies the MQTT server when an open / close / lock / unlock event is triggered.

rampiot-access-token-refresher

This functions connects with AWS LWA and request/refresh/save the access token used for call to Alexa Event Gateway.

rampiot-alexa-event-gateway-reporter

This lambda function is the one that finally reports to the Alexa Event Gateway the final state of the door (locked/unlocked).

alexa-rampiot-smart-home-skill-adapter

Rampiot Smart Home Skill

Credits

Robinson Mesino

Robinson Mesino

1 project • 6 followers
I'm an iot enthusiastic, and software developer that loves technologies !!

Comments

Add projectSign up / Login