Home > Control Circuits >Other Control Circuitss > How to use M5Stamp PICO and Qubitro to build an IoT door lock monitoring system

How to use M5Stamp PICO and Qubitro to build an IoT door lock monitoring system

Source: InternetPublisher:JFET Keywords: Controller Internet of Things Monitoring System Updated: 2024/05/13

In this post, I will show you how to build a DIY IoT door lock monitoring system using a small M5Stamp PI CO controller and Qubitro .

background

This project was also inspired by my cute little cousin. He often opens the fridge to eat some snacks or something he shouldn't eat too much when everyone is at work. So, I wanted to catch him when he opens the door. I also added Qubitro to record the data and monitor it over the internet.

Component requirements:

1. M5Stamp PICO。

2. Infrared sensor .

3. Some wires.

Circuit connection:

pYYBAGKV4ayAGVWsAAFl4gcKcL0254.png

Coding part:

Please configure the code with your network credentials, I have provided them below:

poYBAGKV4aiAchMIAABR5al2R9s553.png

Change the Device ID and Device Token to match your Qubitro Cloud. If you are new to Qubitro, follow these steps to learn all about Qubitro and how to set up your Qubitro Cloud :

pYYBAGKV4aSAHu4XAACi9ODxgXU010.png

Once you have completed the above steps, compile the script using the Arduino IDE and upload it to your M5Stamp:

#include

#include

pYYBAGKV4ZqAet0mAAEoZoEnLpw987.png

After uploading the script check the serial monitor for results.

poYBAGKV4ZaAfELxAAI2SvSnsvM972.png

data visualization:

After that, go to the Qubitro portal and check the data coming in. Once you have the data, you can start the visualization process.

pYYBAGKV4ZKAABUeAAB4HZul2Es865.png

Here is the timeline details, whenever the door is open it is 0 and when the door is closed it is 100.

poYBAGKV4Y6AafsbAABl6zLW1SE918.png

in conclusion:

That’s all for this project; I have tested this project with my door and I hope you guys like it.

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号