This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Adafruit_SHTC3.h" | |
Adafruit_SHTC3 shtc3 = Adafruit_SHTC3(); | |
void setup() { | |
Serial.begin(115200); | |
Serial.println("SHTC3 test"); | |
if (! shtc3.begin()) { | |
Serial.println("Couldn't find SHTC3"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Senses_wifi_esp32.h" | |
#include "DHT.h" | |
#define PUMP_PIN 13 | |
#define DHTPIN 32 | |
#define DHTTYPE DHT22 | |
int control_port = 1; | |
DHT dht(DHTPIN, DHTTYPE); | |
const char *ssid = "xxxx"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Senses_wifi_esp32.h" | |
#define pump_pin 13 | |
const char *ssid = "your-wifi-network-name"; | |
const char *passw = "your-wifi-password"; | |
const char *userid = "your-senses-user-id"; /* You can get it at https://www.sensesiot.com/accountinfo */ | |
const char *key = "your-device-key"; /* You can get it at https://www.sensesiot.com/myiotgarage */ | |
String response; | |
int control_pump = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Senses_wifi_esp32.h" | |
#include "DHT.h" | |
#define DHTPIN 32 | |
#define DHTTYPE DHT22 | |
DHT dht(DHTPIN, DHTTYPE); | |
const char *ssid = "your-wifi-network-name"; | |
const char *passw = "your-wifi-password"; | |
const char *userid = "your-senses-user-id"; /* You can get it at https://www.sensesiot.com/accountinfo */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Senses_wifi_esp32.h" | |
#include "DHT.h" | |
#define PUMP_PIN 13 | |
#define DHTPIN 32 | |
#define DHTTYPE DHT22 | |
int control_port = 1; | |
DHT dht(DHTPIN, DHTTYPE); | |
const char *ssid = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Senses_wifi_esp32.h" | |
const char *ssid = ""; | |
const char *passw = ""; | |
const char *userid = ""; | |
const char *key = ""; | |
Senses_wifi_esp32 myiot; | |
String response; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
#define pump 2 // Arduino Nano 2 <-----> IN Relay | |
#define txPin 3 // Arduino Nano 3 <-----> Rx HC12 | |
#define rxPin 4 // Arduino Nano 4 <-----> Tx HC12 | |
SoftwareSerial HC12(rxPin, txPin); | |
long baud = 9600; | |
void setup() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Senses_wifi_esp32.h" | |
#include <SoftwareSerial.h> | |
const char *ssid = "BOOM_WiFi"; | |
const char *passw = "076434654"; | |
const char *userid = "..."; | |
const char *key = "....."; | |
String response; | |
bool current_state = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Senses_wifi_esp32.h" | |
#define led_pin 13 | |
const char *ssid = "BOOM_WiFi"; | |
const char *passw = "076434654"; | |
const char *userid = "..."; | |
const char *key = "......."; | |
String response; | |
int control_port = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Senses_wifi_esp32.h" | |
#define led_pin 13 | |
const char *ssid = "BOOM_WiFi"; | |
const char *passw = "076434654"; | |
const char *userid = "122"; | |
const char *key = "p3itsvhtzzj7"; | |
String response; | |
int control_port = 1; |