Yes — this is a DIY 3D printed servo valve. It uses a small hobby servo motor (like SG90 or MG90S) connected to a 3D-printed valve body that controls water or air flow.
Here’s how it works and what you’ll need if you want to build one:
### **Components:**
- Servo motor (SG90 or MG90S)
- 3D printed valve body and lever (PLA or PETG recommended)
- PVC or garden hose fittings
- Screws and nuts for servo mounting
- Arduino / ESP board to control servo
- (Optional) Potentiometer or sensor for feedback
### **Working:**
- The servo rotates the valve spindle by 90° or less.
- This rotation opens or closes the flow path.
- Controlled by PWM signal from Arduino or microcontroller.
Arduino code
**Tips:**
- For water use, make the valve parts watertight with silicone grease or O-rings.
- For air or low-pressure systems, PLA is fine; for higher pressure, use PETG or ABS.
- You can integrate it into smart irrigation, aquarium systems, or robotic control setups.
Here’s how it works and what you’ll need if you want to build one:
### **Components:**
- Servo motor (SG90 or MG90S)
- 3D printed valve body and lever (PLA or PETG recommended)
- PVC or garden hose fittings
- Screws and nuts for servo mounting
- Arduino / ESP board to control servo
- (Optional) Potentiometer or sensor for feedback
### **Working:**
- The servo rotates the valve spindle by 90° or less.
- This rotation opens or closes the flow path.
- Controlled by PWM signal from Arduino or microcontroller.
Arduino code
Code:
#include <Servo.h>
Servo valveServo;
void setup() {
valveServo.attach(9); // Signal pin
}
void loop() {
valveServo.write(0); // Valve closed
delay(3000);
valveServo.write(90); // Valve open
delay(3000);
}
- For water use, make the valve parts watertight with silicone grease or O-rings.
- For air or low-pressure systems, PLA is fine; for higher pressure, use PETG or ABS.
- You can integrate it into smart irrigation, aquarium systems, or robotic control setups.