{"id":15288245,"url":"https://github.com/mklhx/raspberry_pi_master_for_esp32_i2c_slave","last_synced_at":"2025-04-13T07:38:03.938Z","repository":{"id":38343199,"uuid":"299265345","full_name":"MkLHX/Raspberry_Pi_Master_for_ESP32_I2C_SLAVE","owner":"MkLHX","description":"Python classes to use Raspberry Pi as master i2c on ESP32 using ESP32_i2c_slave library","archived":false,"fork":false,"pushed_at":"2021-09-09T08:29:59.000Z","size":27,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-08T09:14:16.383Z","etag":null,"topics":["esp32","esp32-arduino","i2c-bus","i2c-slave","python","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://mklhx.github.io/Raspberry_Pi_Master_for_ESP32_I2C_SLAVE/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MkLHX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-28T09:58:32.000Z","updated_at":"2023-05-24T22:13:11.000Z","dependencies_parsed_at":"2022-08-28T13:52:04.840Z","dependency_job_id":null,"html_url":"https://github.com/MkLHX/Raspberry_Pi_Master_for_ESP32_I2C_SLAVE","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MkLHX%2FRaspberry_Pi_Master_for_ESP32_I2C_SLAVE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MkLHX%2FRaspberry_Pi_Master_for_ESP32_I2C_SLAVE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MkLHX%2FRaspberry_Pi_Master_for_ESP32_I2C_SLAVE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MkLHX%2FRaspberry_Pi_Master_for_ESP32_I2C_SLAVE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MkLHX","download_url":"https://codeload.github.com/MkLHX/Raspberry_Pi_Master_for_ESP32_I2C_SLAVE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248680072,"owners_count":21144604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32","esp32-arduino","i2c-bus","i2c-slave","python","raspberry-pi"],"created_at":"2024-09-30T15:44:53.647Z","updated_at":"2025-04-13T07:38:03.818Z","avatar_url":"https://github.com/MkLHX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry_Pi_Master_for_ESP32_I2C_SLAVE\n# This Python lib only works with the v0.2.0 of the c++ library https://github.com/gutierrezps/ESP32_I2C_Slave/releases/tag/v0.2.0\n\n## use __**Raspberry pi as MASTER**__ of a __**ESP32 SLAVE**__ on __**i2c bus**__\n\n### To use ESP32 as slave on i2c bus you have to use ESP32_I2C_Slave c++ library:\n\u003e platformio lib_deps = ESP32 I2C Slave \u003cbr\u003e\n\u003e https://github.com/gutierrezps/ESP32_I2C_Slave\n\nbecause the esp32-arduino framework not allowed you to use ESP32 as i2c slave.\n\nThe ESP32 I2C Slave library do the job on 2 ESP32 or Arduino + ESP32 but not with python master on raspberry pi.\n\nSo i convert parts of this library to python classes.\n\nTo use these classes you must need to install:\n\n\u003epip install adafruit-blinka\u003cbr\u003e\n\u003epip install adafruit-extended-bus\n\n\nFollow examples to read data from master RPI to slave ESP32:\u003cbr\u003e\n[example-read](/example/raspberry_pi_read_esp32.py)\u003cbr\u003e\n[example-write](/example/raspberry_pi_write_esp32.py)\u003cbr\u003e\n[example-slave-side](/example/esp32_slave_side.cpp)\u003cbr\u003e\n\n\nto install it use pip:\n\u003epip install raspberrypi-esp32-i2c","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmklhx%2Fraspberry_pi_master_for_esp32_i2c_slave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmklhx%2Fraspberry_pi_master_for_esp32_i2c_slave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmklhx%2Fraspberry_pi_master_for_esp32_i2c_slave/lists"}