How to Add Dissolved Oxygen to the WiFi Hydroponics Meter

Introduction: How to Add Dissolved Oxygen to the WiFi Hydroponics Meter

About: Founded in 2005, Atlas Scientific specializes in building laboratory grade sensing equipment for robots, appliances, and industrial control systems. Thousands of Atlas Scientific sensors can be found in a wide…

This tutorial will demonstrate how to add the EZO D.O circuit and probe to the WiFi Hydroponics Kit from Atlas Scientific.

It is assumed that the user has the wifi hydroponics kit working and is now ready to add dissolved oxygen.

WARNINGS:

  • Atlas Scientific does not make consumer electronics. This equipment is intended for electrical engineers. If you are not familiar with electrical engineering or embedded systems programming, this product may not be for you.
  • This device was developed and tested using a Windows computer. It was not tested on Mac, Atlas Scientific does not know if these instructions are compatible with a Mac system.

Hardware:

Software/Programs:

Step 1: Create a Field for Dissolved Oxygen Data

Go to your channel in ThingSpeak.

Select Channel Settings and click on the checkbox to enable field 4

Fill in the box for field 4. For reference, we entered DO (mg/L)

Scroll to the bottom of the page and click Save Channel

Step 2: Set D.O Circuit to I2C

The simplest way to set the D.O circuit to I2C mode is with the I2C Toggler

  1. Set the switch on the toggler towards DO.
  2. Insert the D.O circuit
  3. Plug the I2C toggler into USB port/cable
  4. Press and hold button for about 1 second
  5. Release after color change: Green = UART, Blue = I2C

Step 3: Add D.O Circuit and Probe to Meter

After you have put the circuit in I2C mode, insert it into the AUX port of the hydroponics meter and connect the probe to the corresponding SMA connector.

Step 4: Flash the Meter With the Correct Code

In the Arduino IDE go to File> Examples> EZO_I2C_lib-master> Examples> IOT_kits> and choose Hydroponics_kit_with_DO

Add your Wi-Fi name, Wi-Fi password, ThingSpeak Channel ID, and ThingSpeak Write API Key to the code.

Set your IDE to the correct target CPU: Tools > Board > Adafruit Feather HUZZAH ESP8266

Set the correct port where the CPU is connected. For example, it is connected to COM107: Tools > Port > COM107

Compile and upload the code.

Step 5: Calibrate D.O Probe

Atlas Scientific created a list of calibration commands that are built into the library. Type in help in the serial monitor to see the list of commands.

Send the command poll. Readings will be taken continuously and uploading to ThingSpeak will terminate.

Onto calibrating the dissolved oxygen probe. The EZO D.O circuit has a flexible calibration protocol, allowing for a single point or dual point calibration.

Single Point Calibration

Let the dissolved oxygen probe sit, exposed to air until the readings stabilize (small movement from one reading to the next is normal).

Once the readings have stabilized, issue the command do:cal

Dual Point Calibration (optional)

Only perform this calibration if you require accurate readings below 1.0 mg/L.

After you have finished the single point calibration, place the probe into the zero dissolved oxygen solution and stir the probe around to remove trapped air. Let the probe sit in the solution until the readings stabilize (small movement from one reading to the next is normal).

Once the readings have stabilized, issue the command do:cal,0

Step 6: Upload to ThingSpeak

To resume taking a reading every 15 seconds and uploading it to ThingSpeak issue the datalog command.

Be the First to Share

    Recommendations

    • DIY Summer Camp Contest

      DIY Summer Camp Contest
    • Water Speed Challenge

      Water Speed Challenge
    • Backyard Contest

      Backyard Contest

    Comments