Giter VIP home page Giter VIP logo

vacuum-meter's Introduction

About

This project was based on a device done by Denis Tauvel (LINK). I improved the code, leaving the menu design almost the same.

Install requirements

  • Arduino IDE >= 1.8
  • CMake >= 3.20

Parts

  • Arduino nano with ATmega168P
  • Encoder with a button (or a separate button)
  • Two pressure sensors MPX4250PA
  • 2x16 LCD with I2C communication (I2C adapter board)

Connections

  • A0 - pressure sensor
  • A1 - pressure sensor
  • A4 - I2C SDA
  • A5 - I2C SCL
  • D2 - encoder A
  • D3 - encoder B
  • D8 - encoder button

Basic funtions

Synchronization

The LCD show two input values in mbar. If both values are the same, then the graph bar is set to 50%, otherwise it will be greater or smaller.

Vacuum

Only first input is used here.

The visible value is a difference between the first input value and the atmospheric pressure value (stored during calibration process).

Absolute pressure

Only first input is used here.

Lcd shows first input value in mbar and mmHg.

Calibrate

Calibration is done automatically when the device starts. By using this function you will override the previously stored values. The atmospheric pressure and a delta between inputs are stored in the memory. Delta is used to compensate any differences between the sensor readings for the same conditions.

Commands

Configure

mkdir _build
cd _build/
cmake ..

Build

cd _build
cmake --build .

Flash

cd _build
make VacuumMeter_flash

vacuum-meter's People

Contributors

wgrs33 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.