Miscellany

DIY Nitrox Analyzer

Forget about ancient analog potentiometer circuit and build your own digital O2 analyzer based on Arduino compatible board!

Part list
  • Arduino nano compatible board (or any other Arduino board will do)
  • ADS1115 16 Bit DAC Module (the ADS1115 provides 16-bit precision at 860 samples/second over I2C!)
  • LCD 1602 I2C module
  • 1 Push button
  • O2 sensor (I use old cell from my CCR but you can get sensor from Teledyne, Maxtec or other manufacturer)
  • Connector for o2 sensor
Wiring

ADS1115

  • VDD to 5v
  • GND to Ground
  • SCL to A5 (nano)
  • SDA to A4 (nano)

LCD 1602 + I2C module

  • GND to Ground
  • VCC to 5v
  • SCL to A5 (nano)
  • SDA to A4 (nano)

Push button

  • 1 pin to Ground
  • 2 pin to D2 (nano)

Oxygen sensor

  • positive to A0 ADS1115
  • negative to A1 ADS1115

The source

o2_analyzer.ino

Additional library require.

The code is very simple. Calibration and storing millivolt output from o2 sensor (in the air – o2 20.9%) when button is pressed.

Oxygen percentage and millivolt of sensor will display on LCD.

Note
  • In many case i2c device address are different from the code. If something  not working then check your i2c address (ads1115 and lcd module) using i2c scanner.
Update 28th Feb 2017
  • Reading sensor function changed from Single Ended to Differential Conversion. Sensor out should be connected to A0 & A1 (ads1115) accordingly.
Update 22th Feb 2017
  • Button need push & hold for 2 sec to calibration.
  • Display MOD (Maximum Operating Depth) : po2 1.4 & 1.6
Eunjae Im

View Comments

Recent Posts

바닷속에 치과/피부과가 있다? 내셔널지오그래픽 다큐 감독의 바다 이야기

https://youtu.be/C5ub-2du6MI 바닷속에 치과/피부과가 있다? 바닷속의 치과/피부과 클리닝 스테이션(clearing station), 해양 생물의 공생, 기생 그리고 편리공생에…

10 months ago

물고기도 말을 할까?

https://youtu.be/xJC2CmJOYCY 물고기들도 말을 할까요? 수중 생물들은 어떤 소리를 낼까요? 수중에서 소리 녹음에 관한 이야기도 같이…

3 years ago

Volca Drum + DIY Arduino Midi Clock + Effects

https://youtu.be/vhgJNg8MuMw I added some effects (PO like?) to my DIY arduino midi clock. All effects…

3 years ago

How to use USB MIDI keyboard with NTS-1 or Volca?

https://youtu.be/w0S2LI26fGk How to use USB MIDI keyboard such as a Arturia MiniLab with Korg NTS-1…

3 years ago

Sidechain Gate & Compressor in REAPER

https://youtu.be/ZV4MI0iQF8M This is how I use sidechain gate & compressor in REAPER.

3 years ago

DAW Audio Output (ASIO) into OBS Studio for Live Streaming

https://youtu.be/2NfxFDVchmg Live streaming DAW music production using a OBS Studio but keep using a ASIO…

3 years ago