25 lines
1.0 KiB
Markdown
25 lines
1.0 KiB
Markdown
# Universal Optical 2-Channel Angle Gauge / Tachometer
|
|
|
|
## Features
|
|
|
|
1. Two independent channels supporting optical encoders with 3600 pulses per revolution.
|
|
2. Four operating modes: both inclinometers, both tachometers, mixed angle/tachometer, and remote via ESP-NOW.
|
|
3. 16x2 LCD display (PCF8574 I2C expander) with boot animation, progress bar, and real-time value updates.
|
|
4. Rotary encoder menu with push-button for mode switching and angle reset (long press, 2 seconds).
|
|
5. WiFi AP+STA mode with local access and STA connection for remote logging.
|
|
6. Over-the-Air (OTA) firmware updates via built-in HTTP server.
|
|
7. Remote syslog with periodic logging of task stack usage and driver error counters.
|
|
8. FreeRTOS-based multitasking with separate tasks for each channel, encoder, LCD expander, and statistics monitoring.
|
|
|
|
## Build and flash
|
|
|
|
Run the following command to firmware build and flash module:
|
|
|
|
```bash
|
|
cd your_projects_folder
|
|
git clone --recurse-submodules https://github.com/aZholtikov/ate0005
|
|
cd ate0005
|
|
idf.py build
|
|
idf.py flash
|
|
```
|