initial
This commit is contained in:
commit
c7ca446d3d
|
@ -0,0 +1,54 @@
|
||||||
|
# ---> C
|
||||||
|
# Prerequisites
|
||||||
|
*.d
|
||||||
|
|
||||||
|
# Object files
|
||||||
|
*.o
|
||||||
|
*.ko
|
||||||
|
*.obj
|
||||||
|
*.elf
|
||||||
|
|
||||||
|
# Linker output
|
||||||
|
*.ilk
|
||||||
|
*.map
|
||||||
|
*.exp
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Libraries
|
||||||
|
*.lib
|
||||||
|
*.a
|
||||||
|
*.la
|
||||||
|
*.lo
|
||||||
|
|
||||||
|
# Shared objects (inc. Windows DLLs)
|
||||||
|
*.dll
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
*.i*86
|
||||||
|
*.x86_64
|
||||||
|
*.hex
|
||||||
|
|
||||||
|
# Debug files
|
||||||
|
*.dSYM/
|
||||||
|
*.su
|
||||||
|
*.idb
|
||||||
|
*.pdb
|
||||||
|
|
||||||
|
# Kernel Module Compile Results
|
||||||
|
*.mod*
|
||||||
|
*.cmd
|
||||||
|
.tmp_versions/
|
||||||
|
modules.order
|
||||||
|
Module.symvers
|
||||||
|
Mkfile.old
|
||||||
|
dkms.conf
|
||||||
|
|
|
@ -0,0 +1,48 @@
|
||||||
|
|
||||||
|
### Pre-defines
|
||||||
|
TOF_1 , U3, RIGHT SENSOR, XSHUT:PB-3, INT:PB-5
|
||||||
|
|
||||||
|
TOF_2 , U4, LEFT SENSOR, XSHUT:PA-9,INT:PB-5 *** Default TOF ON BOARD
|
||||||
|
|
||||||
|
TOF_3 , P6,P7,P10 out interface, XSHUT:PA-10,INT:PB-5
|
||||||
|
|
||||||
|
SOAP_LEVEL_SENSOR, Switch/XSHUT: PB-3, INPUT-STATUS: PA-10
|
||||||
|
|
||||||
|
ROCTEC_R5, for upload payload format with distance only, 2 bytes
|
||||||
|
|
||||||
|
LED_ONBOARD, If LED soldered on board
|
||||||
|
|
||||||
|
|
||||||
|
### Description
|
||||||
|
|
||||||
|
STS_R1 STS_R2 STS_R5 For
|
||||||
|
|
||||||
|
| STS-R1 | Jumbo Roll Level | TOF VL53L0X |
|
||||||
|
| STS-R2 | Tissue Paper Level | TOF VL53L0X |
|
||||||
|
| STS-R5 | Waste Bin Level | TOF VL53L0X |
|
||||||
|
|
||||||
|
# STS-R5 # Waste Bin Level RocTec | TOF VL53L0X |
|
||||||
|
|
||||||
|
| STS-O2 | Presence Sensor | TOF VL53L1/L3 |
|
||||||
|
| STS-O3 | Presence Sensor | TOF VL53L1/L3 |
|
||||||
|
| STS-O4 | Urinal Occupy Sensor | TOF VL53L1/L3 |
|
||||||
|
| STS-O5 | Door Contact | GPIO ReedSwitch |
|
||||||
|
|
||||||
|
| STS-R3 | Soap Dispenser Sensor | GPIO Capacitive |
|
||||||
|
| STS-R4 | Cistern/Tank Level Sensor | UART UltraSonic |
|
||||||
|
|
||||||
|
| STS-M1 | Water Leakage Sensor | GPIO ReedSwitch |
|
||||||
|
| STS-M3 | Tank Level Sensor | UART UltraSonic |
|
||||||
|
| STS-M4 | Water Flow Sensor | TIM2_ETR counting, PA5 |
|
||||||
|
|
||||||
|
|
||||||
|
| STS-P1 | Queueing length Sensor | IW6843 |
|
||||||
|
| STS-P2 | Bi-Directional People Count | TOF VL53L1/L3 |
|
||||||
|
|
||||||
|
| STS-M7 | Vibration Sensor | I2C 3-Axis vibration |
|
||||||
|
|
||||||
|
|
||||||
|
### Jumbo Roll, Tissue Paper, Waste Bin sensor, door contact sensor
|
||||||
|
|
||||||
|
******************************************************************************
|
||||||
|
|
Reference in New Issue