OMFG this is the cutest thing ever! Like a sort of Hello Kitty/Terminator mix ;)
@danielarias39466 жыл бұрын
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
@MarkBarros6 жыл бұрын
Glad you found inspiration in it. Hope you had fun putting it together. :)
@MarkBarros11 жыл бұрын
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-b4y3 ай бұрын
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
@MarkBarros11 жыл бұрын
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. ::
@richatodd38204 жыл бұрын
can i ask something ? can you provide me vith detailed blueprint of connections please
@teamsmealted53478 жыл бұрын
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?
@vitaliyschmeer43443 жыл бұрын
Hey Mark can you please upload a connection plan which shows how to connect the servo and the sensors thanks
@nirlekaplay4 жыл бұрын
how can you get the the portal turret sound?
@tryndus534911 жыл бұрын
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.
@eldage211 жыл бұрын
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!
@ClearNinjaFox9 жыл бұрын
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?
@MarkBarros9 жыл бұрын
+Sys.stem Arduino is a pretty powerful platform while at the same time not being overly complex. It's perfect for a Portal Turret. :)
@ClearNinjaFox9 жыл бұрын
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. *****
@MarkBarros9 жыл бұрын
Sys.stem My misunderstanding. I'm not a fan of python either. I look forward to seeing what your produce. :)
@ClearNinjaFox9 жыл бұрын
i do too lol thanks and cute baby girl you got there deff looks like you hmm) *****
@surfcrs9 жыл бұрын
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?
@theantman22034 жыл бұрын
can i please have a circuit diagram pls
@McDanny4208 жыл бұрын
You should use 2 ping sensors so you can triangulate the targets position and track them for longer
@MarkBarros8 жыл бұрын
+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.
@Redcatcompetitionracing10 жыл бұрын
is it a way to make it go up or down as well to find the target?
@MarkBarros10 жыл бұрын
RedCat Competition You would have to add another servo and some code but you definitely could do it.
@tryndus534911 жыл бұрын
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?
@deepflorida10 жыл бұрын
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
@razer01096 жыл бұрын
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! :)
@FrankLopezx9 жыл бұрын
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-
@MarkBarros9 жыл бұрын
+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.
@FrankLopezx9 жыл бұрын
***** Thanks Mark!
@corross9 жыл бұрын
Mate that is awesome!
@MarkBarros9 жыл бұрын
Thanks +corross
@koolee55666 жыл бұрын
Hi, the download link for the arduino sketch is invalid. Can you update the link please?
@MarkBarros6 жыл бұрын
Fixed! Thanks for the heads-up!
@AhmedAli-gz9rj6 жыл бұрын
Bro I need the circuit diagram of this cool project??
@eggrute8 жыл бұрын
So cute!
@darumayasa8 жыл бұрын
cool ......hi mr. mark ? can you share to me the wiring diagram for this project ? iwant to make it for my children :(
@MarkBarros8 жыл бұрын
+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
@moahammad1mohammad11 жыл бұрын
My god are ping sensors bad. Maybe with a tilt sensor you can tip it and disable it.
@thezbros.612510 жыл бұрын
Why no case
@metalmckanical7 жыл бұрын
Portal! Hell yes. This is awesome, Too bad it doesn't stay locked on and follow movement.
@MarkBarros7 жыл бұрын
+metalmckanical Ha! I consider that a challenge! If I revisit this project I will add tracking. :)
@pogi0928280572411 жыл бұрын
The voice is scary! :)
@ordie201110 жыл бұрын
this is so awsome
@billonis10 жыл бұрын
Haha,awesome man,keep going!
@satriaginanjar16867 жыл бұрын
That is awsome !!!
@purpleguy71833 жыл бұрын
DUDE PLEASE PROVIDE A DIAGRAM
@carloschepe12 жыл бұрын
Genial quiero uno
@MarkBarros10 жыл бұрын
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/