This shows you the differences between two versions of the page.
pm:prj2025:eradu:toma.dumitrescu [2025/05/04 14:13] toma.dumitrescu |
pm:prj2025:eradu:toma.dumitrescu [2025/05/04 14:16] (current) toma.dumitrescu |
||
---|---|---|---|
Line 67: | Line 67: | ||
Digital: SCK, SDA, CS, DC, RES, USB UART TX/RX, VIN \\ | Digital: SCK, SDA, CS, DC, RES, USB UART TX/RX, VIN \\ | ||
- | Analog: sensor_VO, A0 | + | Analog: sensor_VO, A0 \\ |
+ | |||
+ | \\ | ||
+ | Notes: \\ | ||
+ | - In the above graph, there is a plot of the expected voltages for V_O and A_in when a person passes at some distances | ||
===Software Design=== | ===Software Design=== | ||
---- | ---- | ||
- | **Mediu de dezvoltare:** | + | **IDE:** |
- PlatformIO and Arduino on Visual Studio Code \\ | - PlatformIO and Arduino on Visual Studio Code \\ | ||
- Board platform: Espressif 8266 \\ | - Board platform: Espressif 8266 \\ | ||
- | - Program upload: USB \\ | + | - Program upload: USB or by Wi-Fi \\ |
**Libraries:** | **Libraries:** | ||
Line 96: | Line 100: | ||
while True: | while True: | ||
d = ADC_detect_with_low_delay() | d = ADC_detect_with_low_delay() | ||
+ | |||
if d <= threshold: | if d <= threshold: | ||
count++ | count++ | ||
Line 105: | Line 110: | ||
===Results=== | ===Results=== | ||
---- | ---- | ||
- | A device that counts the people passing at a threshold distance from the sensor | + | - A device that counts the people passing at a threshold distance from the sensor |
===Conclusions=== | ===Conclusions=== |