Arduino Portal Turret (HD Video)

  Рет қаралды 27,575

Mark Barros

Mark Barros

Күн бұрын

Пікірлер: 51
@MrFurriephillips
@MrFurriephillips 7 жыл бұрын
OMFG this is the cutest thing ever! Like a sort of Hello Kitty/Terminator mix ;)
@danielarias3946
@danielarias3946 6 жыл бұрын
I really liked your work! It inspired me to make my own project for my Microcontroller final exam. It works just like yours, tho it doesn't play any fancy audio. But looks cool enough. Your code helped me a lot also. Thanks
@MarkBarros
@MarkBarros 6 жыл бұрын
Glad you found inspiration in it. Hope you had fun putting it together. :)
@MarkBarros
@MarkBarros 11 жыл бұрын
Morgan, The Adafruit wave shield was pretty simple to use. They provided code to interface with it which made it easy peasy. One thing to keep in mind is that you will have to use SoftwareServo.h instead of Servo.h due to a conflict with the timers of the WaveHC. That was the only drawback as far as I remember but still worth it in my opinion. If you look at the video description above I have a link to the project including the source code which will show you how I coded around it. -Mark
@NadhirMoussa-b4y
@NadhirMoussa-b4y 3 ай бұрын
it look so good ! i woonna make one as college project , do you have a link that show us some details of how you made it
@MarkBarros
@MarkBarros 11 жыл бұрын
I thought about your suggested implementation as well. It's a bit more complex but certainly possible. You will be limited to the resolution of your servo motor. The longer the distance you intend to scan, the bigger the gaps you will have in your data. You will also have to figure out how you will deal with items that have been moved in the room from your baseline scan. If you go this route please share your results. ::
@richatodd3820
@richatodd3820 4 жыл бұрын
can i ask something ? can you provide me vith detailed blueprint of connections please
@teamsmealted5347
@teamsmealted5347 8 жыл бұрын
Hi! I am trying to make this project, but I don't have a wave shield, and I don't really want sound. Can you help me out on what to change in the source code?
@vitaliyschmeer4344
@vitaliyschmeer4344 3 жыл бұрын
Hey Mark can you please upload a connection plan which shows how to connect the servo and the sensors thanks
@nirlekaplay
@nirlekaplay 4 жыл бұрын
how can you get the the portal turret sound?
@tryndus5349
@tryndus5349 11 жыл бұрын
Very cool man, I'm building a Replica of the Team Fortress 2 Level 2 Sentry gun For Systems Engineering for Final year, Year 12, using a similar way to you but with a 3 PIR motion Sensors 35° away from each other and when a the sensor detects motion the servo will snap to that position. i'd like to know how easy did you find the Adafruit Wav shield to set up and coded for? i currently have a Sparkfun mp3 Trigger but i haven't started implementing sound into it so far.
@eldage2
@eldage2 11 жыл бұрын
I love this! I was going to try to build an arduino turret using webcam motion detection, but I like this much better! I'm not sure how often that ping sensor updates, but tell me if this sounds reasonable: Lets say you want to use longer distance. Can you pre-scan a room, recording a baseline distance for every angle the sensor is able to rotate, and then after the motion detector goes off, scan the room and cross-check every angle's reading with the pre-recorded reading? If different, fire!
@ClearNinjaFox
@ClearNinjaFox 9 жыл бұрын
all this is coming from a arduino ? i seen one by kss5095 in youtube but his using alot more then c++ which is what arduino is running of, now how is the tracking happening? pir just does motion and the sonic just deals with range so how is the locking and tracking done to follow?
@MarkBarros
@MarkBarros 9 жыл бұрын
+Sys.stem Arduino is a pretty powerful platform while at the same time not being overly complex. It's perfect for a Portal Turret. :)
@ClearNinjaFox
@ClearNinjaFox 9 жыл бұрын
oh i know im well aware about arduino sir is just like i mentioned that the other guy was using python to do what you just have done so i was bummed cuz i HATE python, i will build upon your work and modify somethings for some of my robots im currently printing parts for nice job and thanks for the share perhaps i can return the favor someday. *****
@MarkBarros
@MarkBarros 9 жыл бұрын
Sys.stem My misunderstanding. I'm not a fan of python either. I look forward to seeing what your produce. :)
@ClearNinjaFox
@ClearNinjaFox 9 жыл бұрын
i do too lol thanks and cute baby girl you got there deff looks like you hmm) *****
@surfcrs
@surfcrs 9 жыл бұрын
Very cool project. I just finished duplicating your turret. Everything is working...i just need to put it in a more presentable enclosure. Now I'm trying to have the firing trigger randomly play any of the large group of files I have on the sd card, instead of the shooting sound. I can add file name for for every sound and as long as I change it to 8 characters or less it seems to work, I was just wondering if there was some code to randomly play anything in the sd card root when firing is triggered. Any ideas how to best incorporate the code?
@theantman2203
@theantman2203 4 жыл бұрын
can i please have a circuit diagram pls
@McDanny420
@McDanny420 8 жыл бұрын
You should use 2 ping sensors so you can triangulate the targets position and track them for longer
@MarkBarros
@MarkBarros 8 жыл бұрын
+McDanny420 Yeah, but then it would work better then the turrets in Portal which defeats the purpose. I wanted the project to emulate a Portal turret's behavior.
@Redcatcompetitionracing
@Redcatcompetitionracing 10 жыл бұрын
is it a way to make it go up or down as well to find the target?
@MarkBarros
@MarkBarros 10 жыл бұрын
RedCat Competition You would have to add another servo and some code but you definitely could do it.
@tryndus5349
@tryndus5349 11 жыл бұрын
Thanks allot for the reply and just out of curiosity do you mind if i reference you and your arduino sketch as an inspiration and help in my Portfolio which is basically my documentation of how i made it? you don't have to accept, i'd just rather ask for permission instead of just doing it. and also would you mind if i could occasionally ask you questions if i need help? it would awesome if i could someone like you with more experience with this stuff to give me a little help?
@deepflorida
@deepflorida 10 жыл бұрын
I'm running into a compiling error. I followed the errata and I'm still getting a error compiling. It seems to me the library isn't compiling? I don't really know i am a newbie to the arduino. Here's the error: C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp: In member function 'uint8_t SoftwareServo::attach(int)': C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp:27: error: 'digitalWrite' was not declared in this scope C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp:28: error: 'OUTPUT' was not declared in this scope C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp:28: error: 'pinMode' was not declared in this scope C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp: In member function 'void SoftwareServo::write(int)': C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp:51: error: 'clockCyclesPerMicrosecond' was not declared in this scope C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp: In static member function 'static void SoftwareServo::refresh()': C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp:73: error: 'millis' was not declared in this scope C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp:106: error: 'digitalWrite' was not declared in this scope C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp:108: error: 'TCNT0' was not declared in this scope C:\Users\Michael\Documents\Arduino\libraries\SoftwareServo\SoftwareServo.cpp:123: error: 'digitalWrite' was not declared in this scope
@razer0109
@razer0109 6 жыл бұрын
The arduino sketch file is not available on your website anymore. I couldn't find a similar project in which the PIR sensor acts as the trigger in activating the servo and the ping sensor. It would be awesome if you could upload Arduino_Portal_Turret.ino again! :)
@FrankLopezx
@FrankLopezx 9 жыл бұрын
Hey mark great looks on the work, i when to your site but did not found any of the libraries to compile the sketch with, whats up with that ?> thank-
@MarkBarros
@MarkBarros 9 жыл бұрын
+Frank Lopez Look at the source code that I provided. All the information including links to the required libraries is there: www.themadhermit.net/arduino/Arduino_Portal_Turret.ino Search for the section entitled "Require Libraries" in the code.
@FrankLopezx
@FrankLopezx 9 жыл бұрын
***** Thanks Mark!
@corross
@corross 9 жыл бұрын
Mate that is awesome!
@MarkBarros
@MarkBarros 9 жыл бұрын
Thanks +corross
@koolee5566
@koolee5566 6 жыл бұрын
Hi, the download link for the arduino sketch is invalid. Can you update the link please?
@MarkBarros
@MarkBarros 6 жыл бұрын
Fixed! Thanks for the heads-up!
@AhmedAli-gz9rj
@AhmedAli-gz9rj 6 жыл бұрын
Bro I need the circuit diagram of this cool project??
@eggrute
@eggrute 8 жыл бұрын
So cute!
@darumayasa
@darumayasa 8 жыл бұрын
cool ......hi mr. mark ? can you share to me the wiring diagram for this project ? iwant to make it for my children :(
@MarkBarros
@MarkBarros 8 жыл бұрын
+daruma yasa I don't have one. I put all the information on my website including the parts I used and the Arduino sketch (www.themadhermit.net/geek-out-build-your-own-arduino-portal-turret/). The source code is well documented and explains the few pin assignments, namely: #define INFRARED_MOTION_SENSOR 14 #define PING_PROXIMITY_SENSOR 15 #define RED_TARGETING_LED 16 #define SERVO 6 Hope that helps. -Mark
@moahammad1mohammad
@moahammad1mohammad 11 жыл бұрын
My god are ping sensors bad. Maybe with a tilt sensor you can tip it and disable it.
@thezbros.6125
@thezbros.6125 10 жыл бұрын
Why no case
@metalmckanical
@metalmckanical 7 жыл бұрын
Portal! Hell yes. This is awesome, Too bad it doesn't stay locked on and follow movement.
@MarkBarros
@MarkBarros 7 жыл бұрын
+metalmckanical Ha! I consider that a challenge! If I revisit this project I will add tracking. :)
@pogi09282805724
@pogi09282805724 11 жыл бұрын
The voice is scary! :)
@ordie2011
@ordie2011 10 жыл бұрын
this is so awsome
@billonis
@billonis 10 жыл бұрын
Haha,awesome man,keep going!
@satriaginanjar1686
@satriaginanjar1686 7 жыл бұрын
That is awsome !!!
@purpleguy7183
@purpleguy7183 3 жыл бұрын
DUDE PLEASE PROVIDE A DIAGRAM
@carloschepe
@carloschepe 12 жыл бұрын
Genial quiero uno
@MarkBarros
@MarkBarros 10 жыл бұрын
I don't have the Arduino software installed on my computer at the moment so can't test it but it appears that you are having a problem pulling in the SoftwareServo.cpp file. Here is a solution I found online. Perhaps it will help you. www.sdrobots.com/arduino-softwareservo-issue-fix/
@deepflorida
@deepflorida 10 жыл бұрын
Thanks it worked!!
@shaikhaziz8177
@shaikhaziz8177 5 жыл бұрын
Give the diagram of this project
@MarkBarros
@MarkBarros 12 жыл бұрын
:)
DIY Laser Turret | Part 1 The Hardware
10:16
Michael Reeves
Рет қаралды 1,6 МЛН
Building a Laser Turret That Actually Works
5:20
Davy Wybiral
Рет қаралды 35 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Homemade airsoft turret suspension diary
4:15
YuChung Lin
Рет қаралды 981 М.
Real Tracking and Shooting Portal Turret
2:51
kss5095
Рет қаралды 1,4 МЛН
Portal - The cute Turrets
5:38
rgk4rgk
Рет қаралды 646 М.
Trying To Reach Speed Of Sound At Home 3D Printed Gears
17:58
Canocholic
Рет қаралды 572 М.
The coolest robot I've ever built!
19:40
Thomas Burns
Рет қаралды 5 МЛН
Stealing Energy From Radio towers Using Plasma (ft. Geerling Engineering)
20:02
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Miniature Portal Turret
8:28
David Bilby
Рет қаралды 53 М.
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Рет қаралды 818 М.
it can 3D-Print onto itself?!
9:32
SunShine
Рет қаралды 1,3 МЛН