Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ok-home/i2c_ws_tools
ESP32 ESP-IDF i2c Tools with websocket interface
https://github.com/ok-home/i2c_ws_tools
esp-idf esp32 esp32c3 esp32s3 i2c websocket
Last synced: 16 days ago
JSON representation
ESP32 ESP-IDF i2c Tools with websocket interface
- Host: GitHub
- URL: https://github.com/ok-home/i2c_ws_tools
- Owner: ok-home
- Created: 2024-02-17T05:46:25.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-26T13:11:04.000Z (9 months ago)
- Last Synced: 2024-10-11T13:24:03.045Z (about 1 month ago)
- Topics: esp-idf, esp32, esp32c3, esp32s3, i2c, websocket
- Language: C
- Homepage: https://github.com/ok-home/i2c_ws_tools
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |# ESP-IDF I2C Tools with websocket interface
## Overview
- Simple clone [ESP-IDF i2c_Tools](https://github.com/espressif/esp-idf/tree/master/examples/peripherals/i2c/i2c_tools) with websocket interface
- connects as a standard ESP-IDF component
- can be used to test i2c devices and as an i2c signal generator for [logic_analyzer](https://github.com/ok-home/logic_analyzer)## How to use
- Connect as standart ESP-IDF component
- Start a Wi-Fi connection i2c_tools_wifi_connect() or use an existing one
- Run a web server i2c_tools_ws_server or use an existing web server with websocket support
- Register i2c_tools handlers ( web page & ws handlers) i2c_tools_register_uri_handlers(httpd_handle_t server)
- Go to the device web pageUse as example [i2c_ws_tools-example](https://github.com/ok-home/i2c_ws_tools/tree/main/i2c_ws_tools_example)
### Configure the project
Open the project configuration menu (`idf.py menuconfig`). Then go into `I2C WS Tools Configuration` menu.
### Build and Flash
See the [Getting Started Guide](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html) for full steps to configure and use ESP-IDF to build projects.