Microfire LLC
Published © MIT

IoT Hydroponics - Using Adafruit IO for EC and pH

Monitor EC, pH, and temperature of a hydroponics setup and upload the data to Adafruit's IO service.

BeginnerFull instructions provided30 minutes1,924
IoT Hydroponics - Using Adafruit IO for EC and pH

Things used in this project

Story

Read more

Schematics

ISE Schematics

Design files for the ISE Probe Interface Board

Code

Code snippet #2

Plain text
#include "AdafruitIO_WiFi.h"#include "ISE_pH.h"
#include "ECSalinity.h"

ISE_pH pH(19, 23);
EC_Salinity mS(19, 23);

AdafruitIO_WiFi  io("Username", "Active Key", "WiFi SSID", "Wifi password");
AdafruitIO_Feed *ph   = io.feed("pH");
AdafruitIO_Feed *temp = io.feed("C");
AdafruitIO_Feed *ec   = io.feed("mS");

void setup() {
  io.connect();
  mS.setK(1.0);
}

void loop() {
  io.run();

  ph->save(pH.measurepH());
  delay(3000);
  temp->save(pH.measureTemp());
  delay(3000);
  ec->save(mS.measureEC());
  delay(3000);
}

Github

https://github.com/espressif/arduino-esp32

Credits

Microfire LLC

Microfire LLC

12 projects • 76 followers
Creator of water quality sensors. Add the ability to measure pH, ORP, EC or salinity to your Arduino or Raspberry Pi project.

Comments