Versuchen GOLD - Frei
WATCHBOT INTRUDER DETECTION Using Pi Camera And VIDEO STORAGE With Telegram Bot
Electronics For You
|December 2023
Vigilance of remote locations on your mobile is an assurance for many individuals across the globe.
In our last article, we shared information about intrusion detection using a PIR sensor and how to store captured images on Firebase, an open source Google Cloud tool. This time, we have included video storage using the Telegram app. Our proposed setup is illustrated in Fig. 1.
Here, a PIR sensor connected to a Raspberry Pi checks for intruders in a room using a motion sensor. If it detects human movement, it captures frames from the camera and sends them to your Telegram bot. Fig. 1 depicts the author's prototype of the observation zone where slight hand movements activate the Pi camera, recording a 5-second video. The bill of materials for this bot is listed in Table 1.
EFY note. Additionally, you will need a 16GB SD card and a 5V 2A DC power source if you already have a Raspberry Pi.
Connection
Fig. 2 shows the circuit diagram of intruder detection using a Pi camera and video storage with the Telegram bot. It is built around Raspberry Pi 4B+ (MOD1), a PIR motion sensor (S1), Pi Camera, and a few jumper wires.
Installation and setup
We have used Python for programming. Before coding, you need to configure Raspbian OS on the Raspberry Pi and install the necessary Pi camera library files.
To use a Raspberry Pi camera (connected via a ribbon cable), first enable the camera interface in the Raspberry Pi configuration settings.
You can do this through the terminal using the following commands:
$ sudo apt-get install python-picamera
$ sudo apt-get installpython3-picamera
Diese Geschichte stammt aus der December 2023-Ausgabe von Electronics For You.
Abonnieren Sie Magzter GOLD, um auf Tausende kuratierter Premium-Geschichten und über 9.000 Zeitschriften und Zeitungen zuzugreifen.
Sie sind bereits Abonnent? Anmelden
WEITERE GESCHICHTEN VON Electronics For You
Electronics For You
Soft-robotic glove for swelling relief
A soft-robotic wearable glove developed by researchers at Cornell University electronically compresses the hand to reduce swelling and has been designed to help patients manage oedema at home.
1 min
April 2026
Electronics For You
TACHOMETER WITH LED DISPLAY To Show Bicycle And Fan Speeds
Measuring the speed of a rotating object is a common requirement. Knowing the speed of table and ceiling fans, as well as kitchen appliances such as mixers and grinders, can often be useful.
5 mins
April 2026
Electronics For You
How AI Is Revolutionising EMBEDDED SYSTEMS' DESIGN
From flowcharts to firmware, the embedded design pipeline is evolving. This article examines Al's growing influence on embedded design workflows.
8 mins
April 2026
Electronics For You
AUDIO SPECTRUM ANALYSER With Bar-Type LED Display
An audio spectrum analyser is an electronic instrument or device that measures and displays the amplitude of an input signal as a function of frequency.
4 mins
April 2026
Electronics For You
“We Believe In Relationship Building More Than Business”
In an interaction with EFY's Nitisha Dubey, Pragnesh Patel of CircuitWala shares insights into Gujarat's PCB ecosystem, policy support, growth roadmap, expansion strategy, and the company's market positioning challenges.
2 mins
April 2026
Electronics For You
BLDC Motor Failure Detection System FOR DRONE SAFETY
Drones are widely used across several fields, including aerial photography, surveying, inspection, agriculture, and recreation.
5 mins
April 2026
Electronics For You
HOW VISION COMPUTING SOCs Will Reshape India's Electronics And Embedded Systems Landscape
Vision Computing SoCs could emerge as a defining layer in India’s next phase of electronics growth. With the right ecosystem in place, the country can move beyond following global hardware trends and begin shaping the future of intelligent embedded systems.
3 mins
April 2026
Electronics For You
AI-Powered, Secure, And Intelligent FUTURE OF EMBEDDED SYSTEMS
What if the silent chips around us could think? By 2025, embedded systems have moved beyond executing code-they can now actively shape their environments. From wearables that predict heart conditions to self-healing factories, smart machines now learn and adapt in real time. This expanding capability brings new challenges in energy, safety, and design.
6 mins
April 2026
Electronics For You
"EMBEDDED AI IS No Longer Waiting FOR THE CLOUD"
Transformer-level AI running natively on microcontrollers was once considered impossible.
4 mins
April 2026
Electronics For You
AI-BASED GATEMAN SYSTEM To Record Vehicle Number Plates
An earlier version of this automatic gateman system, built around a camera-based design, was published on the Electronics For You website and can be accessed here:
4 mins
April 2026
Translate
Change font size
