• 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
  • Books I Like

Latest Articles

  • Pepper Grow Station 2025 - Light Lifting System
  • Cam Valve - Gen3
  • Fractal Vise Jaws - Mechanical Bearings
  • High Flow Peristaltic Pump
  • Mech Tester

Most Popular

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

BubsBuilds Projects

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”

Pepper Grow Station 2025 - Light Lifting System

Details
Parent Category: System-level Projects
Category: Project Fireplace
Last Updated: 02 June 2025

Continuing work on the Project Fireplace pepper growing system (aka, the instrumented produce-growing system(s) that will live above the fireplace). I decided the next subsystem to tackle for this build is the frame and structure for the lighting. 

The main challenge for this subsystem  is the need to be able to raise and lower the lighting components relative to the plant. This is important for both reducing the wasted light, but also for maintaining lighting intensity when plants are in early growth stages. 

To be fair, I could kick the can on this problem, and instead try to accomplish this by moving the hydro system to move the plant instead....but as much as I love an opportunity to procastinate, that sounds like a real pain in the ass. So light moving it is.

 model_fullsystem_2025-05-31_2_f06cd.png

Design Overview

model_fullsystem_2025-05-31_annotated_c4e45.png

The main structure of the system will be provided by some 2020 aluminum extrusions connected by 3d printed (FDM from PETG) brackets. On top of that structure sits an admittedly oversized winch. The winch raises and lowers the moving platform that the LED clusters will be attached to.

Taking a closer look at each of those, let's start with the base and top frame assemblies. Both are the same construction, shown in the image from the model shown below. 

model_base_bba59.png

It is made up of 6 pieces of 2020, connected together with  four PETG brackets.  The brackets in the center provide structure and attach points for 1) the planter/hydro system on the bottom and 2) the lift system on the top.  The top and bottom assemblies are connected together with a set of vertical 2020 extrusions. The length of these extrusions sets the total height of the system. I went with 1m lengths.

model_frame_60313.png

 

WORK IN PROGRESS -  This article is a work in progress. If there are specific aspects of the project you're eager to know more about, feel free to drop a comment here or on my socials and I'll prioritize getting that part added!

 

 

 

No comments on “Pepper Grow Station 2025 - Light Lifting System”

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
  2. (Perhaps Overkill) Paper Towel Holder
  3. Mass Balance
  4. Displacement Sensor - Double Compound Flexure-based
  5. Flexure Fractal Vise Jaws
  6. Chip Clips
  7. Analog/Mechanical Load Cell
  8. Print-in-Place Designs
  9. Automated Cat Toy Laser Turret
  10. Filament Spool Holder

Subcategories

Assorted (hopefully) "Useful Stuff" Projects Article Count:  12

Like the bucket of assorted fasteners on that bottom shelf, this category is for stuff that I didn't know how to group...oh, and speaking of those fasteners, check out the little sortin fella!

2020 Aluminum Extrusion Hardware

Quick Bolt Sorter

General Purpose Turntable - Gen1

Games Article Count:  1

Generative Design Projects Article Count:  3

During the good financial decision-making times of Covid lockdowns, etc. I decided it was a good idea to buy a license for the Fusion360 Generative Design extension...Good news, I did finally pay that off :) I had worked around, and been somewhat involved in a handful of Topology Optimization/Generative Design projects through my work, and I've found the tech super interesting for some time. So after the free trial, and feeling like I was just starting to gain some level of competence in Fusion360's tool....I done did it, and bought the year. Ok, now that I'm done justifying that to myself...I mean you...

<engineering/design> What I really like about Generative Design is that it forces the designer to think about the thing they are trying to design from it's core requirements: Forces, Interfaces, and Keep Outs. I think it's far from perfect, especially given the still very primitive Design For Manufacture capabilities these tools have (among other shortcomings, but this one is certainly a big one to me.)

<precision engineering> One last also (for now), but ALSO, what I find exciting about these tools from a precision engineering perspective, is that the above-mentioned focus on forces and interfaces, these tools are extremely well-suited to kinematic/exact constraint designs! I think every one of the Generative Design projects below features at least some aspects of kinematic constraint (I say, "I think" because I may or may not be writing this before I go through my files and remind myself what all I actually made vs what I just thought about making ¯\_(ツ)_/¯ )

Generative Design Projects

 

 

 

JFS Projects Article Count:  14

AgTech (aka finding a way to complicate and digitize gardening) Projects Article Count:  12

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:  4

Project Fireplace Article Count:  4

Just Playin and Concept Demo Projects Article Count:  8

Print-in-Place Designs Article Count:  1

Flexure Fun Article Count:  5

Pet Stuff Article Count:  1

Printer Stuff Article Count:  3

Tool-related Projects Article Count:  6

WIP Article Count:  3

A temporary home for projects I'm currently working on.

Page 9 of 16

  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13

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