ok-home / i2c_ws_tools

ESP32 ESP-IDF i2c Tools with websocket interface

Home Page:https://github.com/ok-home/i2c_ws_tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

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 for full steps to configure and use ESP-IDF to build projects.

About

ESP32 ESP-IDF i2c Tools with websocket interface

https://github.com/ok-home/i2c_ws_tools


Languages

Language:C 70.1%Language:HTML 28.3%Language:CMake 1.6%