Slashdot Mirror


DIY USB Servo-Guided Water Gun

An anonymous reader writes "What better way is there to learn something than by making your own DIY gadget? Here's a new video showing how to use a common hobby servo, in conjunction with a small water pump, to create a USB controlled water gun! You can use your keyboard to aim and fire at an unsuspecting passerby. Both fun and educational, this project looks like a great DIY weekend project for any IT guy, wanting to make sure people think twice before asking a stupid question!"

66 comments

  1. What? by Eddi3 · · Score: 0, Offtopic

    What is this? News for nerds? Stuff that matters?

    1. Re:What? by Anonymous Coward · · Score: 5, Funny

      Are you saying this doesn't matter? Legions of Wicked Witches will be stopped by this new weapon. Fill it with holy water and we may survive the vampire hoard.

      This is all that matters.

    2. Re:What? by Anonymous Coward · · Score: 2, Funny

      vampire hoard

      Are you suggesting there is someone out there stockpiling vampires in case of a vampire shortage?

    3. Re:What? by sakshale · · Score: 1

      I'm thinking about CAT control.... Let that critter try to sleep on my computer when I'm at work.... Yes!

      --
      For every problem there is a solution that is simple, obvious and wrong.
    4. Re:What? by spazdor · · Score: 3, Funny

      No. Absolutely not. Nobody is doing that.

      Completely unrelatedly, does anyone know if butchers will deliver blood directly to your basement? I'm never quite sure how to ask.

      --
      DRM: Terminator crops for your mind!
  2. USB != serial by Anonymous Coward · · Score: 0, Insightful

    Since when USB port is synonym for serial port?

    1. Re:USB != serial by LS · · Score: 4, Informative

      whaddya think the "S" in USB stands fer, huh?

      --
      There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
    2. Re:USB != serial by Eddi3 · · Score: 4, Funny

      Sexy?

    3. Re:USB != serial by Anonymous Coward · · Score: 0

      Supercalifragilisticexpialidocious?

    4. Re:USB != serial by bigstrat2003 · · Score: 1

      Scandalous!

      --
      "16MB (fuck off, MiB fascists)" - The Mighty Buzzard
    5. Re:USB != serial by Anonymous Coward · · Score: 0

      1. Add more degrees of freedom:
      1.1 vibrate
      1.2 to & fro
      2. XXX
      3. Squirt!

    6. Re:USB != serial by Anonymous Coward · · Score: 0

      (replying to self)
      Um, should have looked at the image. Turns out it is a female squirter, so I need to refactor.

    7. Re:USB != serial by HiVizDiver · · Score: 1

      You owe me a new monitor and keyboard.

    8. Re:USB != serial by Tony+Hoyle · · Score: 1

      Yeah at no point do they say USB - which would be a more complex project (although I guess USB serial controllers are fairly cheap these days).

    9. Re:USB != serial by badran · · Score: 0

      parallel

    10. Re:USB != serial by Hillgiant · · Score: 1

      schadenfreude?

      --
      -
    11. Re:USB != serial by Anonymous Coward · · Score: 0

      Squirty???

  3. Water? near the electronic equipment? by Anonymous Coward · · Score: 0

    I don't fucking think so!

    1. Re:Water? near the electronic equipment? by Q-Hack! · · Score: 1

      If you haven't yet water cooled your computer, then we must revoke your geek status.

      --
      Some days I get the sinking feeling Orwell was an optimist.
  4. Upgrades by Anonymous Coward · · Score: 0

    Okay heavier servos, check.

    Belt fed .50 caliber water cooled, check.

    Improved laser assisted targeting system, check.

    Okay, I'm ready for my tax audit now.

  5. And if using a hard drive step motor? by crazybit · · Score: 1

    anyone played with these things? would it be harder than the servo?.

    --
    - Human knowledge belongs to the world
    1. Re:And if using a hard drive step motor? by JuzzFunky · · Score: 1

      Modern Hard Drive motors are not steppers, although they do work in a similar way. Driving them is a more complex than driving a servo. Here's a good article of what's required: http://letsmakerobots.com

      --
      Unexpect the expected!
    2. Re:And if using a hard drive step motor? by quitte · · Score: 2, Interesting

      That's probably the worst brushless dc controller ever built. As you can see in the video the circuit cannot recover from too low rpm of the motor. He mentions better waveforms at the bottom of the site, though.
      A proper sensorless BLDC controller measures the back EMF at the undriven coils and uses that information to figure out which coils to drive. Also you don't need a common ground for the coils, instead the polarity should switch when both ends of a single coil have the same potential. Of course it's possible that each of the coils actually has a third contact in the middle.
      Properly driving a sensorless bldc motor is quite an interesting challenge for microcontroller programming. You'd need the analogue input and 3 PWM channels. Probably 3 digital outputs, too to switch the polarity.
      In other words: I'm taking apart a harddrive right now.

    3. Re:And if using a hard drive step motor? by mustafap · · Score: 1

      Very much so. The hobby servo is one of the simplest devices to hook up to a microcontroller. It will run at 5v, and takes a 5v pulse to position it. The pinouts are very easy to find on the web, as is the software. I have my own code, which I'll publish if there is enough interest.

      --
      Open Source Drum Kit, LPLC deve board - mjhdesigns.com
  6. Add motion detector by Anonymous Coward · · Score: 0

    And now you've got something super marfa.

  7. Microcontroller? by Mozk · · Score: 1

    I don't see why a microcontroller is necessary for this. There are much simpler and cheaper ICs to control servos.

    --
    No existe.
    1. Re:Microcontroller? by Mozk · · Score: 5, Informative

      Oh wait, nevermind, they're just trying to sell their kit. You might as well buy an Arduino since it's cheaper and has more applications. The only thing it lacks compared to the other is an LCD screen, but I figure it makes up for it by having a big community.

      --
      No existe.
    2. Re:Microcontroller? by Detritus · · Score: 1

      How do you learn something about the technology if you just buy some generic servo transmitter chip? Why bother buying another chip if the microcontroller can do the job?

      --
      Mea navis aericumbens anguillis abundat
    3. Re:Microcontroller? by betterunixthanunix · · Score: 1

      If it is a con with DSP hardware, it might be interesting to attach an ultrasound SONAR or IRDAR detection mechanism to it, and create a control system that automatically tracks targets. We did something similar in a robotics class once, but it was Lego mindstorms and the tracking was pitiful, because instead of using DSP we just had a simple nonlinear filter in software (if the signal increases when turning left, turn more until the signal decreases); better hardware should yield better results. The watergun part would make for a really cool demonstration for your child's show-and-tell.

      --
      Palm trees and 8
    4. Re:Microcontroller? by Anonymous Coward · · Score: 0

      ...You might as well buy an Arduino since it's cheaper and has more applications....

      Both are based on the Atmel Atmega series chips (currently atmega168, I believe.)

      I have a Nerdkit (bought it for a small nagios project I'm working on), but from my reading and research, the big difference is that the Nerdkit is a microcontroller on a breadboard, meaning that you can make on-the-fly changes to your circuitry.

      The Arduino is a put-together PCB with the mc chips pins wired to fixed pins on the board.

      As far as comparison, the Arduino looks more professional, but you're working within their environment.

      It's just a matter or preference. You get the same thing from both. I like working with basic nuts&bolts, so I prefer the Nerdkit setup. Others might prefer a more "plug and play" setup.

  8. This is bad by confused+one · · Score: 2, Funny

    Can't you see... If one person builds one, then another will have to build one as well to defend themself. And, so, it escalates. Then comes the larger more powerful water gun. Then the mobile water gun. Then a brilliant but misguided developer creates an artificial intelligence. Building such a weapon will ultimately lead to IT armageddon. Think of the children!

    1. Re:This is bad by WarJolt · · Score: 1

      We'll just get the armies real gun wielding robot's to take out the water cannons. I think our IT is safe.

    2. Re:This is bad by hax0r_this · · Score: 2, Insightful

      Umm... more to the point, its a water gun. Am I the only one who doesn't want a water gun by my computer?

      On the other hand, just today I was contemplating building a servo mounted nerf gun, that would seem to be more appropriate for use by an "IT guy".

    3. Re:This is bad by sleeponthemic · · Score: 0, Offtopic

      Think of the children!

      Can't. The judge says I've got to atleast think at a barely legal capacity.

      --
      I record my sleeptalking
    4. Re:This is bad by Anonymous Coward · · Score: 0

      Who knew that typing 'import skynet' was a bad idea.

      http://xkcd.com/521/

    5. Re:This is bad by 64Bit · · Score: 1

      We must close the water gun gap!

    6. Re:This is bad by Julz · · Score: 1

      I'm sure this would benefit from a webcam and a page with controls :)

      --
      When shit hits the fan get some of these https://youtu.be/pY-GncsZ-UE
  9. Person missed a scale up it could get bad. by Anonymous Coward · · Score: 0

    Armies of real gun wielding robots face off with armies of robots with corrosive liquids.

    Water swapped with a worse liquid. Disadvantage for armies of real gun wielding robots could be that the liquid the robots are using is normal on hand so they can rearm simpler.

  10. Arduino by Anonymous Coward · · Score: 1, Insightful

    This would have been easier and cleaner to do with an Arduino

  11. needs the right ammo by AliasMarlowe · · Score: 4, Funny

    Fill it with holy water

    Kids today are not evil enough. Fill it with a mix of 3-methyl-1-butanethiol, 2-quinolinemethanethiol, or similar mercaptans (http://en.wikipedia.org/wiki/Skunk#Anal_scent_glands). Even using a dilute solution, your victim will have no friends for a week.

    It might even keep the kids off your lawn.

    --
    Those who can make you believe absurdities can make you commit atrocities. - Voltaire
    1. Re:needs the right ammo by NetLarry · · Score: 1

      I did the 3-methyl-1-butanethiol trick >30 years ago at college. One drop discouraged even the most determined male dog trying to get in my house to "service" my in-heat female collie. There were a lot of clean & fluffy male dogs in the neighborhood after visiting my yard. My 5 ml bottle went a LONG way - lasted for years. Note: Don't keep the bottle in the house; once you open it the aroma will linger wherever you store it. NetLarry

  12. I'm unfamiliar with that substance... by acehole · · Score: 1, Funny

    Wwwwat-er? Apparently wiki says that its a naturally occurring substance that people 'drink' and do something called 'wash' with.

     

    --
    Be you Admins? nay, we are but lusers!
    1. Re:I'm unfamiliar with that substance... by Anonymous Coward · · Score: 0

      It's like beer, only less so.

    2. Re:I'm unfamiliar with that substance... by Anonymous Coward · · Score: 5, Funny

      It's like beer, only less so.

      Oh, so it's like American beer.

    3. Re:I'm unfamiliar with that substance... by Anonymous Coward · · Score: 0

      Even more less so, but in America at least it won't make you sick.

    4. Re:I'm unfamiliar with that substance... by Anonymous Coward · · Score: 1, Funny

      Oh, so it's like American beer.

      My favorite old Aussie joke:

      Q. Why do Americans like their beer freezing cold?

      A. So you can tell it from piss.

    5. Re:I'm unfamiliar with that substance... by tehcyder · · Score: 1
      Q: Why's Australian beer like making love in a canoe?

      A: It's fucking close to water.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  13. Been there, seen that, got wet... by MRe_nl · · Score: 1

    And for the larger, internet-controlled version, 3 years ago, visit
    http://www.robob.nl/node/33

    --
    "Kill 'em all and let Root sort 'em out"
  14. Come on, it's almost 2009 already by Dachannien · · Score: 1

    USB's already been added to everything possible. Shouldn't this thing have Bluetooth?

  15. USB = Univeral Serial Bus by DigitalReverend · · Score: 1
    --
    I read Slashdot for the headlines, because the headlines, unlike the articles, are usually original and never duplicated
  16. This whole thing is a plot by . . . by PolygamousRanchKid+ · · Score: 1

    Umm... more to the point, its a water gun. Am I the only one who doesn't want a water gun by my computer?

    . . . PC Companies!

    A squirt-gun-damaged, shorted-out PC probably isn't covered by the warranty.

    Time to buy a new one.

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    1. Re:This whole thing is a plot by . . . by hesiod · · Score: 1

      Umm... more to the point, its a water gun. Am I the only one who doesn't want a water gun by my computer?

      . . . PC Companies!

      Actually, they probably like the idea... then they can sell you another computer.

  17. WTF? by hack++slash · · Score: 2, Insightful

    Surely this stuff should be on the idle section of slashdot!

    If I want DIY servo controlled stuff I can go to http://www.hackaday.com/ or http://www.hackedgadgets.com/ or http://www.hacknmod.com/ or even http://www.instructables.com/

    --
    To do something right, you often have to roll up your sleeves and get busy.
  18. Water and Electronics != Profit by Anonymous+Codger · · Score: 1

    Does anyone else think that maybe firing squirt guns around computers is less than a brilliant idea?

    --
    No sig? Sigh...
    1. Re:Water and Electronics != Profit by pegdhcp · · Score: 1

      Nope, especially if you use CFC...

  19. Hmm... by Locke2005 · · Score: 1

    Water and electricity in close proximity in a jury-rigged device... what could possibly go wrong?

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
  20. Hoarding a horde? by macraig · · Score: 1

    What, you think someone is hoarding a horde of vampires? Who? Bruce Campbell?

  21. Bang Bang by Anonymous Coward · · Score: 0

    Is anyone else thinking this might become one of the most used tools for assassinations in the near future? With a decent projectile weapon and a built-in webcam, an innocuous seeming laptop could be the man on the grassy knoll.

  22. USB = Universal Supply Bus by Anonymous Coward · · Score: 0

    The real success of USB is as the universal source of a convenient five volts, with data as a secondary consideration. Look at all the buckets of incredibly weird crap you can get from China - the USB Christmas trees, the chicken foot flash drive, the mouse with a scorpion in ...

    USB 3.0 plans to take the voltage down to 4 volts. This move must be resisted at all costs!

    1. Re:USB = Universal Supply Bus by thegnu · · Score: 1

      USB 3.0 plans to take the voltage down to 4 volts. This move must be resisted at all costs!

      For one, I want to be able to power a 5400rpm laptop HDD off only USB power, and you can't do that on 5v. Or was that an amperage problem. I don't remember.

      The point is, I'M DISSATISIFIED!!!!

      --
      Please stop stalking me, bro.
  23. Re:USB ?= serial by Gible · · Score: 1

    ...except in the first paragraph...

    --
    ~/ One man's opinions is a lifetime of pain. /~
  24. not a unique idea. by Kaenneth · · Score: 1

    A fully automatic water sentry turret for the dining room table, out of lego mindstorms NXT

    If a cat gets shooed off a table whenever a human is around, they only learn to stay off the tab;e when a human is around.

  25. A coincidence by thegnu · · Score: 1

    Oh, so it's like American beer.

    My favorite old Aussie joke:

    Q. Why do Americans like their beer freezing cold?

    A. So you can tell it from piss.

    We likewise have a joke about you guys and your taste in beer:

    Fosters: Australian for beer :)

    (I am aware you guys export it more than you drink it)

    --
    Please stop stalking me, bro.
  26. HELP WITH USB by charlie+baba · · Score: 0, Offtopic

    i got an mp3 player for Christmas. sony- charged by plugging into a usb port on the computer, great but don't want to redo the settings on my computer to charge the mp3 and don't want to spend $40 for a charger. so would like to know if i already have a spare power supply for a desk top computer could i wire up a usb port and use it to charge the mp3. i so on the net taco has a voltage suppresor to protect the mp3 from spikes, if i wire that in would that the all that is needed to set up my on seperate power supply? thanks for any and all comments.

  27. water guns and computers? by sepelester · · Score: 1

    Am I really the first one to point out that they don't mix??