element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
On the Line
  • Challenges & Projects
  • Design Challenges
  • On the Line
  • More
  • Cancel
On the Line
Forum Green Brain - Part III - Water Cannon Chaos
  • News
  • Projects
  • Forum
  • DC
  • Leaderboard
  • Files
  • Members
  • More
  • Cancel
  • New
Join On the Line to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 36 subscribers
  • Views 127 views
  • Users 0 members are here
  • On The Line
  • servo
  • water cannon
Related

Green Brain - Part III - Water Cannon Chaos

saramic
saramic 22 days ago

I promised a water cannon Sweat dropsGun for my plants, so I had to deliver, if only for a forum post.

Recap

Green Brain Herb is the idea of tracking plant nodes via an industrial CAN bus to ultimately see which plant needs more water cannon Gun.

  • Green Brain - Part I - CAN bus introduction
  • Green Brain - Part II - Dev setup

the idea and the gear

I had the gear for a water cannon. My wife wanted an indoor plant watering system for Christmas so I got her one. But what present is complete without some extra DIY in case I could build one myself. As such I had a few small pumps around. I also had a servo driven X-Y pan and tilt module. How hard can it be to hook that up and make a water cannon.

As an aside, I am also super grateful for a bunch of gear that Element 14 sent to me as a selected challenger.

image

The pressure is on to use as much of this gear as I can.

Water and electronics

Well there was a lot of learning to be had:

  1. no matter how well you think you seal things - water will still leak. Although I didn’t go all out with silicon, I thought that tight fitting vinyl tubing, electrical tape and relatively low water pressure would be OK — it was not
  2. Water brings in fluid dynamics and things like head, flow, nozzle shapes and the like. Clearly my pump could not initially pump up 300mm of head so I moved the motor closer to the nozzle. There would also be time required to refill the tubing up to the nozzle, as once the pump stops the tube empties. Gardening nozzles from a local hardware are only so good at firing a stream of water
  3. Even small hoses can be stiff enough to move the servos
  4. Pan and Tilt movement requires some planning in how everything interacts. My platform got tangled in the hose, and the wiring also got stuck every so often for the servos as everything moved around
  5. Water is heavy and the motion of water in a hose can change the weight balance of everything and move things around
  6. With all this chaos, I was not bringing the UNO Q anywhere near this water cannon
  7. Noise, pump motors can produce noise, and that noise can be picked up by the servos and move them haywire around the place

It was this last point that really killed this feature. I had removed the servo library entirely, moved the pump power onto a completely separate circuit isolated by a relay — and still the servos would pan to the right and tilt to the top. Stripping down to a pure diagnostic sketch (no servo code at all) revealed the culprit: the servo signal pins were floating high-impedance inputs, acting as antennas and picking up the pump motor’s EMI directly? maybe? ¯_(ツ)_/¯. Even with no code driving them, the servo controllers saw enough noise to chase a position. I ran out of steam getting this to behave reliably with the full mechanical assembly.

image image

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

I was hoping to re-use the water cannon as a dog deterrent from scratching a door. I think neither the dogs nor the plants will be seeing any water cannon any time soon.

image

The only clever things I did was write to EEProm to see if a reboot was happening when the pump kicked in and use the Omega temperature probe to hold the tube that fed water to the pump.

Next

  • I have some MAX6675 which would be cool to connect to the K-Type Thermocouples
  • there is the Omega Temperature probe
  • and I am hoping to at least visualise a little bit of this on NI LabView

oh and there is like 24 hours left Fingers crossed

Source

https://github.com/saramic/green-brain

  • Sign in to reply
  • Cancel
  • kmikemoo
    kmikemoo 22 days ago

    saramic  While this didn't quite turn out like you had wanted, it's still a fun feature.  I think the water cannon as a dog deterent is a wonderful idea.  Maybe I could get my granddog to stop peeing right at the end of the steps - where we also have to walk. Laughing

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • colporteur
    colporteur 22 days ago

    I'm curious. I've seen many videos on this site where pets make cameo appearances.

    If the figure hiding behind the pump assembly is a spouse, how did you convince them to participate? What function did they serve in the testing?

    The only input I get from my significant other is, "when are you going to clean up this room?" the few times she visits my workshop.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • saramic
    saramic 22 days ago in reply to colporteur

    one of my sons actually - he only took part when I was a total failure and water and mess was involved Slight smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DAB
    DAB 19 days ago

    Nice update on a fun project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube