Replace the YL-W113 OEM board. Tier 1: ship in 2 weeks ($286). Tier 3: custom PCB at scale ($43 controller, $193 full system).
Key insight: The entire Spring Boot + PostgreSQL + Docker + OCI backend is replaced by Blynk's free tier. 5 devices, dashboards, iOS/Android app, OTA firmware updates. Zero infrastructure.
ESP32 + 4 relays on ONE board. No soldering. No PCB design. Flash firmware via USB-C.
$14.00
β Amazon β verified Jul 2026| MCU | ESP32-WROOM-32E, 240MHz dual-core |
| Relays | 4 channels, 10A/250VAC each |
| WiFi/BLE | Built-in |
| Input | 5V DC via USB-C |
| Size | DIN-rail mountable |
| Custom PCB design | β Eliminated |
| MOSFET driver circuits | β Built into relays |
| ADC isolation | β TDS sensor has built-in driver |
| 24Vβ5Vβ3.3V buck | β On-board regulator |
| PCB fab + assembly | β Eliminated |
| # | Item | Source | Price | Qty | Total |
|---|---|---|---|---|---|
| 1 | LILYGO TTGO T-Relay ESP32 | Amazon | $14.00 | 1 | $14.00 |
| 2 | Gravity Analog TDS Sensor (with probe) | Amazon | $11.90 | 2 | $23.80 |
| 3 | YF-S201 Hall Effect Flow Meter | Amazon | $5.00 | 1 | $5.00 |
| 4 | 24V DC NC Solenoid Valve 1/4" QC | Amazon | $8.00 | 2 | $16.00 |
| 5 | 24V DC RO Booster Pump 100 GPD | AliExpress | $40.00 | 1 | $40.00 |
| 6 | 6-Stage RO System Kit (plumbing + filters + membrane + tank + faucet) | AliExpress | $150.00 | 1 | $150.00 |
| 7 | 24V DC Power Supply 5A | Amazon | $15.00 | 1 | $15.00 |
| 8 | Jumper wires, USB-C cable, heat shrink | Amazon | $10.00 | 1 | $10.00 |
| 9 | IP65 Plastic Enclosure | Amazon | $12.00 | 1 | $12.00 |
| TOTAL (1 prototype unit) | $285.80 | ||||
| At 100+ quantity (AliExpress sourcing) | ~$120-150 | ||||
β All prices verified via live browser navigation, July 2026. SARβUSD: 1 SAR β $0.267.
| Free tier | 5 devices, $0/month |
| Mobile app | iOS + Android included |
| Dashboard | Drag-and-drop builder |
| OTA updates | Firmware over-the-air |
| Automations | Alert rules engine |
| Data retention | 1 week (free tier) |
| Scale-up | Starter $29/mo (10 devices) β Production $199+/mo |
| Spring Boot backend | β Eliminated |
| PostgreSQL database | β Eliminated |
| Docker + CI/CD | β Eliminated |
| REST API development | β Eliminated |
| iOS/Android app dev | β Eliminated |
| OCI cloud infra | β Eliminated |
Self-hosted Docker. Unlimited devices. Completely free. Run on any $6/mo VPS.
$0 forever
Managed MQTT broker. 100 devices, 10 GB/month. No credit card needed.
$0 forever
Free tier for 1 year. Pay-as-you-go after. Best if already in AWS ecosystem.
$0 first year
pio run --target upload. Device auto-connects to Blynk via QR provisioning.LILYGO + pre-made sensors + pre-made RO kit + Blynk
| Dev time | 2 weeks |
| Unit cost (100) | ~$120-150 |
| Upfront cost | ~$300 |
| Risk | Very low |
β START HERE
Alibaba OEM controller + custom firmware + Blynk
| Dev time | 4-6 weeks |
| Unit cost (100) | ~$70-90 |
| Upfront cost | ~$1,000 |
| Risk | Medium |
Our PCB + JLCPCB assembly + ThingsBoard self-hosted
| Dev time | 12-16 weeks |
| Unit cost (1,000) | ~$43 (controller only) |
| Full system | ~$193 |
| Upfront cost | ~$15-25k (certs + tooling) |
| Risk | Medium (volume commitment) |
Recommendation: Start at Tier 1 immediately. Ship a working unit. Prove demand. Then move to Tier 2 or 3.
JLCPCB β Shenzhen. 48-hour turnaround.
| Spec | 2-layer FR4, 100Γ80mm, 1oz copper, ENIG, green mask |
| Prototype (5 pcs) | $2 + $20 shipping |
| Small batch (100) | ~$0.80/pc = $80 |
| Production (1,000) | ~$0.40/pc = $400 |
| Production (5,000) | ~$0.25/pc = $1,250 |
LCSC via JLCPCB parts library. All passives + ICs.
| ESP32-WROOM-32E module | $2.50 |
| EC200U LTE Cat 1 modem | $10.00 |
| IRLZ44N MOSFET Γ3 | $0.90 |
| MP1584EN + AMS1117 + MIC29302 | $1.40 |
| MCP6002 + DS3231 + passives | $3.00 |
| Connectors, terminals, headers | $3.00 |
| Total BOM (1,000 pcs) | ~$20.80 |
JLCPCB economic + extended parts. 3-5 day turnaround.
| Setup + stencil (one-time) | $80 |
| Per-joint cost (~200 joints) | ~$2.00/pc |
| Extended parts fee (ESP32 + EC200U) | ~$7.00/pc |
| Assembly per board | ~$9.00 |
Alibaba β Shenzhen Shiny Enclosure. Custom ABS IP65.
| Size | 200Γ160Γ60mm, wall-mount ears |
| Custom CNC cutouts + silkscreen logo | Included |
| Prototype (1 pc) | ~$25 |
| Small batch (100 pcs) | ~$5/pc |
| Production (1,000 pcs) | ~$2/pc = $2,000 |
| Pogo-pin test jig (one-time) | ~$200 |
| Firmware flashing (per unit, automated) | ~$0.50 labor |
| Functional test (per unit, 15 min) | ~$2.00 labor |
| Water test station (one-time setup) | ~$150 |
| Custom printed box + foam insert | ~$1.50/pc |
| Quick-start card (4-color print) | ~$0.30/pc |
| Cable kit (power + sensor wires) | ~$2.00/pc |
| QR code sticker (Blynk provisioning) | ~$0.10/pc |
| Packaging total | ~$3.90 |
| Certification | Cost | Timeline | Required For |
|---|---|---|---|
| FCC Part 15 (intentional radiator) | $8,000-15,000 | 4-8 weeks | US market (ESP32 WiFi/BLE + LTE) |
| CE Mark (EMC + Radio) | $3,000-6,000 | 4-6 weeks | EU market |
| RoHS compliance | $500-1,500 | 1-2 weeks | EU + general export |
| Water safety (NSF/ANSI 58) | $5,000-20,000 | 8-16 weeks | US drinking water (optional, RO kit already certified) |
| Total certs (budget) | ~$12,000-22,000 | Amortize: adds ~$2-4/unit at 5,000 units | |
| Stage | Cost/Unit | Notes |
|---|---|---|
| PCB fabrication | $0.40 | JLCPCB, 2-layer, 100Γ80mm |
| Components (BOM) | $20.80 | LCSC, 1,000 pcs pricing |
| SMT assembly | $9.00 | Including extended parts fee |
| Enclosure (custom IP65) | $2.00 | Alibaba, 1,000 pcs |
| Testing + flashing | $2.50 | Pogo-pin jig + automated test |
| Packaging | $3.90 | Box, foam, manual, cables, QR |
| Certifications (amortized) | $3.00 | ~$15k Γ· 5,000 units |
| Logistics (sea freight) | $1.00 | Shenzhen β destination port |
| TOTAL β Controller only | $42.60 | At 1,000 units |
| Add $150 for the 6-stage RO kit (plumbing + filters + membrane + tank + faucet) from AliExpress. Full system BOM: ~$193/unit. | ||
Total: ~6-8 weeks from order to delivery
| PCB fab | ~$0.40/pc (volume discount) |
| Components | ~$18/pc (bulk LCSC/Mouser) |
| Assembly | ~$7/pc (automated line) |
| Enclosure | ~$1.50/pc (injection molding) |
| Testing | ~$1.50/pc (automated jig) |
| Total controller | ~$32/pc |
| Full system | ~$182/pc |
| Condition | Severity | Trigger | Action |
|---|---|---|---|
| Pure TDS > 50 ppm | β WARNING | DI resin exhausted or membrane failing | Notify user to check DI resin |
| Rejection < 90% | π΄ CRITICAL | Membrane needs replacement | Auto-initiate flush, notify user |
| Signal < 10 RSSI | β WARNING | Poor LTE connectivity | Buffer data locally, retry |
| Low pressure switch OPEN | π΄ CRITICAL | No water supply | STOP PUMP immediately |
| High pressure switch OPEN | π΄ CRITICAL | Overpressure | STOP PUMP immediately |
| ESP32 GPIO | Function | Connects To |
|---|---|---|
GPIO25 | Pump PWM (LEDC 5kHz) | Relay 1 (NO β Pump +) |
GPIO26 | Inlet Solenoid | Relay 2 (NO β Solenoid +) |
GPIO27 | Flush Solenoid | Relay 3 (NO β Solenoid +) |
GPIO36 (ADC1_CH0) | Raw TDS Probe | Gravity TDS Sensor signal pin |
GPIO39 (ADC1_CH3) | Pure TDS Probe | Gravity TDS Sensor signal pin |
GPIO16 | Flow Meter Pulse (RISING INT) | YF-S201 signal (yellow wire) |
GPIO34 | Low-Pressure Switch (INPUT_PULLUP) | NC switch β GND when OK |
GPIO35 | High-Pressure Switch (INPUT_PULLUP) | NC switch β GND when OK |
GPIO32 | Tank Full Float Switch | Float switch (HIGH = full) |
| 24V Power: 24V DC PSU β Relay board COM terminals. Pump/Solenoid negative: β GND_POWER (star-point with digital GND). | ||
| Component | Tier 1 (Bolt-On) | Tier 3 (Custom PCB, 1K) |
|---|---|---|
| Controller board | $14.00 (T-Relay) | $0.40 (2-layer PCB) |
| Components | Included in T-Relay | $20.80 (BOM) |
| Assembly | None (off-shelf) | $9.00 (SMT) |
| Enclosure | $12.00 (Amazon) | $2.00 (Alibaba 1K) |
| Testing + flashing | $0 (DIY) | $2.50 (jig + labor) |
| Packaging | $0 (plain box) | $3.90 (custom) |
| TDS sensors Γ2 | $23.80 | $8.00 (LCSC bulk) |
| Flow meter | $5.00 | $2.50 (bulk) |
| Solenoids Γ2 | $16.00 | $8.00 (bulk) |
| Booster pump 24V | $40.00 | $25.00 (wholesale) |
| 24V PSU 5A | $15.00 | $8.00 (bulk) |
| 6-Stage RO kit | $150.00 | $80.00 (container qty) |
| Certifications (amortized) | N/A | $3.00 |
| Logistics | $0 (DIY) | $1.00 |
| FULL SYSTEM TOTAL | $285.80 | $193.10 |
Key takeaway: Tier 1 ships tomorrow with no upfront cost. Tier 3 saves 32% per unit but requires $15-25k upfront (certifications + tooling). Break-even: ~270 units.