Skip to content

Monitors for nearby Bluetooth devices and optionally alerts on lighting changes or motion

License

Notifications You must be signed in to change notification settings

Xorlent/ESP32-Watchman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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

About

Monitors for nearby Bluetooth devices and optionally alerts on lighting changes or motion

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published