News ° Prototype History ° Product Features ° Videos ° Misc. Pics ° FAQ ° Contact Me ° Donate
20081115
Nov 15, 2008
David
I took the System out for testing at a local park and found out just how much of a piece of shit my Toshiba A75 was. After that I bought an Acer Aspire One (windows version) for $350 and it's a hell of a lot better, cheaper, and smaller. It's great to know that a laptop that cheap will work, plus they can only get cheaper.
I've also made some major speed (faster frame rates) improvements on the software and the ability to switch between color and grayscale motion detection. it's turning into a pretty awesome system.
I've decided to focus on selling the Software + Servo Controller kit first, for a couple hundred or less. I can sell those while I perfect the hardware. That doesn't mean version 9 isn't working out. It is, but I want to test it some more.
I haven't done that much research into it, but if someone knows of a gumstix setup that has video input and a serial (rs232) port send me a link. I might be able to use them a cut the system cost down even more.
Progress
Nov 6, 2008
David
Got the remote control installed. it works great. the new laptop battery is in but I'm not sure if it works right because it'll just switch off sometimes (while still saying it has a good charge when you turn it back on). maybe it's a loose connection.
What's left to do before I can sell them? implement a few hardware improvements, get the custom servo controller made (to take care of the pirating issue), get a good obfuscator (so the source can't be read), form the LLC, and copyright the software.
The final product will require you to have a laptop, install the software and mount a gun of your choice. If you think, 'oh, that sucks, I don't have laptop.' guess what, if I sold it with a computer it would cost at least $500 more. so think about it, you'd be paying for a computer anyway, why not get a used laptop yourself? that way, you have the ability to remove it from the sentry when you're done playing with it and get more use out of it.
Testing is going well
Nov 1, 2008
David
I've got that remote control and a new laptop battery coming in the mail. when they get here I can finally take it out to a local field for some better testing. My back yard is too small and if I put it in my front yard it will scare the neighbors... I'll probably have to cops called on me when I take it to one of the local parks/fields too. fuck it.
I've made a motion activated sprinkler for those people who want something cheap to keep pests off their lawn. The idea has already been patented and I saw one company that sells them but I'm going to make them anyway since they're so damn easy/cheap to make. I should be able to sell a few, here and there, to bring in some extra cash.
Looking for a cheap, 1Ch., DC, RF receiver/transmitter combo
Oct 30, 2008
David
The best thing I found so far is this. The problem is, if it looses power, it will need to learn the transmitter code again. It works the same way as a garage door opener. What I need is something like it but it would need to be one channel instead of two, accept 7.4v input or lower (on the Rx board), and use dip switches instead of the modern 'learn' method. That way, it can be powered off of the battery pack and the whole system can be manually turned off and on without the need for re-learning (the dip switches determine the code). that product is perfect for a permanently mounted system though. If I can't find anything I'll just settle for that and it'll just be annoying pressing the learn button every time I take it out to use it.
New Prototype (Ver. 9)
Oct 27, 2008
David
I would really love to be done designing these things and start making a little money off of all the hard work I've put into this project. But at the same time, I can't sell something I know will have major (hardware) issues. With that in mind, I've made yet another prototype (check the 'Prototype History' page). It's mostly based off of version 5. While it looks very promising (to me), I'm also well aware that I initially thought the same thing of the previous versions. So we'll see how testing goes...
Updates
Oct 24, 2008
David
I've added legs to the case to reduce camera shake. (There's a bigger pic on the Prototype History page.) These legs can be removed without tools by removing 4 thumb screws. I'm using a Pololu servo controller now. with this controller I get higher servo resolution and most importantly, the ability to adjust the servo's speed. You always want the servos to move as fast as possible but if the Sentry's on soft/unstable ground you can slow down the speed a little to prevent it from shaking. So far, in testing, I haven't had to use it.
I'm gearing up towards making another video so if you have some specific scenes/scenarios/demonstrations you'd like to see shoot me an email.

The calibration overhaul is done
Oct 18, 2008
David
That was a hell of a lot harder than I thought it would be. I spent all my free time since the 10th working on the new formula. I ended up using Trig for most of it (that's after I spent the time learning (basic) Trig of course). It was worth it though because now the camera doesn't have to be centered nor do it's axes have to be parallel with the turret's axes. Here's a comparison of the old calibration process vs the new one:
Old Calibration:
mount the gun, turn on the laser, center the servos, and enable calibration mode
take apart the waterproof camera enclosure to get to the camera
adjust the camera until the laser is on the image center
try to guess if the camera's axis are straight with the camera and adjust if needed
aim to the left edge of the image, click a button, and do the same for the top, bottom and right edges
put the camera enclosure back together.
test for correctness using mouse aiming
realize that the camera's axes weren't quite lined up with the turret's axes and go back to step 2.
New Calibration:
mount the gun, turn on the laser, center the servos, and enable calibration mode
aim the turret at the image center and click anywhere on the image to store it's values.
aim the turret anywhere along it's X axis, far from center, and click the spot on the image where the laser is pointing
do the same for the Y axis and you're done.
now the gun and camera centers don't need to be lined up, and the tilt of the camera (if any) is not an issue either.
To clear up some common misconceptions, calibration only needs to be done when you're using the sentry for the very first time, if you re-install the software, or any time you mount a different gun to it. mounting the turret to the base should not require re-calibration.
The next issue to be resolved is camera shake. because the turret is so light, the momentum of the turret's rapid movements sometimes causes the case to shake (depending on how solid the ground is). I've already implemented a basic software fix that pretty much takes care of the issue but I want to make sure that there isn't more that could be done before I call it resolved. Then I can finally get some video of it shooting model airplanes out of the sky.. :)
Calibration
Oct 10, 2008
David
The increased responsiveness and torque the 7.2v NiCD provides is amazing. the previous method of using the laptop's usb port for power was convenient, but clearly a bad idea. the new added portal voices are great and the overall hardware setup is much nicer looking and easier to use than ever before. while all that worked out well the gun to camera alignment (calibration) is too much of a pain in the ass and too time consuming to be acceptable. Sure, I could solve that by copping out and making it so it comes with a pre-calibrated, permanent, gun and camera, but then you would loose the ability to mount anything you wanted on it (and that's half the fun). I've got a software solution that should fix the problem and I'll be working on that tomorrow and this weekend.
Version 8 is done
Oct 5, 2008
David
Just got done building it (more pics on the history page). I only had the time to do a basic systems check. As soon as I get the chance, I'll take it out for calibration and testing. If it passes, this might be the one I finally sell to the public. it costs roughly $500 in material and parts so anybody trying to sell one of these for more than $1500 is ripping you off, big time. I've even seen RC paintball setups that cost much more than that (EMT Turret) and all they are is RC! it's pathetic! The Sentry is battery powered and the whole thing, including the camera is paintball/rain-proof. I keep a close eye what little competition there is out there and make sure I offer the same features, and then some, for half the price or less. I could have easily taken a shortcut and paid a machine shop to make them but, as I said before, the price would at least double.
I also wanted to say thanks again to those of you who have donated. donations paid for about half of this build. if the sentry tests well i'll start on a new video.

Possible hardware solution
Oct 1, 2008
David
Finding a Hardware solution that's inexpensive, simple, easy to deploy, light, and is it's own case, has been tough. for example, in the most recent video, the case, by itself, weighed 60lbs, cost $300 to make, and took 2 days to fabricate. that obviously won't work. since then I've toyed around with all types of ideas trying to meet the criteria I just mentioned. after messing with different suitcases and briefcases I finally came up with the idea to use an ATX case to package everything in. the bigger ones seem to be the perfect dimensions to hold a laptop (ironic isn't it? a laptop in an ATX case) and the gun assembly. this is the case I've had my eye on ($99):

I would have to gut it and waterproof it from the inside (sounds hard but it is really easy and inexpensive). when the sentry is deployed, the gun + camera assembly will quick mount to the top and then be removed and put inside when packed up. This may seem odd, but to me, compared to all the other designs I have tried, this has some key advantages. when it's deployed it's footprint is slim (to fit in tight spaces [also a tripod adaptation can be made if needed]) and tall (to see above tall grass etc.). it also costs less and looks better than a hand made equivalent. also, other hardware like batteries, ammo and possibly an air tank could be put in there too. but hey, if you see something cheaper that looks as good and has similar dimensions email me, otherwise I'm going to get to work on it.
On another note, in the next video, I want to do a scene where it's Anti Aircraft ability is demonstrated (against RC aircraft of course :). I'll probably have it shoot down one of those Styrofoam gliders (paintballs will blow it to pieces) from 50+ ft up and maybe a small heli or two.
Some improvements worth mentioning..
Sep 25, 2008
David
I've found more Portal Turret mp3s that I didn't have. I added those in and changed the code a little so you can also use you own audio files if you want.
Moving slowly won't save you anymore. The detector has been significantly modified so that it can track very slow targets and also ones that have recently stopped moving. this is particularly helpful in situations where a person is slowly peeking out from behind an obstacle. The changes have also significantly improved it's range. In optimal conditions, it can track a person walking at hundreds of feet out and well beyond the accurate range of a paintball gun.
Calibration is simpler to perform and adjust. Need to get a better laser though..
I've thought of a interesting design I'm going to start building soon. I need to draw it out in more detail first. Finding the best design has been difficult. I could easily just cop out and have a machine shop make it. But then I would have to charge customers out the ass to make up for the machine shop doing the same to me. So, the trick is to come up with a design that can be built for very low material costs, looks good, is durable, is it's own case, has room for a laptop, is light, can be set up quickly and simply, and is not too time consuming to make. The cheaper I can make them, the cheaper I can sell them for which would equal more units sold (which also means more personal injury lawsuits) Will eBay allow these on their site?
I'm going to change strategies on friend/Foe ID. Instead of saying 'this color is the enemy,' I think I'll make it do the opposite whereas, 'this color is friendly and everything else is a valid target.' (that way i get sued more) There are scenarios where this would be better and others where the opposite method would be better so I'll do both and make it a user option.
I've been reading about newer Tracking Algorithms
Sep 16, 2008
David
I've come across research papers describing Object Tracking Algorithms which perform far better than my own, in several areas, and with fewer limitations. Unfortunately, the authors of these papers love to explain their ideas and concepts in the most complicated way possible, while in most cases the ideas they are conveying can be greatly simplified without loosing the key concepts. when I do finally grasp what they are trying to convey, beyond all of their statistical formulas and jargon, I always get pissed at the amount of effort I had to put in to understanding what was essentially a much simpler concept than they made it out to be.
Solution for much greater Range
Sep 4, 2008
David
I thought of a way to dramatically increase the range while still using only one camera and also get a 90 field of view. the problem, as always, is i can't find a piece of hardware that meets my needs. i need a webcam that has around a 3x OPTICAL (not digital) zoom and does at least 640x480@30fps for around $100 or less. for some reason that's really hard to find. it might also be possible to make a zoom lens that will work on most cameras. i don't know, but if you do or know of a optical zoom webcam, email me. (i've already seen that one that has a 7x non adjustable zoom built in [that's too much zoom] and the VX-6000 which is advertized as having an optical zoom but doesn't)
Another solution would be a webcam that will allow higher resolutions than 640x480 when used in 3rd party programs. just because a camera (Microsoft VX-6000) can do 1.3MP video streaming using the program that came with it (LifeCam) doesn't mean it will let you have that high of a resolution using any other program. All the cameras I have tested either do 640x480 or 320x240 when used by 3rd party apps (Skype, AIM Yahoo IM, etc.)
List of Current Features with version 8
Sep 1, 2008
David
friend/foe id is done. the build for version 8 is done (but i haven't put pics up yet). targeting has been greatly improved so that multiple targets are not a problem anymore. basically, if it were for sale right now, it's product features would be:
Universal gun mount and 'trigger finger.'
Simple calibration procedure for new guns.
Multiple firing modes: infinite ammo, full auto (all I ever use), semi auto w/ large round counter (that counts down and stops firing when 0 is reached), and an adjustable firing rate for semi auto mode
Multiple modes of targeting (modes can be used in any combination): center of all motion, biggest/fastest target only, and enemy color targeting.
A manual aiming feature that uses the mouse to aim and fire. (this feature is also good for verifying calibration is correct)
Highly customizable enemy color targeting system. (it's probably too complex for the average user so i'll be working to simplify it)
The ability to operate the sentry remotely from any computer with internet access.
All aluminum construction to reduce weight as much as possible.
Everything is powered off of the laptop for ease of use. (it doesn't make sense to charge for an onboard computer when you can save $700+ by just using your laptop and just removing it when you're done)
Inexpensive design keeping the cost low at below $750 (other automated sentries cost at least 3 times more for less features.)
Rain and paintball proof
Still to do:
Add an on/off remote.
make it so the user can use whatever mp3's he wants for the sound affects
setup a type S corp or an LLC (know where i can do it for less than $300? email me)
copyright the software (same here)
Patent anything that turns out to be patentable (know how i can do this cheaply [it's really expensive]?)
make a good demo video (take it out in the woods :)
sell them on eBay (probably not allowed. if you know for sure, let me know)
Friend/Foe ID is almost done
Aug 29, 2008
David
I'm putting the finishing touches on a color-based enemy ID system. I will have it done by this weekend. It will be extremely customizable (it already is). After that, it's back to completing a final hardware design (which I've already drawn up and bought the parts for). I don't imagine that taking more than a few days too. I also want to thank you for your donations. they help out in hardware/prototyping costs.
When the system is done, it will cost just above the break-even level for material and labor (which should be way under a grand). luckily i'll be paying local HS and college students to make them at as close as i can get to minimum wage. (they will, of course, be thoroughly quality checked and tested.) that's good for you because, A; if i personally made them it would waste all my time and I'd only be able to make so many, B; if i paid a machine shop, the cost of their much higher hourly rates and their ridiculous profit margin would be reflective in the final cost driving it up to some ridiculous, sky high price of around 3-4k.
back to work..
Ok, it's fixed
Aug 24, 2008
David
I gave it an inexpensive suspension system. now it can still weigh very little (25 lbs with gun) and also handle the momentum and kick of it's own movement without shaking the camera or moving the whole thing. I also learned all about the down side to aluminum. it's 3 times more flexible than steel.
My roommate has a brown nose pit and for some reason it just loves getting pummeled by the sentry. it will run into view and try to bite the little plastic BBs while squinting it's eyes and chasing it's tail as it gets a steady stream of BBs to the face and body. as soon as it hears the sound of the turret turning on it goes ape shit, runs right up to it, and starts yipping and running in circles like it can't wait to play. it's the strangest yet funniest thing I've seen in a while. I'd post a vid of it but some POS sissy would totally misunderstand and call peta on me even though the gun only shoots 150fps.
I want to get an invert mini (but they're expensive) to use in the next vid. me personally, I prefer to use electric, full auto, airsoft guns because they can hold a lot of ammo, the ammo is cheap, they don't make a mess, and are very low maintenance. the problem is, you won't see the little BBs in a video (i can't even see them fly when I'm standing right next to them) so, for that reason, paintball will mostly be used to demonstrate it.
I'm pushing real hard to keep the price really low. right now, the assembled hardware (minus a gun and computer) will be very close to $500 shipped. you can barely build one yourself for that much. and that's much much cheaper than the competition (what little there is).
Now that the shaking issue is solved, I'm going to waterproof it, implement the Arm/Disarm remote, and fr/foe id.
Nope, that design was no good
Aug 21, 2008
David
The thing was so light that the momentum of the gun rapidly changing direction caused the camera (and case) to shake. After a lot of thought, I've narrowed down the best solution. It will mean a total redesign but it will only take me a few days or less to build it. I've been getting some emails from people wondering why version X wasn't good enough to sell, I'll list the reasons, next to each version, on the history page.
Version 7 is done
Aug 16, 2008
David
More pics and description on the history page.

Version 7 will be a Executive Briefcase Sentry
Aug 13, 2008
David
I make more and more progress on it every day.
I will be done within a week. everything will be contained
inside an 18x13x5 Executive attaché and weigh far less than
the 67lb version in the video. it will be similar to The Ronnin
from 007 but it will deploy on it's side.
Parts and Design laid out for version 7
Aug 8, 2008
David
Version 6 was a bust. the only real improvement it provided was the ability to easily and quickly mount any gun on it and it's universal 'trigger finger'. analog cameras were not the way to go, the frame was too heavy, the servos too weak, and the tripod legs met in one spot making wobble and shaking of the camera more likely.
Luckily, I have solved those issues and more. I have a totally different turret design that will improve accuracy and make calibration a one time thing. I've found servos with 10+ times the torque allowing realistic weight weapons to be mounted. I still can't get my webcam to up it's resolution to full capacity (I'll pay someone to solve this if they think they're up to it). range can be quadrupled with the use of a megapixel IP camera like the Arecont AV3100DN which can do 2048x1536 @ 15fps (but the damn thing costs $800). What that means is if a can't get a $90 webcam to go to it's max res, I might have to use a $800 IP camera instead. I've long since had a computer setup lined up. a simple arm/disarm keyfob is also going to be implemented and there are some good software improvements I though up that should improve targeting behavior. I could use a bunch of off the shelf stuff, but that would drive the costs way up to over 5k. that would be fine for the government I guess, but not really worth it for anyone else. therefore, I'm trying to keep it as cheap as possible.
I'm extremely frustrated with the lack of
progress lately. My job just barely pays the bills and consumes
most of my time (just like hourly jobs are designed to do) so
when I figure out how to pay for version 7, it'll be built.
Trouble finding the right hardware to make improvements with.
Aug 4, 2008
David
Ok. I use a 'LifeCam' VX6000 that has a 71 degree field of view and can do 1.3MP video. I'm looking for a USB or firewire camera that is better than that in either of those 2 categories (without sacrificing one for the other) . (analog cameras don't count either.) I need the highest possible resolution, for range, and the widest possible field of view.
I also can't get the camera to go to 1.3MP except by using the viewer software that came with it. in my program the camera just defaults to 640x480. I'm still looking for help in getting my software to tell the camera's drivers to up the resolution.
I've shied away from using analog cameras because they generally have poor resolution and all the analog to digital USB converters i've used either didn't work at all or worked, but were laggy and dropped frames randomly. they also won't have a high resolution either. I do miss the wide angle view and the IR lighting analog cameras provide though.
On the subject of depth perception; I don't see the need for going through all the trouble of getting 2 camera feeds to work at the same time (for use as a right and left eye) because the odds of the frame rate still being above a usable 15 fps are slim to none. I've already considered many other ways to incorporate multiple cameras. the result is always either poor resolution or poor frame rate. depth perception is really only relevant in bullet lag anyway. a real gun hardly has any at 100 ft and a paintball gun does, but it's accuracy also starts getting much worse at that range anyway. even still, I can create artificial depth perception by comparing what a human's size would be at different distances to the target's size (if it turns out to be necessary). don't even start about laser range finders. there are several reasons not to use those. i would need one that interfaces with a computer and comes with drivers (which probably doesn't even exist). the percentage of time that laser would a; be on the actual target, b; be still, and c; have enough time to get a reading, are next to nothing.
know where I can find a LIDAR
system like the ones used on autonomous vehicles in the DARPA
challenge? a LIDAR could possibly be better sensor than a camera
but I can't find them for sale anywhere.
Looking for the Aid of C# programmers
Jul 29, 2008
David
I have some new software abilities I
want to implement but they're proving to be a little over my
head. if you're and experienced in C# and would like
to help click 'Contact Me' up at the top and shoot me an
email.
Version 6 is almost done.
Jul 13, 2008
David
This one can see in the dark :) For
more details, visit the Project History page.
<< Newer Blogs Older Blogs >>
Copyright © David (www.TurretSentry.com) 2008. Web design by Jonathan Vasek.