Parichoy Ghosal
Published © GPL3+

Personal Locker using Bolt IoT module

This is a simple locking mechanism for a personal locker which can be controlled externally using a mobile app or Google Assistant

BeginnerShowcase (no instructions)2 hours91
Personal Locker using Bolt IoT module

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
MIT App Inventor 2
MIT App Inventor 2
IFTTT

Story

Read more

Schematics

Connection of SERVO motor to the BOLT module

Code

Servo motor control with API

JavaScript
BOLT CLOUD PRO feature provides API key that can be used to control Servo motor connected to a BOLT module through the internet. The API keys are integrated into http links along with desired degree of rotation and connection pin for the desired servo motors connected to one of the BOLT modules. The BOLT device ID is also mentioned in the http link. By creating different links with different angle of rotation and embedding the links into buttons of a mobile app, the servo can be controlled over internet through the mobile app.
https://cloud.boltiot.com/remote/<API key>/servoWrite?pin=<pin>&value=<angle>&deviceName=<device name>

Credits

Parichoy Ghosal
3 projects • 3 followers

Comments