vitzaoral / esp32-beehive-wifi

Beehive online monitoring based on the ESP32 and others sensors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 beehive (WiFi version)

Beehives online monitoring based on the ESP32 and others sensors. WiFi version.

πŸš€ 12.2022 - UPDATE TO BLYNK 2.0 πŸš€

Project was updated to the new version of Blynk 2.0

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 *imageUploadScriptUrl = "http://example.com/upload.php";
    const char *version = "2.0.0";
    // IPAddress ip = IPAddress(192, 168, 43, 223);
    // IPAddress gateway = IPAddress(192, 168, 43, 1);
    // IPAddress subnet = IPAddress(255, 255, 255, 0);
};

Features

  • measuring the temperature and humidity inside the hive measuring the temperature, humidity and pressure outside the hive
  • triggers an alarm (SMS/call/notification) when someone opens the hive - gyroscope sensor
  • triggers an alarm (SMS / call / notification) when someone picks up the hive - a magnetic contact sensor
  • audio transmission via SMI800L - mobile phone call

Currents list:

Save battery power:

  • 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);

Schema:

Schema

Powering 5V -> 3.3V:

3v3 regulator - https://randomnerdtutorials.com/esp8266-voltage-regulator-lipo-and-li-ion-batteries/

About

Beehive online monitoring based on the ESP32 and others sensors.


Languages

Language:C++ 100.0%