Giter VIP home page Giter VIP logo

pi-radar's Introduction

Pi-Radar

A system that takes a picture of a moving object and uploads the picture to an embedded web server.

The system uses an ultrasonic sensor as a radar that moves from 0 to 180 degrees with the help of a servo motor. If the radar detects an object within 1 meter, it will stop and communicate its current position to the Raspberry Pi. The Pi camera will take a picture of the object which is uploaded on the webserver hosted on Apache (a hosting service that is integrated in the Pi). The Pi will then send the position of the object to the servo motor controlling the semi-automatic gun and the gun will fire at the target.



captureImage.py will be executed by the program on the pi terminal and capture an image of the moving object.

final.php and mywebpage.php handle the web server and each components linked to the pi.

send_sms.py will send a message on my phone saying that there was an object detected and shot, with a link to the webserver to see a picture of the object.

Here are some pictures of the system:







Here is a YouTube link to see the final product: https://youtu.be/MPkwN5O2cqY
The system as whole wroked fine but there were some issues with the gun. The gun uses two DC motors and are very close to each other in the 3D printed gun. The problem with that design is that the magnetic fields of the 2 motors cancel each other which prevented the motors from spinning (and therefore prevented the gun from shooting the aluminium foil projectile) in the video. There will be an update to the design.

pi-radar's People

Contributors

viciiiz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.