Skip to main content

Library focused to I2C communication IOT with RPI & AllWinner Chips.

Project description

Project description

Library focused to I2C communication with IOT sensors.

Platforms:

  • Raspberry PI * RPI 3 * RPI 4 * CM4

  • AllWinner * Chip A10,H616

Supported Vendors:

  • ASM-OSRAM * TSL25911

  • EEPROM * 24c01,24c02,24c04,24c08,24c16,24c32,24c64,24c128,24c256,24c512,24c1024

  • NXP Semiconductor * PCA9632 (could be modified for PCA9624,PCA9635PW,PCA9685,PCA9955B,PCA9956B) PCA9557

  • Texas Instruments * HDC1080,PCA9557,INA226,INA260

  • TE Connectivity * MS5637,HTU21D

  • Microchip * EMC2301

  • Panasonic * SN-GCJA5

  • Renesas * ISL28022 (In progress)

  • Solomon Systech * SSD1309

  • X-Powers * AXP209

Change Log

0.1.8 (23/11/2023)

  • AXP209 driver added (X-Powers)

  • TSL25911 driver added (Osram-AMS)

  • add i2c_interface parameter as switch for libraries Adafruit_PureIO or smbus2

  • Add Allwiner CPU A10 driver, olimex OLinuXino A10

  • update load_config_yaml

0.1.7 (03/09/2023)

  • Add Allwiner CPU H616 driver, mangopi mq-pro, orangepi zero 2

  • SN-GCJA5 driver added (Panasonic)

0.1.6 (03/03/2023)

  • EEPROM added writeNBytes & readNBytes sub

  • add Raspberry PI ZERO W 2 in PI version

0.1.5 (18/10/2022)

  • Fixed issue with units for current [‘mA’, ‘A’] and voltage [‘mV’,’V’]

0.1.4 (11/10/2022)

-Added calibration offsets for measure_i, measure_u, measure_ui for INA260 for calibration of measured values

0.1.3 (08/06/2022)

  • Added new def measure_i, measure_u, parent_i, parent_u in ina260ui.py for individual measure U or I

  • Added accuracy of measurement at INA260 using attributes mode, avgc, ishc, vbusct

  • More test scripts for INA260

0.1.2 (17/05/2022)

  • Change terminology in REGISTER NAMEs

  • Fixed unis in def measure_current

  • Add new device_id allowed 0x226

  • Add ISL2802x Reneses devices lib (in progress)

0.1.1 (02/03/2022)

  • Fix pypi issue in setup.py file

0.1.0 (27/01/2022)

  • First Release import lib fixed

  • Chip supported: 24cXXX,PCA9557,PCA9632,HDC1080,HTU21D,MS5637,EMC2301,SSD1306

  • New chip added: INA260,INA226

  • INA260 - bulk measure fuction: measure_voltage, measure_current

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ecomet_i2c_sensors-0.1.8-py3-none-any.whl (87.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page