A Brief Description
A Brief Description
How it works?
Detailed Pin Diagram
Group Members Information
In this project we have developed a motion following wireless survelliance system for survelliance purpose in classified areas where some important or valuable thing is kept. Let us consider a scenario where an intruder has entered our classified area, we now want to get the real time position of the intruder in our classified area. We also want to keep an eye on our intruder using our camera deployed in that area. We want to do this using minimum number of cameras. Our project deals with the solution of such problem.
We will be able to watch the real time position of the intruder in dot matrix and the camera stream in our monitor. Camera stream will come wirelessly, so monitor can be in distant place from cameras.
Raspberry Pi 3
8X8 Dot Matrix
Other necessary equipments like: breadboards, registers, jumper-wires, potentiometers, AC to DC adapters
In this project Raspberry pi 3 was used for interfacing to various hardware peripherals. Using three sonars we tracked the position of the intruder. We considered our classified area as a 3X3 grid. For each coloumn of that grid, we used one sonar. For each sonar we considered three distance regions. From these arrangement, we calculated the distance of the intruder from the corresponding sonar. We used two survelliance cameras. Each camera was placed on a servo motor. By changing duty cycle, we rotated each motor towards the intruder. As a result, survelliance cameras placed on the servo motors were able to cover the intruder. We used two cameras because we covered our intruder by two different cameras placed in two different positions. This allowed more accurate coverage of the intruder. We used Dot matrix for showing the current location of intruder in our grid. We wirelessly stremed the video captured by survelliance cameras to our monitor. For video stream we used the wifi interface of Raspberry Pi 3. Our cameras and Raspberrry Pi 3 were connected in the same network.
fig.1 Block Diagram
2.Start three threads for three sensors
3.In each thread do the following:
4.Continuously measure distance from corresponding sensor to intruder
5.If distance is within first range
6.Turn on Dot Matrix accordingly
7.Move servo motor accordingly
8.Else if distance is within second range
9.Turn on Dot Matrix accordingly
10.Move servo motor accordingly
11.Else if distance is within third range
12.Turn on Dot Matrix accordingly
13.Move servo motor accordingly
15.No change in Dot matrix and servo motor (Intruder is outside area, Dot matrix and servo motor will maintain previous state)
fig.2 Pin Diagram
We at first took decision to work with ardiuno, but it was too slow to do continuous video feed, so we finally did our project with Raspberry Pi 3.
We at first were using pir sensors. But pir sensors are very sensitive to motion and as a result, we were getting many false alarms. For this reason, we took decision to work with ultrasonic sensors.
As we were placing cameras on servo motors, we had to use servo motors with high power rating.
We faced problem while managing power for servo motor, we needed 5V and 1A for servo motor. Ensuring 5V was not a problem, but ensuring required current supply was a problem, as batteries quickly discharged while we wanted to get such current. For solving this problem, we used AC to DC adapter.
At first we were trying to operate the two servo motors from the same AC to DC adapter, but we saw that whenever both the servos needed to rotate together, they were not getting necessary power. So we used two AC to DC adapters to power two servo motors.
We had to ensure synchronization among the three threads that we implemented in our code.
Section B1: Group 1
Repon Kumar Roy (1205002)
Kazi Zaber (1205004)
Sudipta Saha Shubha (1205014)
Nazmus Sakib (1205020)
Md. Shariful Islam Bhuyan
Md. Iftekharul Islam Sakib
Back to top