Raspberry_Pi_Master_for_ESP32_I2C_SLAVE
use Raspberry pi as MASTER of a ESP32 SLAVE on i2c bus
To use ESP32 as slave on i2c bus you have to use ESP32_I2C_Slave c++ library:
platformio lib_deps = ESP32 I2C Slave https://github.com/gutierrezps/ESP32_I2C_Slave
because the esp32-arduino framework not allowed you to use ESP32 as i2c slave.
The ESP32 I2C Slave library do the job on 2 ESP32 or Arduino + ESP32 but not with python master on raspberry pi.
So i convert parts of this library to python classes.
To use these classes you must need to install:
pip install adafruit-blinka
pip install adafruit-extended-bus
Follow examples to read data from master RPI to slave ESP32:
example-read
example-write
to install it use pip:
pip install raspberrypi-esp32-i2c
Metadata
Release files for raspberrypi-esp32-i2c 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| raspberrypi-esp32-i2c-0.0.6.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| raspberrypi_esp32_i2c-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / raspberrypi-esp32-i2c-0.0.6.tar.gz
| Download URL | raspberrypi-esp32-i2c-0.0.6.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e71ea0e69fd6d4654ceabee0e635ac4211e5ba1ec3aa73cca4d406046b78d14
|
|
BLAKE2b-256 checksum How to use checksums |
f8897779358a2d8e4b356e7581693023afc4b065a0639cb8ac62d1bc070d921b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / raspberrypi_esp32_i2c-0.0.6-py3-none-any.whl
| Download URL | raspberrypi_esp32_i2c-0.0.6-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a1e9519eda85fa7282afd87829a6c4471de991baf7f28a048e72ae292597ccb
|
|
BLAKE2b-256 checksum How to use checksums |
0061d4fb65fa2c79a9927de6a5cc960222a5784bf5df8ca00a1817f659a977e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for raspberrypi-esp32-i2c 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.