Atlas WiFi Hydroponics Meter

Introduction: Atlas 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 show you how to set up the WiFi Hydroponics kit from Atlas Scientific. The meter measures pH, conductivity, and temperature. Data is uploaded to the ThingSpeak platform, where it can be monitored remotely via a mobile device or computer.

For detailed information on this kit, refer to its datasheet by clicking HERE.


  • 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.



Step 1: Setup a ThingSpeak Account

Because the sensor data is stored/viewed on ThingSpeak, you will need to setup a ThingSpeak account. Create your ThingSpeak account by clicking HERE.

Step 2: Create a Channel

Your data is uploaded to ThingSpeak through a 'Channel.' Select New Channel

Fill out the highlighted boxes. (Be sure to click on the checkboxes to enable field 2 and 3). For reference, this is what we entered.

Name Atlas Sensors

Field 1 pH

Field 2 EC (μS/cm)

Filed 3 Temp (°C)

Scroll to the bottom of the page and click Save Channel

Step 3: Get ThingSpeak API Keys

After you saved your channel settings, you will be redirected to your channel page. Click on API keys

Be sure to save your Channel ID and Write API Key. We are going to need these in the next few steps.

Step 4: Make Sure Your Arduino IDE Libraries Are Up to Date

A. Make sure you have the correct path for the Esp8266 Library

In the IDE, go to File>Preferences

Locate the Addition Boards Manager URLs text box.

Make sure this URL is in the textbox

Click OK

Step 5: Make Sure Your Arduino IDE Libraries Are Up to Date

B. Update the esp8266 board

In the IDE, go to Tools > Board > Boards Manager

In the search bar of the Boards Manager, lookup esp8266. Update to the most recent version if you don't already have it. (Version 2.6.3 is not the most recent version)

Step 6: Make Sure Your Arduino IDE Libraries Are Up to Date

C. Download the ThingSpeak library for Arduino

Click HERE to download the latest version of the ThingSpeak library.

Don't unzip it!

Import the .ZIP file into your Arduino IDE by going to Sketch > Include Library > Add .ZIP Library

Step 7: Make Sure Your Arduino IDE Libraries Are Up to Date

D. Add the EZO I2C library

To download the Ezo_I2c library file, click HERE.

Don't unzip it!

Import the .ZIP file to your Arduino IDE. To import the .ZIP file go to Sketch > Include Library > Add .ZIP Library

Step 8: Flash the Hydroponics Meter With the Correct Code

A. Select, open, and adjust the code you want to use for your Wi-Fi Kit

File> Examples> EZO_I2C_lib-master> Examples> IOT_kits>

You have two choices of code: Hydroponics_kit or Hydroponics_kit_with_DO

(The "with DO" version is for people who want to add dissolved oxygen)

Step 9: Flash the Hydroponics Meter With the Correct Code

B. Fill in your Wi-Fi / ThingSpeak credentials

Fill in your Wi-Fi name and password, along with the Channel ID and Write API Key to the code.

Step 10: Flash the Hydroponics Meter With the Correct Code

C. Setting up your pump

If you do not have a pump attached, you can just skip this part. The code is rather self-explanatory. You set what parameters will trigger the pump to engage.

Step 11: Setting Up the HUZZAH Board

A. Set the target CPU to flash

Tools> Board> Adafruit Feather HUZZAH ESP8266

Step 12: Setting Up the HUZZAH Board

B. Adjust CPU Settings

Make sure the CPU settings on the Adafruit Feather HUZZAH ESP8266 are correct. To adjust the CPU settings, click Tools.

For reference, this is what Atlas Scientific set the CPU settings to.

(Your options may not be exactly the same, just try and match them as closely as possible)

Step 13: See the Readings

Open your Arduino serial monitor (You must have the serial monitor set to the com port of the Adafruit Feather HUZZAH). Set to carriage return and 9600 baud.

The Wi-Fi Hydroponics Meter will always attempt to connect to ThingSpeak on bootup.

Entering the poll command will stop the Wi-Fi Hydroponics Meter from uploading the readings to ThingSpeak, while you debug your WiFi problems.

Step 14: Sensor Calibration

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.

A. The poll command

Send the command poll. This will let you see the readings once per second and it will stop uploading to ThingSpeak while you calibrate.

Step 15: Sensor Calibration

B. Calibrate pH

When calibrating pH, you must always calibrate to pH 7 first.

Remove the soaker bottle and rinse off the pH probe. Remove the top of the pH 7.00 calibration solution pouch. Place the pH probe inside the pouch and let the probe site in the calibration solution until the readings stabilize. This will take 1 - 2 minutes.

Once the readings have stabilized, issue the midpoint calibration command ph:cal,mid,7

Rinse off the probe and repeat this process for both pH 4.00 and pH 10.00

Step 16: Sensor Calibration

C. Calibrate Conductivity

The K1.0 probe is being calibrated below.

When calibrating conductivity, you must always calibrate a dry probe first. Make sure that the probe is dry before issuing his command, ec:cal,dry

Once the dry calibration has been completed, place the probe into a small cup of the 12,880μS calibration solution. Shake the probe to make sure you do not have trapped air bubbles in the sensing area. You should see readings that are off by 1 - 40% from the stated value of the calibration solution. Wait for the readings to stabilize.

When the readings stabilize, issue the low point calibration command ec:cal,low,12880 The readings will not change.

Rinse the probe before calibrating to the high point. Pour a small amount to the 80,000μS calibration solution into a cup. Shake the probe to remove trapped air. Again, the readings may be off by 1 - 40%. Wait for the readings to stabilize.

Once the readings stabilize, issue the high point calibration command ec:cal,high,80000. The readings will change, calibration complete.

Step 17: Sensor Calibration

Calibrating the pt-1000 temperature probe is not required. However, if you want to, a simple method is to place the pt-1000 probe into boiling water. Then issue command rtd:cal,t where t = temperature value.

Step 18: Almost Done

Once you have finished with calibration, issue the datalog command to resume taking a reading every 15 seconds and uploading it to ThingSpeak.

To see the data on your phone, download the ThingSpeak app.

Step 19: Supplementary: How to Add Dissolved Oxygen to the Meter

For instructions, click HERE

Be the First to Share


    • Summer Fun: Student Design Challenge

      Summer Fun: Student Design Challenge
    • DIY Summer Camp Contest

      DIY Summer Camp Contest
    • Backyard Contest

      Backyard Contest



    1 year ago

    Hey I have the hydroponics kit and the DO ezo board + sensor. Unfortunately there are no instruction on how to add a sensor to the free slot. Is there anything out there or am I on my own?


    Question 1 year ago on Step 18

    How hard would it be to switch out the EC part of this for DO to handle aquaponics systems?


    Reply 1 year ago

    Thanks for this information - thought that would be the case but wanted to make sure. I already have everything to do the build for the other Atlas Scientific Wifi Hydro Meter but with the EZO DO circuit

    I can now get started on this build as I have 3 aquaponic systems I want to monitor and this is the last sensor set I needed to have a fully IoT configuration.