Detect Motion and Destroy Target! Amazing Autonomous DIY Idea

Тәжірибелік нұсқаулар және стиль

In this video I show you how to build a DIY motion tracking project with a Raspberry Pi 3. The project is autonomous so it moves and fires the gun when it detects motion. I used laser module for this project, but you can easily change modify this build to use a Nerf instead. This project allows you to detect and track a person with OpenCV and then trigger a device (such as a laser or gun).
Please subscribe! ❤️ For all lovers of #raspberrypi #diy #electronics #engineering #technology #electronics #pcb #iot #arduino
👨‍💻 Source Code:
github.com/MertArduino/Raspbe...
👉🏻 Required Hardware (Banggood)
Raspberry Pi 3 Model B+
bit.ly/2P8m4dc
amzn.to/3mfp3yY
Raspberry Pi Adapter
bit.ly/32zJxYD
amzn.to/3cT9jyn
Stepper Motor HAT
bit.ly/2MAfKJK
amzn.to/3uvzvVZ
Adapter 12V
bit.ly/2m2GCHj
amzn.to/39y3Ivl
Relay Module
bit.ly/2pBpcDE
amzn.to/3u7b013
Pi Fan 5V
bit.ly/33OThhF
amzn.to/3fRnFkZ
Pi V2 Official Camera
bit.ly/2P42mz7
amzn.to/3wbD7Oq
Webcam PC Camera
bit.ly/2MZEIB9
Laser Module 5V
bit.ly/2oPjPRf
amzn.to/31MjxKK
Stepper Pulley
bit.ly/2P846aG
amzn.to/3cUlOd7
Adhesive
bit.ly/35SiwRX
amzn.to/2Q441qL
M3 Screws
bit.ly/2o4L7T7
amzn.to/3wheyzu
L Shape Bracket
bit.ly/2W2tf83
amzn.to/3t0sAUs
Shaft Coupling
bit.ly/32BFbjo
amzn.to/2R0nmcX
Linear Rail Rod
bit.ly/2W03KEp
Cable Tie
bit.ly/35ScwZB
amzn.to/2PKGZ8b
MDF Sheet
Spray Paint
👉🏻 Recomended Item
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
Banggood Spring Sale - bit.ly/3slMbOn
Raspberry Pi 3 Model B:
amzn.to/2For0I2
Raspberry Pi Adapter:
amzn.to/33iXnQH
5V 1 Channel Relay Module:
amzn.to/2ZtpYSh
Raspberry Pi V2 Official Camera :
amzn.to/3hqxO4V
Red Laser Module 5mW:
amzn.to/2ZpcZAQ
Steel Screw Assortment Kit:
amzn.to/3bMD8Pb
Corner Angle Bracket L Shape:
amzn.to/3mkU2cD
Cable Tie Zip:
amzn.to/3mbm5Lp
😊 Contact Me:
/ mertarduino

Пікірлер: 76

  • @maker101io
    @maker101io3 жыл бұрын

    Source Code: github.com/MertArduino/RaspberryPi-Mertracking Recomended Item Use Your Muscles in Project - amzn.to/3wdL45C​ 37 Sensor & Module Packages - amzn.to/3m66WeQ​ Try this Robot Arm - amzn.to/3fq8DCl​ Best Resin 3D Printer - amzn.to/39tY8KB​ Arduino Compatible Kits - bit.ly/2J2AFF7​ Banggood Spring Sale - bit.ly/3slMbOn​

  • @woolfy02
    @woolfy022 ай бұрын

    Wow very impressive! It's amazing how smooth the motion is too. Thanks for sharing how to build it!

  • @pradipubale1985
    @pradipubale19853 жыл бұрын

    Sir I am Indian Very nice work

  • @krtikpnd432
    @krtikpnd4324 жыл бұрын

    Awesome!!!👍👍.....great work and if it does this job more accurately than this would be great.

  • @navdeepjain5655
    @navdeepjain56554 жыл бұрын

    U r amazing dude!!

  • @mahyar305
    @mahyar305 Жыл бұрын

    great work, many thanks

  • @thesherlockholmes1078
    @thesherlockholmes10784 жыл бұрын

    You have a lot of knowledge bro.....super 🤝thnq bro✌

  • @siliconhub6492
    @siliconhub64924 жыл бұрын

    This I want from you Mert AWESOME, when you're coming India you said you came here once

  • @sherozali3498
    @sherozali34984 жыл бұрын

    Awesome

  • @teknobuton2441
    @teknobuton24414 жыл бұрын

    Yaratıcı 👍🏼

  • @mushfiqqayyumsaif7358
    @mushfiqqayyumsaif73584 жыл бұрын

    Incredible!

  • @mushfiqqayyumsaif7358

    @mushfiqqayyumsaif7358

    4 жыл бұрын

    @@maker101io can you make a video on motion sensing animatronic robot head with pir sensor? Which can look around, blink it's eyes and detect the position of any object in front of it. But raspberry pi is too difficult for me, so I would prefer arduino. I'm planning to make a robot head which is only operated with servo and the eyes will be made of led matrix. But that would be just a toy. :( So I would like to request you to make a arduino based animatronic robot head if possible. Thanks ☺️

  • @CoreyJohnsonWW
    @CoreyJohnsonWW4 жыл бұрын

    Not sure if I am overlooking it but I do not see a link for the stepper motors. I have been unable to find a match for OK42STH33.

  • @emberDIY
    @emberDIY4 жыл бұрын

    Me gustan mucho tus videos...saludos desde Colombia...👍👍👍

  • @NamasenITN
    @NamasenITN11 ай бұрын

    It would have been so cool if you had explained the "zeroing" algorithm or the calibration of the system.

  • @TheOpticalFreak

    @TheOpticalFreak

    8 ай бұрын

    I think he didn't write the code himself, but just downloaded it somewhere! 🤷🏻‍♂️

  • @electronic7979
    @electronic79794 жыл бұрын

    Tek kelimeyle mükemmel 👍

  • @chamelionss
    @chamelionss Жыл бұрын

    great , could u make it for kill the flys , bug with powerfull laser ?

  • @howinteresting7564
    @howinteresting75644 жыл бұрын

    Woww

  • @dr.azeemaabdulsalam5988
    @dr.azeemaabdulsalam59884 жыл бұрын

    Great

  • @1979za
    @1979za4 жыл бұрын

    Would it work with a thermal camera?

  • @tarzoimdwolverine4669
    @tarzoimdwolverine46694 жыл бұрын

    Nice

  • @ruzgarerik7221
    @ruzgarerik72214 жыл бұрын

    Çok güzel olmuş

  • @raghavadevarakonda7592
    @raghavadevarakonda75924 жыл бұрын

    Amazing.👌👌👌

  • @raghavadevarakonda7592

    @raghavadevarakonda7592

    4 жыл бұрын

    @@maker101io hologram images,it would be better if you do about this 😅

  • @minaxidesai3886
    @minaxidesai38863 жыл бұрын

    Brao man brao what a fantastic and incredibale idea i am very impresse

  • @shammirahthemba8225
    @shammirahthemba8225 Жыл бұрын

    HI. I your video was helpful. can i ask if the laser is power intensive (burning lasor)

  • @imperatrice_85
    @imperatrice_859 ай бұрын

    Jesus, me owning a CNC Laser, i could never imagine working like that XD but well done ;-)

  • @shreyanshsingh7439
    @shreyanshsingh74393 жыл бұрын

    Which os u have installed on ur raspberey

  • @diogofernandes4920
    @diogofernandes49203 жыл бұрын

    can you explain to me how can a camera track a person? don´t you need to use a motion sensor, for example, a PIR motion sensor to detect the person and then using that data and hit the target with the laser (gun)

  • @angzarr9584

    @angzarr9584

    Жыл бұрын

    AI. the machine knows what the target is supposed to look like and aims at it

  • @jsopdebeeck
    @jsopdebeeck3 жыл бұрын

    Hello, do you know if it is possible to track Hornets in open-field ( OpenCV, RPi4, fixed HD camera, but laser moving) ? I'm not a developper and I desperate to do better than just detecting basic objects. Hornets are fast stuffs

  • @6lague

    @6lague

    Жыл бұрын

    Go for it dog, I'm low-key interested seeing this happen

  • @woolfy02

    @woolfy02

    2 ай бұрын

    We're you able to build it?

  • @jsopdebeeck

    @jsopdebeeck

    2 ай бұрын

    @@woolfy02 hello, unfortunately speed requires many computing and really fast motors or laser piloted by mirrors. The theory was here but not the precision. My 5 watts laser was way too dangerous to be piloted in open space. So I stopped this too technical and ambitious project. Thank you for asking

  • @shreyanshsingh7439
    @shreyanshsingh74393 жыл бұрын

    actually could u please tell that which stepper motor is Y axis and which is X because in diagram u have mentioned them by 1 and 2.....

  • @sanandbangale6414
    @sanandbangale64144 жыл бұрын

    Wow very nice video love it and please amke a video on selecting target by camera not by motion detection sensor just like jet plane use

  • @MrBojo-jv4qq
    @MrBojo-jv4qq4 жыл бұрын

    Ah never mind, I just saw the whole video. Nice start though, can improve from here.

  • @dr.azeemaabdulsalam5988
    @dr.azeemaabdulsalam59884 жыл бұрын

    Can u do this with Arduino

  • @saurabhkalaskar1430
    @saurabhkalaskar14304 жыл бұрын

    What is the range

  • @shreyanshsingh7439
    @shreyanshsingh74393 жыл бұрын

    well is there a reason for delayed rsponse from the turret......if yes, then what is it, could anyone please tell

  • @AbdulSamad-hd1sr
    @AbdulSamad-hd1sr4 жыл бұрын

    Speed can be increased by using threading for video streaming and skipping few frame per second ..also if you had use pi camera it would give you approximately 49 to 60 frame per second

  • @burakhandogan2856

    @burakhandogan2856

    3 жыл бұрын

    Hi Dear Abdul, Which camera is good for this system? If I increase the frame per second it is good or bad? Which camera do you suggest? Pi camera or logitech camera. And why the system is working slowly? If I want to obtain a superfast recognition what should I do? Best Regards

  • @NamasenITN
    @NamasenITN11 ай бұрын

    Why not servos?

  • @_NGUYENMINHTHUAN
    @_NGUYENMINHTHUAN3 жыл бұрын

    Can I use Arduino?

  • @shreyanshsingh7439
    @shreyanshsingh74392 жыл бұрын

    which version of python did you used.....please reply

  • @burakhandogan2856
    @burakhandogan28563 жыл бұрын

    Merhaba Mert Bey, Bu prototipinizi çok beğendim. Aynısını bende yapmak istiyorum ve tutorial paylaştığınız için teşekkür ederim. Bir kaç sorum olacaktı bu konu ile alakalı. Sorularım şunlar; Daha hızlı bir sistem, hızlı görüntü işleme, daha hızlı motor hareketleri ve yüksek doğruluk payını elde etmek için neler yapabilirim? Benim üzerine takacağım silahın ağırlığını kaldırabilecek motor seçimini nasıl yapabilirim? Bu arada gerçek silah takmayı düşünüyorum. Pan-tilt sistemi olarak yaptığınız 2 eksende(sağa sola-yukarı aşşağı) dönen sistem gayet hoş ve yapılması kolay. Ben farklı bir mekanizma ile bunu yaparsam (örneğin dişli çark vesayre kullanarak) bu sizin hazırladığınız yazılım açısından bize bir sıkıntı doğurur mu? Yani demek istediğim bu kodlar sadece sizin tasarladığınız parçalara göre mi hareket etmekte? Eğer bu kodlar sadece bu mekanizma için çalışıyorsa kestiğiniz MDF Sheetlerin ölçülerindeki değişiklikler bir probleme yol açar mı? Son olarak sadece opencv eğitimi alarak bu sistemin yazılım kısmını halledebilir miyim? Siz bu işe nereden başladınız? Nasıl öğrendiniz? Bu konudaki fikirleriniz benim için çok önemli. Bitirme ödevi olarak böyle bir sistem yapmak ve eğer imkanım olursa bunu ciddi bir şekilde geliştirmek istiyorum. Saygılarımla

  • @davidaldridge3229

    @davidaldridge3229

    2 жыл бұрын

    I may be able to help. It's very expensive though

  • @sureshdeshmukh9608
    @sureshdeshmukh96083 жыл бұрын

    I can use 8GB SD card ?? Nice for you

  • @spencerdebenedetti5204
    @spencerdebenedetti52044 жыл бұрын

    Can u please explain how the target gets destroyed

  • @cprn.
    @cprn.10 ай бұрын

    It's cool but an overkill. All you need is 4 infrared sensors - you arrange them in a square grid and separate with a cross shaped divider high enough to partially obstruct at least one of the sensors unless the whole thing is aimed exactly at the middle of the infrared spectrum emitter. Congratulations, you've just effectively built yourself a grid-eye sensor. You then control the motors with signals from each infrared sensor. No digital circuits needed. Signal from the most exposed sensor is the strongest and will always win until the whole sensor grid reaches an equilibrium, i.e. aims at your target.

  • @MrBojo-jv4qq
    @MrBojo-jv4qq4 жыл бұрын

    Great idea, but how durable is it to use glue to hold everything, and those little plastic straps to spin around? At best, this is for inside, not outside use.

  • @srinivascena485
    @srinivascena4853 жыл бұрын

    What is the cost for this project

  • @rushikeshkokane6217
    @rushikeshkokane62174 жыл бұрын

    Hi i want to msg you regarding to the EMG sensor project ???

  • @Zhak7
    @Zhak74 жыл бұрын

    slow af, cool though

  • @misbahbashir9283
    @misbahbashir92833 жыл бұрын

    Give link about stepper motor

  • @misbahbashir9283

    @misbahbashir9283

    3 жыл бұрын

    If you r interested ,I want to buy this project.

  • @feeling4929
    @feeling49293 жыл бұрын

    not that fast you are using ekf?

  • @billybadwordproductions1857
    @billybadwordproductions18573 жыл бұрын

    a go pro would take away the issues with it dragging and shooting when it shouldn't. just need faster eyes

  • @chrisw1462
    @chrisw14623 жыл бұрын

    You didn't show how you did the cute smoke thing.

  • @rainbowfrogs1255

    @rainbowfrogs1255

    3 жыл бұрын

    @Chris W that was added in post, it wasn't actually happening he just edited it in

  • @chrisw1462

    @chrisw1462

    3 жыл бұрын

    @@rainbowfrogs1255 ROFL

  • @rounakbachwani2963
    @rounakbachwani29634 жыл бұрын

    We can easily dodge that if we continously move

  • @rounakbachwani2963

    @rounakbachwani2963

    4 жыл бұрын

    @@maker101io yeah you are right but you should make this robo PERFECT, anyways the concept was nice

  • @MrBojo-jv4qq

    @MrBojo-jv4qq

    4 жыл бұрын

    Just make like 20 of these things at different locations. One of them will hit the target, ;)

  • @aytekaksu9743
    @aytekaksu97433 жыл бұрын

    Oha türk müsün

  • @TheOpticalFreak
    @TheOpticalFreak8 ай бұрын

    It Seems to react very slow and not very accurate!🤷🏻‍♂️😐

  • @beanieteamie7435
    @beanieteamie74353 жыл бұрын

    It causes excruciating pain to watch this.

  • @davidmcctan
    @davidmcctan3 жыл бұрын

    Hi--- Would you build it for me and I can just pay you??????????

  • @paleopteryx
    @paleopteryx5 ай бұрын

    meh... using python to do realtime (fast) operations is like wiping your b*tt with sandpaper - but then again, the dude makes stuff with hot glue and cardboard, what would I expect?

  • @guilhermeschitzamaral8627
    @guilhermeschitzamaral862710 ай бұрын

    ⥊ 55: 54 0: Good (if not good, then not zero) 1: Ethics 2: Problem-Solution 3: Consent 4: Emotion/Will 5: To Testify/To Meet 6: Why/Who/When/How/Where/What 7: Information 8: Stability 9: Sanity/Seriousness 10: Network (Good Network, because zero) 11: Justice 13: Death 16: Tower 20: Judgement 21: Solving Problems with Ethics 22: Resistance 23: Resilience 30: Good Wave 32: Discernment 33: Privacy 40: Good Force 44: Free Love 50: Good Expression 55: War 57: Counter-Terrorism 60: Good Reason 70: Good Information 80: Good Stability 90: Good Seriousness 95: Only One Global Fiat Currency 96: Blockchain 97: Anarchy 98: Vegan 99: Revolution 100: Liberation 444: Direct Digital Democracy 555: Diplomacy 1000: Possible Conversation Method using numbers to convey meaning For ex.: 6022: Good Reason to Resist.

  • @guilhermeschitzamaral8627

    @guilhermeschitzamaral8627

    10 ай бұрын

    1335

  • @tonyvarghese75
    @tonyvarghese754 жыл бұрын

    Nice

  • @tonyvarghese75

    @tonyvarghese75

    4 жыл бұрын

    @@maker101io welcome

  • @tonyvarghese75

    @tonyvarghese75

    4 жыл бұрын

    Driver drowsiness dectection using raspberry pi and camera

Келесі