Air Mattress Controller V1
Open-Source Adjustable Firmness System

6.0 6. Full Bill of Materials

6.1 Air System

QtyPart NameRecommended ModelSpecificationConnector / PortRecommended WireDescription / PurposeEst. PricePurchase Link
1Air pumpActive Aqua AADAP25LAC dual-diaphragm, ~25 L/minmulti-outlet air portsfactory AC cord or 18 AWG if rewiredMain air source$50–70Buy
2Fill valveU.S. Solid 12V NC pneumatic valve12V, 1/8" NPT, NC1/8" NPT female20–22 AWGInflation control$12 eachBuy
2Vent valveU.S. Solid 12V NC pneumatic valve12V, 1/8" NPT, NC1/8" NPT female20–22 AWGDeflation control$12 eachBuy
2Check valve1/4" inline air check valveair-rated, low cracking pressurebarbed inlinen/aPrevents backflow$5–10 eachBuy
2Tee fitting1/8" NPT tee or matched barb teematch tubing sizethreaded or barbn/aSensor + vent node$5 eachBuy
as neededMain tubingsilicone or PVC tubing8–10 mm IDmatched to barb fittingsn/aMain airflow linesvariesBuy
as neededSensor tubingsilicone or PVC tubing4–6 mm IDmatched to sensor portsn/aPressure sensor tapsvariesBuy
as neededBarb adapters1/8" NPT to barbmatch tubing sizesthreaded to hose barbn/aFitting compatibilityvariesBuy
1Manifoldcustom printedmulti-inletcustomn/aCombines pump outletscustomn/a
1Plenumcustom printed or sealed chambersmall air volumecustomn/aSmooths airflowcustomn/a

6.2 Electronics

QtyPart NameRecommended ModelSpecificationConnector / PortRecommended WireDescription / PurposeEst. PricePurchase Link
1MCU boardESP32 DevKit V1 / equivalent3.3V logic dev boardUSB + 2.54 mm headers24–26 AWG signalMain controller$8–10Buy
2Pressure sensorNXP MPX5010DP0–10 kPa analog differentialdual tube ports, 6-SIP24–26 AWG signalMeasures mattress pressure$17–20 eachBuy
1Power supplyMean Well LRS-75-1212V, 6A AC-to-DCscrew terminals18 AWG AC in, 18–20 AWG DC trunkPowers low-voltage system$14–25Buy
1Buck converterLM2596 module12V to 5V adjustablescrew terminal or pin header20–22 AWG in, 22–24 AWG outPowers ESP32$5–10Buy
4MOSFETIRLZ44NPBF / IRLZ44Nlogic-level N-channelTO-22020–22 AWG load path, 24–26 AWG gateDrives valves$1–2 eachBuy
1RelayOmron G2R-1A-E DC12 or relay module12V coil, AC-rated contactsthrough-hole or module terminals18 AWG AC load side, 24–26 AWG controlSwitches pump live$5–10Buy
6Flyback diode1N40071A rectifier diodethrough-hole axialshort local leadsSuppresses coil spikes<$1 totalBuy
4Gate resistor220Ω resistor1/4W through-holethrough-hole axial24–26 AWG if leaded off-boardGate stabilitynegligibleBuy
4Gate pulldown resistor10kΩ resistor1/4W through-holethrough-hole axial24–26 AWG if leaded off-boardKeeps MOSFET off at bootnegligibleBuy
2LED resistor330Ω resistor1/4W through-holethrough-hole axial24–26 AWGProtects LEDsnegligibleBuy

6.3 Wiring and Connectors

QtyPart NameRecommended ModelSpecificationConnector / PortRecommended WireDescription / PurposeEst. PricePurchase Link
1AC inletSchurter 4304.6090AC input with fuse and switchIEC C14 / quick-connect tabs18 AWG mainsSafe mains entry$15–17Buy
as neededWAGO connectorsWAGO 221 serieslever connector2- or 3-conductor lever nuts18–22 AWGLow-voltage distributionvariesBuy
as neededFerrulesferrule assortment18–26 AWGcrimp ferrulesmatch wire gaugeTerminal safetyvariesBuy
as neededQuick disconnectsinsulated spade terminalsAC ratedspade / Faston18 AWGAC wiringvariesBuy
1PerfboardAdafruit Perma-Proto 1609 or similarFR4 prototyping board0.1 inch hole gridn/aMOSFET + relay assembly$10–18Buy
as neededAC wirestranded wire18 AWGbare / ferruled / terminated18 AWGMains wiringvariesBuy
as neededPower wirestranded wire20–22 AWGbare / ferruled / terminated20–22 AWGValves / relay coilvariesBuy
as neededSignal wirestranded wire24–26 AWGjumper / hookup wire24–26 AWGLogic / sensorsvariesBuy

6.4 UI and Enclosure

QtyPart NameRecommended ModelSpecificationConnector / PortRecommended WireDescription / PurposeEst. PricePurchase Link
2–4Pushbuttonmomentary pushbuttonpanel mountsolder lugs or terminals24–26 AWGSetup / mode / test inputvariesBuy
2LED5mm LEDstandard indicatorthrough-hole leads24–26 AWGStatus / error indicationvariesBuy
1Buzzerpiezo buzzer3–5V or suitablethrough-hole or leaded24–26 AWGOptional feedbackvariesBuy
1Enclosureproject boxsized for pump + electronicsn/an/aMain housingvariesBuy
4Rubber mountsisolation feet or grommetssoft mountingmechanical mountn/aPump vibration reductionvariesBuy
1Strain reliefcable glandAC ratedpanel mount gland18 AWG mains cableSafer mains entryvariesBuy

6.5 Required Tools and Setup Items

QtyItemRecommended TypeDescriptionPurposePurchase Link
1ComputerWindows / macOS / Linuxdevelopment workstationProgramming and monitoring the ESP32n/a
1USB cabledata-capable USB cablenot charge-onlyESP32 programming and serial monitoringBuy
1Multimeterdigital multimeterbasic voltage and continuity measurementVoltage setup and wiring verificationBuy
1Arduino IDEsoftwarefree development environmentUpload test code and open Serial MonitorDownload
optionalPlatformIOsoftwarealternative development environmentAdvanced development workflowDownload
as neededJumper wiresmale/female assortmenttemporary prototyping leadsEarly wiring and testingBuy
DIY Air Mattress Controller V1 • Open Source Project