Motion Following Wireless Survelliance System







A Brief Description

Required Equipments

How it works?

Block Diagram

Algorithm

Detailed Pin Diagram

Problems Faced

Group Members Information

Course Teachers

Project Video






A Brief Description


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.






Required Equipments







How it works?


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.






Block Diagram




                                                                       block diagram

                                                                                                                                                                    fig.1 Block Diagram






Algorithm




       1.Start
              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
                            14.Else
                                   15.No change in Dot matrix and servo motor (Intruder is outside area, Dot matrix and servo motor will maintain previous state)
       16.End






Detailed Pin Diagram




                                                                       pin diagram

                                                                                                                                                                 fig.2 Pin Diagram




Problems Faced


  1. 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.

  2. 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.

  3. As we were placing cameras on servo motors, we had to use servo motors with high power rating.

  4. 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.

  5. 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.

  6. We had to ensure synchronization among the three threads that we implemented in our code.






Project Video







Group Members Information


Section B1: Group 1






Course Teachers


  1. Md. Shariful Islam Bhuyan

  2. Md. Iftekharul Islam Sakib

  3. Ishtiyaque Ahmad



Back to top