Code Monkey home page Code Monkey logo

esp32-watchman's Introduction

ESP32-Watchman

Work in progress...

PoE-powered remote facility monitor that scans for and alerts on nearby Bluetooth devices, optionally alerting on motion

Requirements

  1. M5Stack AtomPoE Base W5500, currently $18.50 USD
  2. M5Stack Atom S3 Lite, currently $7.50 USD
  3. Either:

Cost Analysis

Total cost per assembly: Under $32 plus tax and shipping
Programming time per unit: < 10 minutes

Device Capability Comparison

This project generates Syslog notifications for all detected activity. A re-flash/re-programming is required to modify any configuration options:

  • Host name
  • Device IP and subnet
  • IP gateway
  • Syslog server
  • NTP server
  • Bluetooth detection thresholds

Programming

Once you've successfully programmed a single unit, skip step 1. Repeating this process takes 5 minutes from start to finish.

  1. Set up your Arduino programming environment
  2. In Arduino, open the project file (PoESP32-Watchman.ino)
    • Edit the configuration parameters at the very top of the file.
    • Select Tools->Board->esp32 and select "ESP32 S3 PowerFeather"
  3. From your computer, plug a USB C cable into the Atom S3 Lite pic

Warning

Do not plug the device into Ethernet until after step 7 or you risk damaging your USB port!

  1. Push the button on the side of the Atom S3 Lite for 3 seconds. You will see a blue LED briefly light up.
    • The device is now in bootloader mode
  2. In Arduino
    • Select Tools->Port and select the Atom S3 device (usually usbmodem 101 on MacOS)
      • If you're unsure, unplug the Atom S3, look at the port list, then plug it back in and select the new entry (repeating step 5)
    • Select Sketch->Upload to flash the device
    • When you see something similar to the following, proceed to step 7
      Writing at 0x000d0502... (100 %)
      Wrote 790896 bytes (509986 compressed) at 0x00010000 in 8.9 seconds (effective 714.8 kbit/s)...
      Hash of data verified.
      
      Leaving...
      Hard resetting via RTS pin...
      
  3. Unplug the Atom S3 Lite from your computer
  4. Plug in the desired sensor module pic
  5. Connect the assembly to a PoE network port and mount as appropriate
  6. Configure your Syslog alerting as appropriate

Guidance and Limitations

Technical Information

  • Operating Specifications
    • Operating temperature: 0°F (-17.7°C) to 140°F (60°C)
    • Operating humidity: 5% to 90% (RH), non-condensing
  • Motion Sensor Range
    • Up to 3.5 meters
  • Light Sensor Range
    • 1 lux minimum
  • Power Consumption
    • 6W maximum via 802.3af Power-over-Ethernet
  • Ethernet
    • W5500 PHY
    • 10/100 Mbit twisted pair copper
    • IEEE 802.3af Power-over-Ethernet

esp32-watchman's People

Contributors

xorlent avatar

Watchers

 avatar

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.