Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart door using ESP-32 #11

Open
jimbobbennett opened this issue Sep 4, 2020 · 0 comments
Open

Smart door using ESP-32 #11

jimbobbennett opened this issue Sep 4, 2020 · 0 comments
Assignees
Labels
lab wanted A request for a new lab

Comments

@jimbobbennett
Copy link
Contributor

This lab shows a prototype smart door setup using an ESP32 board.

An ESP32 and a stepper motor will simulate a door lock. The ESP32 can detect a magnet nearby, and this can simulate a detector for an open/closed door. The door status will feed to IoT Hub. The stepper motor will simulate a lock, and be controlled by IoT Hub to show how a smart lock can be cloud controlled.

The ESP32 will be coded in C++. There will be a Python app to show the data running in a Jupyter notebook

Hardware used

  • ESP32
  • Stepper motor
  • Breadboard
  • Magnet

Lab steps

  • Setting up ESP32 coding using PlatformIO
  • Setting up IoT Hub (links to existing Microsoft Docs)
  • Detecting a magnet and controlling a stepper motor
  • Connection to IoT Hub to send magnet detection data and respond to direct methods to lock the door
  • Visualizing door data and controlling the lock via a Jupyter notebook.

All labs should follow the lab contribution guidelines.

@jimbobbennett jimbobbennett added the lab wanted A request for a new lab label Sep 4, 2020
@jimbobbennett jimbobbennett self-assigned this Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lab wanted A request for a new lab
Projects
None yet
Development

No branches or pull requests

1 participant