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:
Coding part:
Please configure the code with your network credentials, I have provided them below:
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 :
Once you have completed the above steps, compile the script using the Arduino IDE and upload it to your M5Stamp:
#include
#include
After uploading the script check the serial monitor for results.
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.
Here is the timeline details, whenever the door is open it is 0 and when the door is closed it is 100.
in conclusion:
That’s all for this project; I have tested this project with my door and I hope you guys like it.
- How to build a simple tachometer using an infrared reflectance sensor
- A small improvement to the temperature and water level indicator alarm
- Using P110C to control 6 DC motors simultaneously
- Design and production of radio remote control fan stepless speed regulator
- Design and analysis of wire control circuit
- Light-controlled circuit design and analysis
- Design and analysis of voice control circuit
- Home wireless burglar alarm circuit
- Infrared detection alarm
- Water supply reminder after water outage
- How to ensure that the power supply works for a long time—PA power analyzer
- Ringtone control circuit
- Infrared voice control circuit
- Wire-controlled music lights and stepless dimming dual-purpose controller
- Flashing Light Controller (2)
- Charging circuit diagram using LM3914 as controller
- RF signal automatic cycle monitoring controller
- stair lighting controller
- Reflective infrared corridor lighting controller
- Multi-variable flow light controller