Coder Social home page Coder Social logo

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/

esp32-beehive-wifi-2's People

Contributors

vitzaoral avatar vzaoral avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hooface

esp32-beehive-wifi-2's Issues

Ticker library

Hi,

I'm trying to setup my development environment for this and for the first version and Ticker library is included from esp32

Ticker.h - esp32 library that calls functions periodically
Copyright (c) 2017 Bert Melis. All rights reserved.

which has completely different API than the one you're using.
example:

src/main.cpp:34:27: error: 'class Ticker' has no member named 'start'
   timerSendDataToInternet.start();

Can you please clarify what lib is used ?

Thanks for your work, i'm trying to achieve the same, a beehive monitoring system on a esp32-cam board. Can't say i'm esp32/C++ expert so please bare with me. :)

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.