readme.md updated

This commit is contained in:
Klaus K Wilting 2018-07-15 22:19:05 +02:00
parent a4842d54f1
commit 6dc03fc0e6
3 changed files with 23 additions and 21 deletions

View File

@ -11,7 +11,7 @@ Paxcounter is a proof-of-concept device for metering passenger flows in realtime
Intention of this project is to do this without intrusion in privacy: You don't need to track people owned devices, if you just want to count them. Therefore, Paxcounter does not persistenly store MAC adresses and does no kind of fingerprinting the scanned devices.
Bonus of this project is that metered data is transferred via a LoRaWAN network, not via usual GSM/LTE or Wifi uplink.
Metered counts are transferred to a server via a LoRaWAN network, and/or a local SPI cable interface.
You can build this project battery powered and reach a full day uptime with a single 18650 Li-Ion cell.
@ -19,26 +19,27 @@ This can all be done with a single small and cheap ESP32 board for less than $20
# Hardware
Supported ESP32 based LoRa IoT boards:
**Supported ESP32 based boards**:
- **Heltec LoRa-32**
- **TTGOv1**
- **TTGOv2**
- **TTGOv2.1**
- **TTGO T-Beam**
- **Pycom LoPy**
- **Pycom LoPy4**
- **Pycom FiPy**
- **LoLin32** + [LoraNode32 shield](https://github.com/hallard/LoLin32-Lora)
- **LoLin32 Lite** + [LoraNode32-Lite shield](https://github.com/hallard/LoLin32-Lite-Lora)
*LoRa & SPI*:
- Heltec: LoRa-32
- TTGO: T3_v1, T3_v2, T3_v2.1, T-Beam
- Pycom: LoPy, LoPy4, FiPy
- Wemos: LoLin32 + [LoraNode32 shield](https://github.com/hallard/LoLin32-Lora), [LoraNode32-Lite shield](https://github.com/hallard/LoLin32-Lite-Lora)
*SPI only*:
- Pyom: WiPy
- WeMos: LoLin32, LoLin32 Lite, WeMos D32
Depending on board hardware following features are supported:
- LED
- OLED Display
- RGB LED
- button
- silicon unique ID
- battery voltage monitoring
- Button
- Silicon unique ID
- Battery voltage monitoring
- GPS
Target platform must be selected in [platformio.ini](https://github.com/cyberman54/ESP32-Paxcounter/blob/master/platformio.ini).<br>

View File

@ -11,7 +11,7 @@
; ---> SELECT TARGET PLATFORM HERE! <---
[platformio]
env_default = generic
;env_default = generic
;env_default = heltec
;env_default = ttgov1
;env_default = ttgov2
@ -22,7 +22,7 @@ env_default = generic
;env_default = fipy
;env_default = lolin32litelora
;env_default = lolin32lora
;env_default = lolin32
env_default = lolin32lite
;
description = Paxcounter is a proof-of-concept ESP32 device for metering passenger flows in realtime. It counts how many mobile devices are around.
@ -189,7 +189,7 @@ lib_deps =
build_flags =
${common_env_data.build_flags}
[env:lolin32]
[env:lolin32lite]
platform = ${common_env_data.platform_espressif32}
framework = arduino
board = lolin32

View File

@ -1,11 +1,12 @@
// Hardware related definitions for lolin32 (without LoRa shield)
// Hardware related definitions for lolin32lite (without LoRa shield)
#define CFG_sx1272_radio 1 // dummy
// disable brownout detection (avoid unexpected reset on some boards)
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
#define HAS_LED NOT_A_PIN // Led os on same pin as Lora SS pin, to avoid problems, we don't use it
#define HAS_LED 22 // on board LED on GPIO22
#define LED_ACTIVE_LOW 1 // Onboard LED is active when pin is LOW
#define HAS_RGB_LED 13 // ESP32 GPIO13 (pin13) On Board Shield WS2812B RGB LED
#define HAS_SPI 1 // comment out if device shall not send data via SPI