• Home
  • "BubsBuilds" Projects
      • Back
      • Assorted (hopefully) "Useful Stuff" Projects
      • Games
      • Generative Design Projects
      • Just Playin and Concept Demo Projects
          • Back
          • Print-in-Place
          • Flexure Fun
      • Pet Stuff
      • Printer Projects
      • Tool-related Projects
      • AgTech Projects
          • Back
          • Hydration and Hydroponics Projects
              • Back
              • Pumpin
              • Valvin
          • System-level Projects
              • Back
              • Project Fireplace
  • Tech Refs and Such

Latest Articles

  • Cam Valve - Gen3
  • Fractal Vise Jaws - Mechanical Bearings
  • High Flow Peristaltic Pump
  • Mech Tester
  • Axial Flow Compressor Concept Tester

Most Popular

  • 2020 Aluminum Extrusion stuff
  • Displacement Sensor - Double Compound Flexure-based
  • Bolt-Sorting Sieve
  • Flexure Fractal Vise Jaws
  • Saturn Platen Removal Tool
  • Precision Dosing Pump
  • Mech Tester

AgTech (aka finding a way to complicate and digitize gardening) Projects

Peristaltic Valve - gen1

Details
Parent Category: Hydration and Hydroponics Projects
Category: Valving
Last Updated: 05 September 2023

In my seemingly-endless tinkering with Peristaltic pumps, it occurred to me that the same concept used in a peristaltic pump to move fluid, could also be used to create a valve mechanism. So I decided to give it a shot, and it actually works pretty well!

Design

There are three main elements to the design:

  • The Shoes - These are shown in orange in the above images. These parts include the guides for the tubing, and the wall that the tube will be compressed against when closed. There is one shoe for each tube/channel that is being valved.
  • The Stator(s) - Shown in electric blue in the images. These two parts bolt together, clamshell style, and act as the frame. They also house the main bearing journals that support the rotor.
  • The Rotor(s) - Red and grey in the images. Both ends of the rotor have a motor coupler bearing journal. The rotors also have the attachment points for the bearings that will compress the tubing.

BOM

  • Printed Parts
    • (Qty 2) Frame.stl - These make the Stator
    • (Qty 1) Rotor_Upper.stl
    • (Qty 1) Rotor_Lower.stl
    • (Qty 4) Shoe.stl
    • (Qty 3) BearingCap.stl - These extend the contact patch for the bearing to cover the full tube and also can be easily swapped to vary the compression gap for different tubing and/or seal.
    • (Qty 1) HandCrank.stl - To manually operate the valve - There are also mount locations on the Frame parts to attach a servo, but currently the drive torque required seems prohibitive (in my opinion)
  • COTS
    • (Qty 2) 6806-2RS Bearings / 30x42x7 - The 'main bearings'
    • (Qty 3) 608-2RS Bearings / 8x22x7 - Aka roller skate bearings. These are the compressors (or so I will now call them)
    • (Qty 16) M3 Heat Set Inserts - Numerous spots, see below images.
    • (Qty 6 - Optional) - M4 Heat set inserts - These are for the top and bottom mount locations intended for motor mounts.

Heat set locations

One of the frames will have four, M3 heat sets inserted for attaching the frames together. These should be inserted from the inside (the smaller diameter).

Both frames will get four, M3 heat sets inserted around the perimeter, for attaching the shoes.

If you are going to insert the M4s into the frames, be careful when inserting the M3s to not obstruct the one M4 hole that intersects. You may want to use a shorter M3 for these holes.

The final M3s go into the Rotor_Upper. I was wanting to test using the expansion of the post when inserting the heat set to make an interference fit with the bearing, but I was too conservative on my post diameter. So no need to have the bearings in place when inserting the heat sets.

 

No comments on “Peristaltic Valve - gen1”

Four Channel DrumCam Valve

Details
Parent Category: Hydration and Hydroponics Projects
Category: Valving
Last Updated: 08 July 2023

 

This design is for a digitally-controlled, four ‘channel’ valve assembly. I designed this specifically for the application shown in the picture above, where I wanted to be able to controllably dose from individual reservoirs to individual target plants. By combining a couple of these valves with a peristaltic pump, I could supply four plants from up to three reservoirs.

The valve works by the camshaft pushing steel balls against the tubing passing through the valve. The channels are closed except when the cam rotates such that the ‘pocket’ for that channel is rotated such that the ball can lift and release the tube. The video below shows one in action.

Find it on Printables

Design Overview

drumcam_4ch_xsec_4a05b.png

A good friend (and far better engineer than I) was kind enough to record a full Design Review video for this…but technical difficulties (aka I’m still new to OBS Studio) meant none of his audio was captured…oops…I am curious if people would actually be interested in these sorts of Design Review videos, any opinions or suggestions would be much appreciated!

Parts List

Printed Parts:

I’ve now made a handful of these valves, and I’ve made all of them from Overture PETG. I generally like working with PETG, and it holds up well for these. The only downside is that PETG does wear a bit at the contact between the drum and the steel balls. I haven’t experienced any problems, but I anticipate it will lead to progressively worse sealing over time. I didn’t want to use PLA because I expect mine to see a fair bit of UV exposure, but I’d be quite curious to hear what else folks try and what works well.

  • DrumCam.stl
  • Housing.stl
  • CamSupport.stl
  • ServoInterface.stl
Two full valve assemblies' worth of parts.

Please note, I sliced/printed these prior to the release of organic supports in Prusa Slicer, of which I am a very big fan. If I were printing these today I would use organic supports…and actually, I just realized that for the build I did in the images below, I did indeed slice it with them. But the screenshot I saved, is the screenshot I saved!

COTS parts

  • (Qty 2) 608 2RS Bearings — Aka skate board bearings. There’s not much demand on these bearings unless you’re putting yours in some weird/harsh environment, so any 8x22x7mm bearing should do fine.
  • (Qty 1) DS3225 Servo — It was originally designed for, and still can be built with, an MG995 servo, but while it seemed to operate fine for several weeks, I felt like it sounded like it was loading closer to stall than I wanted.
  • (Qty 8) 1/2" or 12.5mm balls — I have just been buying these in different sizes recently, but you obviously don’t need 100 pieces for this project.
  • (Qty ?) 5mm x 8mm Silicone Tubing — You’re looking for a compliant/soft tubing with the matching ID/OD. You would probably be fine (and maybe even get slightly better sealing) with a thicker wall, but at the cost of more Cam wear.
  • (Qty 4) M4 x 8.1 Heat set inserts — You should be able to use any length of M4 insert, just make sure to choose the corresponding fastener accordingly.
  • (Qty 1) M5 x 9.5 Heat set insert — This will be the load path from the servo to the camshaft, so just make sure you have enough thread engagement, but with it being M5, really any depth of insert should be fine.
  • There are a number of options for fasteners, and I tend to just use assorted kits for each size, which is overkill for the few fasteners you’ll need for this. So I’ll list them here
  • (Qty 4) m4 x 10 BHCS
  • (Qty 1) m5 x 30 BHCS — could also sub this with an m4x30 and replace one of the m5 nuts with an m4 nut, but may want to also toss in a washer just to be safe.
  • (Qty 2) m5 x 18 BHCS
  • (Qty 3) m5 hex nuts

Assembly

Get all of the printed parts
 
 
Remove the supports
 
 
Get the DrumCam and 608 2RS bearings
 
 
Press one bearing into each side. Here I’m using additional bearings just as spacers for the press. Depending on your print settings, you shouldn’t need anywhere near an arbor press for this, but I’m lazy.
 
 
Melt the M5 insert into the hole in the DrumCam (see below picture for additional clarity)
 
 
DrumCam with heat set insert and bearings installed.
Get M4 inserts and Housing.
Melt in M4s for Servo mount
Now get your 1/2"/12.5mm balls
Drop 2 balls into each bore in the Housing and get the DrumCam
Slide the DrumCam onto the post on the Housing with the M5 insert facing the servo mount
 
 
Attach the ServoMount. First insert the M5 nuts into the hex recesses in the housing (not visible from this view)
 
 
Now get your servo, servo horn, mounting hardware, and ServoHornInterface.
 
 
Attach the servo horn to the servo. You’ll want to power up the servo and set the position to Zero degrees (or whatever you decide on, but you’ll need your code and this alignment to match up!)
 
 
Attach ServoHornInterface to Servo Horn
 
 
Attach servo to Housing with M4 fasteners and then connect ServoHornInterface to DrumCam with M5

This project is part of a collection of AgTech projects that I am working on putting together as an open source hardware project, JFS Agri. I am excited by the intersection of growing my own food and playing with tech toys :) if you’d like to see a summary of the projects along the way, I’ve started an overview page here. I’d love to find like-minded folks with a similar interest that are interested in collaborating, generating data, or just chatting about AgTech!

 

No comments on “Four Channel DrumCam Valve”

Planters

Details
Parent Category: System-level Projects
Category: Project Fireplace
Last Updated: 19 August 2023

Herb Planter - 3 position

Printables  |  Thingiverse

Design goals

  • Provide at least 3 locations for 1.5" Rockwool cubes
  • Fit within Prusa Mk3s build plate (actually limited allowable box to 200mmx200mm in XY
  • Provide secure mount point to 2020 aluminum extrusion
  • Integrated mounting/guiding of at least two moisture sensors.

The design concept I settled on is a circular footprint with the three cube locations evenly spaced at 120 degrees. To help improve moisture retention, I decided to have the center region open, and filled with expanded clay pellets (aka hydroton). So the inner walls of the cube holders are 'vented' with relatively large diamond-shaped openings in the hopes of getting intimate contact between the rockwool and the hydroton.

The planter is secured to 2020 extrusion via a single M5 mount hole in the center of the part. The intent (and implementation) is to secure the planter in location, and then fill/seal it with hot glue prior to filling with hydroton. This planter is intended only for use in a flat orientation, and no real dynamic loads (other than some light wind load). So this single M5 should be plenty to handle any asymmetric loading caused by different plant sizes at this size.

I have used these capacitive soil moisture sensors for previous builds using hyrdoton as the grow medium, so I know they can give a usable signal for closed-loop control. In my initial tests, I wasn't sure if it would work since there are air gaps caused by the spherical pellets limited packing factor. That being said, I'd LOVE to find a better, more scalable option for moisture sensing. The linked sensors are fine, but each needs to be sealed (the driver circuit is fully exposed, and the sides of the boards are raw-cut PCB, which will uptake water over time) and their form factor isn't always ideal. But I digress...

To locate the sensors within the assembly, I added some slotted risers on the sides. The slots are oriented at 45 degrees, partially to make them printable without supports, but primarily because the 'nose' of the sensor is a right angle. So by having the slot at 45, the edge of the sensor should sit flush against the base of the planter. Between the slot and the planter base, this provides a reasonably repeatable constraint for the sensor. 

The reason I care about having the positioning of the sensor somewhat repeatable/consistent within the planter, is because the moisture readings are very sensitive to their depth within the medium. So the goal with this constraint scheme is 1) to try to reduce sensor drift by limiting physical movement within the medium, and 2) to try to improve the interchangeability of the sensors and be able to compare channels directly...This second goal is less of a driver, since my experience with these sensors is that there are MANY factors that contribute to the sensors response curve (another reason I'd really like to find an alternative tech for this.)

And finally, I added a lid to help reduce the rate of water loss and to reduce the growth of unwanted extras in my grow medium.

The Build

The build on this one is pretty straight forward, I suppose, but here goes :)

BOM:

  • Printed Parts - I printed mine from Blue Overture PETG
    • Planter Body (aka "Circular_3loc_1p5cube.stl")
    • Lid (aka "Lid.stl" ¯\_(ツ)_/¯)
  • COTS
    • (Qty 3) 1.5" Rockwool cubes
    • Expanded clay pellets
    • (Qty 3 or less) Moisture sensors
    • M5 fastener of your choice, if you're mounting it to something (could also just seal up the hole and have it lay flat on a surface ifn ya want)
    • Hot glue or other sealing material of your choice (just make sure you're ok with that sealant coming into contact with your food...or at least the food of your food, but transitive property, ya know)

When printing the Planter, I'd recommend at least 3 perimeters to improve water retention. 

My order of operations was:

  1. Secure planter to frame with M5 fastener in a t-nut. Then seal up counterbore with hot glue.
  2. Insert rockwool cubes with seedlings (would presumably be easy enough to set these up as seed starters, but I started mine separately.)
  3. Seal up soil moisture sensors and then put them in their respective homes.
  4. Soak, drain, and rinse clay pellets, then add to planter.
  5. Add lid

However, for future assemblies, I'll likely change that order to 1, 3, 4, 5, 2. There is no reason the plants can't be put in last, and this reduces the risk of accidental damage when putting on the lid.

The sensor wires run to a small board to consolidate them down to a single, Cat5 cable that then heads over to the Data Maker Electronics Enclosure.

Thoughts/Notes

One major omission I've discovered was on the irrigation supply side...guess I got stuck on the 'feedback' side of things, and kind of forgot the other, somewhat crucial side of a closed-loop system :) Luckily, I think this omission may be something I can integrate well into a revision of just the lid.

Although I didn't want to give up the 'wet volume', I think if I do a full rev of this planter (although I don't currently plan to) and in future, related builds I will go with fastening points outside of the sealed region. It hasn't been an issue for me yet, but just in assembling them I was imaging me frustrated at not being able to easily reposition the planters on their rails without having to empty and dry out the clay pellets. 

Printables  |  Thingiverse

 

No comments on “Planters”
  1. Data Maker Electronics Enclosure

Subcategories

Hydration and Hydroponics Projects Article Count:  8

Peristaltic Pumpin Article Count:  4

A lot of projects I work on/have worked on seem to involve the controlled movement of fluids. Below is a bit of a history of my builds involving attempts at obtaining this controlled movement for incompressible fluids. I haven’t done much myself with making custom solutions for the compressible stuff, but if you’re interested in such things, I thoroughly enjoy Major Hardware’s “Fan Showdown” series :)

This article/section is by no means intended as a thorough overview on the design and operation of pumps. While I will try to give some overview on operating principles and design considerations as I go, this is mainly just going to be a wander through my personal builds and experiences.

Peristaltic Pumps

What is a peristaltic pump?

I’m sure there are innumerable sources online for (much better) detailed discussions of the workings of peristaltic pumps. So I’m just going to hit the highlights, and I’ll try to remember to find some promising links and add them below, should a deep dive seem intriguing to ya.

Basic Operation:

The fluid being pumped is carried into the pump in a compliant tubing. This tube is routed around some portion of a circular/cylindrical path around the axis of the pump and then exits the pump. This is one interesting/attractive aspect of peristaltic pumps, the fluid never has to leave the tube that it is in, making these pumps well-suited to situations where contamination and/or leaks are highly undesirable. The housing that features the cylindrical wall that the tubing is being routed along can be considered the Stator, and that is generally the nomenclature that I tend to use.

So if there’s a Stator, there must be a Rotor…? Yup, the rotor includes some set of features that extend out to some defined gap between this feature and the Stator wall. These features, which in many peristaltic pumps are rolling element bearings, pinch the tubing to the point of sealing (ideally) the tube. As the rotor turns, this contact point proceeds around the circumference. Because the pinched point of the tube is sealed, the volume of fluid in the tube ‘ahead’ of the pinch point are, as a result, pushed forward. So, keep rotating, keep pushing….pretty much as simple as that!

Pros:

  • Positive Displacement Pump
    • Because the pinch point is (ideally) fully sealing the tubing, the amount of fluid moved is directly proportional to the movement of the pump. This makes them very good choices for things like dosing pumps or other applications where the desired volume of fluid to be moved needs to be deterministic.
    • This is a large driver for my initial interest in using peristaltic pumps. Their deterministic flow is/was very attractive for my plant growth experiments. They can give very repeatable watering volumes and nutrient concentrations.
  • Fluid Isolation
    • Because the fluid never leaves the tubing, these pumps can be suitable for moving hazardous materials. For example, I have been using a peristaltic pump for transferring 99% IPA
  • Relatively Simple Construction
    • Because the fluid does not have to be sealed within the pump, these pumps lend themselves well to DIY builds. No shaft seals, gaskets, etc. or complex (at least to do well) impeller design needed.
  • Self-priming and Head height
    • If well-sealed, these pumps are capable of self-priming (and even pumping air) and of achieving pretty impressive head heights (the measure of how high above the pump it can pump a column of water)

Cons:

  • High drive torque
    • Because of the preloading needed against the tubing, and the rolling friction, even with good rolling elements (more below on this), it can be quite easy to end up with designs that require quite a lot of drive toque.
  • Tubing wear
    • With the relatively large deformation and high number of cycles, the tubing will eventually fail, either due to material wear, fatigue cracking, or who knows what else. Because this failure mode can cause fluids leaking into your pump not designed to experience this fluid, this failure can potentially be quite problematic. So the use of high-quality tubing material and a plan for periodic maintenance, are worthwhile.

Test Build 1

A couple of years back, I had a concept for an in-line-mixing hydroponics system. The idea being that the supplies to the system would be just pure water and nutrient concentrates, and a series of pumps and valves would allow precise dosing mixes to each target plant in a system (I refer to this concept as Rail Yard Hydro, since it moves the fluids around the tubing network quite like rail cars are moved around a rail system. I’m planning to add a separate page diving into that one a bit deeper since it is the design scheme I am using in my current projects.)

Well, to facilitate this plan, I wanted to find an option for a dosing pump that I could integrate in to my control system (aka Arduinos and Raspberry Pi’s :)). Unfortunately, I quickly found that a servo-driven peristaltic pump could easily set me back north of $100….so I set out to spend many multiples of that making my own!

Actually, when I saw the pricing, I decided I should see if I could make myself a cheapo, manual version that I could use to just test out some basic questions on the Rail Hydro idea (mainly verifying that I could induce good material mixing in-line and that there was no cross-contamination between fluid reservoirs.) And so, ‘twas this endeavor that resulted in the pump I’m apparently referring to as “Test Build 1”

Design Objectives:

  • Be a peristaltic pump
  • Provide a full seal (at 100mm head)
  • Be hand-cranked
  • Not require any parts that would have to be ordered (I’m impatient)

The Build

She ain't pretty (especially after a good while of getting knocked around), but the pic above shows the dual pump setup I rigged up for my testing needs. I was VERY pleasantly surprised that, other than a tweak to the hand wheel, these things worked pretty damn well!

I decided upfront that I was going to go with a resin printed build, because I thought the high stiffness and good surface finish throughout the 'pinch region' would give me a better chance. Since I was already going to have the good surface roughness, I might as well also integrate the main bearing into the printed parts.

In the image of the model, below, the Stator is the part shown in green, and the Rotor is shown in blue(ish.) Riding on the rotor are roller skate bearings to provide the contact with the tube. Race 1 has v-grooves on both sides of the race, providing the main constraint for locating the rotor, and Race 2 has a v-groove on the Stator, but only a single plane of contact on the Rotor side. This keeps from over-constraining the bearing.

The absurdly overkill bolt running through the center is a real showcase of "using what I had on hand" :) in that these were the only bolt/nut sets I had on hand with the length I was looking for.

Valving Article Count:  3

System-level Projects Article Count:  3

Project Fireplace Article Count:  3

Page 3 of 4

  • 1
  • 2
  • 3
  • 4

Login

  • Forgot your password?
  • Forgot your username?
  • Create an account

Please note, many of the links contained in my articles are “Affiliate” links through that vendor. Unless specifically otherwise mentioned in the context of the link, these are items that I purchased and used from that same product page for whatever the project (or prospective project) was. I use these Affiliate links to help recoup a little of what I spend on project materials, etc. (if you’d like a sense of scale….in the week that I write this, I have brought in a startling $0.75 :) ).

TERMS OF SERVICE

  • Policies
Copyright © 2022 - 2025 JFS Agri, LLC