This repository contains an attempt to detect wood pests using three piezo sensors. Each sensor records the time of flight of a noise source in their enclosing area and calculates the coordinate as best it can. This utilizes an ESP32's motor controller peripheral for exact timestamping of three sensor events, which is then processed by a Python script. The Python script takes the timestamps of an event, and a photo of the sensor arrangement and places a marker where the noise originates.
22 lines
575 B
INI
22 lines
575 B
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[platformio]
|
|
src_dir = main
|
|
|
|
[env:az-delivery-devkit-v4]
|
|
platform = espressif32
|
|
board = az-delivery-devkit-v4
|
|
framework = espidf
|
|
|
|
board_build.f_cpu = 240000000L
|
|
upload_protocol = esptool
|
|
monitor_speed = 115200
|