Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 page

Use 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.