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.
DR GEETALI SAHA, PARTH SHAH
WATCHBOT INTRUDER DETECTION Using Pi Camera And VIDEO STORAGE With Telegram Bot

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

You can also enable the camera interface using the Raspberry Pi configuration menu: Main Menu →Select Preferences Raspberry Pi Configuration. Then, go to the Interfaces tab and enable the camera. Fig. 3 illustrates the Raspberry Pi configuration menu, and Fig. 4 shows the camera enabling configuration.

Denne historien er fra December 2023-utgaven av Electronics For You.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

Denne historien er fra December 2023-utgaven av Electronics For You.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

FLERE HISTORIER FRA ELECTRONICS FOR YOUSe alt
TRULY INNOVATIVE ELECTRONICS -INNOVATION UPDATES
Electronics For You

TRULY INNOVATIVE ELECTRONICS -INNOVATION UPDATES

Amongst numerous press releases of new products received by us, these are the ones we found worthy of the title Truly Innovative Electronics

time-read
4 mins  |
December 2024
Elastomer enhancing smart wearable performance
Electronics For You

Elastomer enhancing smart wearable performance

A high-tech, flexible wearable device made from the innovative elastomer material

time-read
1 min  |
December 2024
Nanotechnology based noninvasive cancer diagnostics
Electronics For You

Nanotechnology based noninvasive cancer diagnostics

Nanoflake sensors built from indium oxide with platinum and nickel detect changes in isoprene

time-read
1 min  |
December 2024
Space communication with silent amplifiers
Electronics For You

Space communication with silent amplifiers

In the new communication system from researchers at Chalmers University of Technology, in Sweden, a weak optical signal (red) from the spacecraft's transmitter can be amplified noisefree when it encounters two so-called pump waves (blue and green) of different frequencies in a receiver on Earth.

time-read
1 min  |
December 2024
Advancements in TOPCon solar cells
Electronics For You

Advancements in TOPCon solar cells

The structure and performance of tandem devices with highly passivated TOPCon bottom cells

time-read
1 min  |
December 2024
Quantum leap in magnetism refines superconductors
Electronics For You

Quantum leap in magnetism refines superconductors

Rice University physicists have uncovered key magnetic and electronic properties in kagome magnets, structures resembling basket-weaving patterns.

time-read
1 min  |
December 2024
Sensor targets food antioxidants
Electronics For You

Sensor targets food antioxidants

A research team from Hunan City University and Xiangtan University in China has developed a sensor for detecting TBHQ, a food antioxidant used in oils and fats, addressing health concerns at high concentrations.

time-read
1 min  |
December 2024
Data sensing with repurposed RFID tags
Electronics For You

Data sensing with repurposed RFID tags

UC San Diego researchers have advanced passive data collection with a breakthrough in battery-free sensing.

time-read
1 min  |
December 2024
Seal-inspired sensors to safeguard offshore wind farms
Electronics For You

Seal-inspired sensors to safeguard offshore wind farms

Schematic structure of the seal whisker-inspired flow sensors

time-read
1 min  |
December 2024
Artificial nose identifies scents accurately
Electronics For You

Artificial nose identifies scents accurately

Artificial nose identifies scents accurately

time-read
1 min  |
December 2024