Hardware
Supported ESP32 based boards:
With LoRa radio data transfer:
- LILYGO®: Paxcounter LoRa V2.1*
- TTGO: T1, T2, T3*, T-Beam, T-Fox
- Heltec: LoRa-32 v1 and v2
- Pycom: LoPy, LoPy4, FiPy
- Radioshuttle.de: ECO Power Board
- WeMos: LoLin32 + LoraNode32 shield, LoLin32lite + LoraNode32-Lite shield
- Adafruit ESP32 Feather + LoRa Wing + OLED Wing, #IoT Octopus32 (Octopus + ESP32 Feather)
- M5Stack: Basic Core IoT* + Lora Module RA-01H, Fire IoT*
Without LoRa:
- LILYGO®: T-Dongle S3*
- Pyom: WiPy
- WeMos: LoLin32, LoLin32 Lite, WeMos D32, Wemos32 Oled
- Crowdsupply: TinyPICO
- TTGO: T-Display
- TTGO: T-Wristband
- Generic ESP32
*) supports microSD/TF-card for local logging of paxcounter data. SD/TF-card must be FAT32 formatted.
Depending on board hardware following features are supported:
- LoRaWAN communication, supporting various payload formats (see enclosed .js converters)
- MQTT communication via TCP/IP and Ethernet interface (note: payload transmitted over MQTT will be base64 encoded)
- SPI serial communication to a local host
- LED (shows power & status)
- OLED Display (shows detailed status)
- RGB LED (shows colorized status)
- Button (short press: flip display page / long press: send alarm message)
- Battery voltage monitoring (analog read / AXP192 / IP5306)
- GPS (Generic serial NMEA, or Quectel L76 I2C)
- Environmental sensors (Bosch BMP180/BME280/BME680/BMP280 I2C; SDS011 serial)
- Real Time Clock (Maxim DS3231 I2C)
- IF482 (serial) and DCF77 (gpio) time telegram generator
- Switch external power / battery
- LED Matrix display (similar to this 64x16 model, can be ordered on Aliexpress)
- SD-card (see section SD-card here) for logging pax data
Target platform must be selected in platformio.ini
.
Hardware dependent settings (pinout etc.) are stored in board files in /shared/hal directory. If you want to use a ESP32 board which is not yet supported, use hal file generic.h and tailor pin mappings to your needs. Pull requests for new boards welcome.
3D printed cases
Some 3D printable cases can be found (and, if wanted so, ordered) on Thingiverse, see
Power consumption
Power consumption was metered at around 450 - 1000mW, depending on board and user settings in paxcounter.conf
.
By default, bluetooth sniffing is not started. If you enable bluetooth be aware that this goes on expense of wifi sniffing results, because then wifi and bt stack must share the 2,4 GHz RF ressources of ESP32. If you need to sniff wifi and bt in parallel and need best possible results, use two boards - one for wifi only and one for bt only - and add counted results.