Skip to content

Pressure monitoring DIY project using Kypruino UNO+ MCU board

Notifications You must be signed in to change notification settings

mikew777/KypruinoPressureMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DIY Pressure Monitor (air | water | gas | oil) ๐ŸŽ›๏ธ

A beginner-friendly, configurable pressure monitoring system using Kypruino UNO+ board (or Arduino Uno R3) with real-time readings, 5-minute statistics, visual feedback and alarms with settings menu.

Photo in enclosure installed on compressor

โ“ Why Build Your Own Pressure Monitor?

Whether youโ€™re a weekend DIYer, a small workshop owner or running a commercial serviceโ€”knowing your systemโ€™s pressure at a glance pays off:

  • ๐Ÿ  Home & Hobby Use

    • Pneumatic tools (nail guns, impact wrenches, spray guns): keep exactly 6.3 bar under load to avoid mis-fires, paint runs or tool wear
    • Airbrush artists: maintain steady 1โ€“2 bar for flawless finishes and less overspray
    • Aquarium & irrigation: monitor water line pressure to protect pumps and avoid leaks
  • โš™๏ธ Professional & Industrial

    • Auto-service shops: verify consistent tire-inflation pressure or pneumatic lifts, reduce customer comebacks
    • HVAC & heating systems: track antifreeze (tะพัะพะป) or hot-water loop pressure to prevent bursts and optimize energy use
    • Oil & gas applications: safeguard low-pressure piping, detect slow leaks early and avoid costly downtime
  • ๐Ÿ”’ Safety & Savings

    • Sound alarms on under- or over-pressure keep your equipmentโ€”and youโ€”safe
    • 5-minute stats reveal hidden dips in supply that cause poor tool performance or wasted energy
    • Color LEDs give instant โ€œOK/not-OKโ€ feedback from across the garage or plant

Build it once, customize it forever! This DIY monitor adapts to any sensor and any mediumโ€”air, water, oil or gasโ€”so youโ€™ll always know that your system is running at just the right pressure.

Air tool use case example - photo 1 Air tool use case example - photo 2

๐Ÿ“‹ Features

  • ๐Ÿ“บ Screen based interface including settings menu
  • ๐Ÿ•‘ Instant readings with accurate data using algorythm to clean sensor's data noise
  • ๐Ÿ“Š 5-minute stats: minimum, average & maximum
  • ๐Ÿ”” Custom alarm thresholds with buzzer alerts
  • ๐ŸŒˆ Color LEDs: blue โ†’ yellow โ†’ red for 0 โ†’ 4 โ†’ 8 bar
  • ๐Ÿ”„ Optimized OLED updatesโ€”only redraw changed regions
  • ๐Ÿ’พ EEPROM-friendlyโ€”writes thresholds only on change
KypruinoPressureMonitor on Vimeo

๐Ÿ“ Bill of Materials

Item Qty Notes
Enclosure 1 Datasheet
USB-C power supply 1 Robo Store
Kypruino UNO+ v0.6 (or Arduino Uno R3) 1 Robo Store
Analog pressure sensor (0โ€“8 bar) 1 Aliexpress
Juliet cable (3-pin, used 4-pin) 1 Aliexpress
Compressor adapter size 1 Aliexpress
Compressor adapter splitter 1 Aliexpress
Solder header pins 4 Robo Store
128ร—32 IยฒC OLED display 1 Robo Store

๐Ÿ› ๏ธ Hardware Setup (for Kypruino UNO+)

  1. Power & Ground

    • USB-C power cable โ†’ USB-C socket
  2. Pressure Sensor

    • VCC โ†’ 5 V
    • GND โ†’ GND
    • OUT โ†’ A2
  3. OLED (IยฒC)

    • just plug into a special screen socket of your Kypruino UNO+

If you are using a plain Uno R3, you have to wirie external buttons, LEDs & buzzer (scheme will be added later).

Wiring of the Kypruino UNO+

๐Ÿ’ป Software & Configuration

  1. Clone & open the Arduino sketch.
  2. Adjust sensor parameters if you are using a different pressure sensor (usually provided with a sensor in its documentation):
    const float V_MIN    = โ€ฆ;   // sensor's voltage output at 0 PSI pressure 
    const float V_MAX    = โ€ฆ;   // sensor's voltage output at max pressure
    const float PSI_MIN  = โ€ฆ;   // base pressure of the sensor (usually 0 PSI)
    const float PSI_MAX  = โ€ฆ;   // maximum pressure of the sensor (in PSI)
    
  3. Upload the sketch to your board.
  4. Set alert thresholds:
    • Press any of the Kypruino's on-board buttons โ†’ enter config mode
    • Use B and D buttons as +/โ€“ to adjust maximum threshold (in 0.1 bar steps)
    • Use C and A buttons as +/โ€“ to adjust minimum threshold (in 0.1 bar steps)
    • Wait 5 s without presses โ†’ exit & auto-save to EEPROM

Quick disable: use on-board switches to mute the buzzer or disable LEDs.


โš™๏ธ Optimizations implemented in the code

  • Partial screen redraws for perfomance and UI smoothness: only changed regions are sent over IยฒC
  • EEPROM-friendly: writes thresholds only once upon exit from config mode and only if it changed

๐Ÿš€ Possible Upgrades

  • ๐Ÿ”Š External buzzer: connect a louder piezo to the same pin and disable the on-board buzzer
  • ๐ŸŒŸ Extended NeoPixel strip: solder and drive an external LED strip for bolder visual feedback
  • ๐Ÿ“ˆ Data logging: add an SD card module or serial output for long-term pressure trend analysis (in future updates of this project we may add cloud data sharing support)

๐Ÿ–ผ๏ธ Visual Reference

See the /images folder for setup photos, wiring diagrams & deployment shots.


๐Ÿ“œ License

This project is licensed under the MIT License.

About

Pressure monitoring DIY project using Kypruino UNO+ MCU board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages