Beehives online monitoring based on the ESP32 and others sensors. WiFi version.
To build a project, you need to download all the necessary libraries and create the settings.cpp file in the src folder:
// Project settings
#include "IPAddress.h"
struct Settings
{
const char *wifiSSID = "YYY";
const char *wifiPassword = "ZZZ";
const char *version = "1.0.0";
const char *firmwareVersionUrl = "http://example.com/version.txt";
const char *firmwareBinUrl = "http://example.com/firmware.bin";
IPAddress ip = IPAddress(192, 168, 43, 223);
IPAddress gateway = IPAddress(192, 168, 43, 1);
IPAddress subnet = IPAddress(255, 255, 255, 0);
};
- measuring the temperature and humidity inside the hive
- measuring the sound level inside the hive
- triggers an alarm (Blynk notification) when someone opens the hive - a magnetic contact sensor
- triggers an alarm (Blynk notification) when someone picks up the hive - a magnetic contact sensor
- ESP32-WROOM-32U
- 3x SHT30 digital temperature/humidity sensor
- 2x INA219 sensor
- 3x GY-MAX4466 microphone
- 3x Magnetic contact sensor
- 12V MPPT Solar Panel Controller for 18650 Battery
- 1x - 4x 3.7v 3400 mAh 18650 Lithium battery
- Solar panel 12V 12W (or 2x 6V 6W panels in series)
- 3x 9 pins COM cabels and some male/female connectors
- Set CPU frequency to 30% (80Mhz) - setCpuFrequencyMhz(80);
- Setup lowest WiFi power - WiFi.setTxPower(WIFI_POWER_MINUS_1dBm);
- Setup static IP, Gateway and DNS (quicker WiFi connection) - WiFi.config(settings.ip, settings.gateway, settings.subnet, settings.gateway);
- When disconnect WiFi, turn off WiFi modem - WiFi.disconnect(true);
3v3 regulator - https://randomnerdtutorials.com/esp8266-voltage-regulator-lipo-and-li-ion-batteries/