GithubHelp home page GithubHelp logo

vitzaoral / esp32-beehive-wifi-2 Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 8.6 MB

Second version of the ESP32 beehive controller

C++ 93.18% C 6.82%
esp32 platformio blynk beehive-monitoring iot sht3x ina219 gy-max4466 solar-system

esp32-beehive-wifi-2's Introduction

ESP32 beehive (WiFi version)

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

Features

  • 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

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

Circuit

Circuit

Circuit

Circuit

Circuit

Powering 5V -> 3.3V:

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.