Skip to content

Instantly share code, notes, and snippets.

@ItKindaWorks
ItKindaWorks / powerMon.fzz
Last active February 20, 2023 14:56
A simple arduino and ESP8266 program to read and average 2 current transformers and a voltage transformer for monitoring whole house power usage.
@CircuitSetup
CircuitSetup / smart_watering_v2.ino
Last active June 15, 2018 20:48
Arduino Smart Watering with 4 water sensors & solenoids
//******************************************************************************************
// File: smart_watering_v2.ino
// Author: John deGlavina
//
// The following sketch is used to water a garden depending on the readings of 4 moisture sensors.
// These moisture sensors correspond to 4 solenoid valves that will open when the water_threshold
// falls below the percentage that is set. When the threshold is reached again, the solenoid will
// close. The level of the moisture sensors will be checked every check_interval concurrently.
//
// The original setup uses a DF Robot 4 relay shield, moisture sensors v1.2 (found on ebay),