Repolode
cyberman54

cyberman54/ESP32-Paxcounter

ESP32-based device that estimates passenger flow by counting nearby Wi-Fi and Bluetooth mobile devices, with LoRaWAN, MQTT and SD-card data output.

Stars
2,128
Forks
457
Open issues
19
Last commit
last month

What is it?

Paxcounter is a firmware project for cheap ESP32 LoRa boards that meters passenger flow. It detects Wi-Fi and Bluetooth signals from nearby mobile devices, focusing on their MAC addresses, to estimate how many people are around. It can also read data from several connected environmental sensors at the same time.

The project is designed to avoid tracking individuals. It does not persistently store MAC addresses and does not fingerprint scanned devices, so it only produces counts. Collected data can be written to a local SD card, sent to the cloud over LoRaWAN networks such as The Things Network or Helium, sent over MQTT on TCP/IP, or passed to a local host over a serial interface.

The device can run on battery using ESP32 deep sleep mode, which allows long uptimes on a single 18650 Li-Ion cell.

Key features

  • 01Counts nearby Wi-Fi and Bluetooth mobile devices to estimate passenger flow.
  • 02Does not persistently store MAC addresses or fingerprint devices.
  • 03Sends data over LoRaWAN, MQTT, SD card, or a serial interface.
  • 04Reads data from multiple connected environmental sensors.
  • 05Supports battery operation with ESP32 deep sleep mode.

Use cases

  • Estimating how many people pass through a station, venue or public space.
  • Building a low-power, remotely monitored counting node on LoRaWAN networks.
  • Logging crowd and environmental sensor data to an SD card or MQTT broker.

Things to know

  • Requires dedicated ESP32 hardware, such as a LoRa board, to run.
  • Parts of the source files are under different licenses than the Apache 2.0 license stated in the README, so check each file's license.

In collections

Topics

FAQ

What is ESP32-Paxcounter?
ESP32-based device that estimates passenger flow by counting nearby Wi-Fi and Bluetooth mobile devices, with LoRaWAN, MQTT and SD-card data output. Paxcounter is a firmware project for cheap ESP32 LoRa boards that meters passenger flow. It detects Wi-Fi and Bluetooth signals from nearby mobile devices, focusing on their MAC addresses, to estimate how many people are around. It can also read data from several connected environmental sensors at the same time.
Is ESP32-Paxcounter free to use? What license does it have?
ESP32-Paxcounter is open source under the Other license. Check the license terms before using it in commercial products.
Is ESP32-Paxcounter still maintained?
Updated within 6 months. The last commit to ESP32-Paxcounter was on Oct 4, 2026.
What can I use ESP32-Paxcounter for?
Estimating how many people pass through a station, venue or public space. Building a low-power, remotely monitored counting node on LoRaWAN networks. Logging crowd and environmental sensor data to an SD card or MQTT broker.
Where can I get ESP32-Paxcounter?
The source code and installation instructions are on GitHub: https://github.com/cyberman54/ESP32-Paxcounter

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects