Code Monkey home page Code Monkey logo

gas-blending's Introduction

Welcome to DiveTools Gas Blending

This tool is for testing and educational use.  

It is not intended to confirm the mix of breathing gases.  If this tool is used a separate test is needed with an appropriate and calibrated and tested O2 and He sensor.

This tool will provide information for mixing Air, O2, and He with a SCUBA compressor.  The intended use is to have two O2 sensors that are able to calculate a mix before it goes into a compressor.  Two "Nitrox" sticks are used in series.  One to mix in He and one to mix in O2.  The tool can also be used as a nitrox analyser.

To Install this tool:

  • Install latest Raspberry Pi OS with desktop.(2021-05-07-raspios-buster-armhf.img Tested)
  • Under Raspberry Pi Configuration --> Interfaces --> Enable "I2C"
  • pip install Adafruit_ADS1x15
  • sudo apt-get install python3-tk
  • git clone git://github.com/divetools/Gas-Blending.git
  • ln -s ~/Gas-Blending/HEALTH.desktop ~/Desktop/HEALTH.desktop
  • Open File Manager --> Select Edit --> Preferences --> General Tick the option "Don't ask options on launch executable file"
  • Wire up an Adafruit ADS1115 to the pi I2C GPIOs. Connect two O2 sensors to port 0 and 1 on the ADS.

    Hardware Components:

    2021 Update - In an effort to reduce cost, I designed a new hardware case for the project.  This case is 3D printed and will reduce the cost of the project.  The STL's can be found at https://www.thingiverse.com/thing:4892104 for download and printing.

    Part Name QTY Price Link
    Raspberry Pi 3 B+ Motherboard 1 $55.96 Amazon
    Raspberry Pi 3 Power Supply 5V 2.5A 1 $9.99 Amazon
    HiLetgo ADS1115 16 Bit 1 $6.99 Amazon
    Micro SD Flash Drive 1 $13.89 Amazon
    Raspberry Pi Official 7 Inch Touch Screen 1 $69.99 Amazon
    3.5mm Stereo Jack 4 $3.20 Amazon
    Total: $160.02

     

    Build Pictures:

         

       

     

     

gas-blending's People

Contributors

divetools avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gas-blending's Issues

RPI 4

Hi,

is it working with RPI 4?

Thanks,

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.