question: How can i use two MAX30102 i2c sensors with an esp8266 that have the same address?

This page summarizes the projects mentioned and recommended in the original post on /r/esp8266

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ESP8266-I2C-Driver

    Fixed built-in I2C driver for Arduino ESP8266 core

  • I haven't seen anyone use that particular library with the ESP8266 yet. I've personally tried the core Wire library, the Enjoyneering library, and the brzo_i2c library. The only issue I see offhand with that Multi_Bitbang library is at line 185 in the source: it's only waiting a half bit-time for the ACK, which will fail (NACK) with any part that does clock stretching; it won't see the ACK. The I2C spec allows for slave clock stretching on any of the bits, although I've only seen stretches on the ACK bit myself with the parts I've used.

  • Arduino

    ESP8266 core for Arduino

  • sadly, not on these boards :( since my post I found this thread that talks about bit banging i2c on separate GPIOs. It would be idea to not need an extra board.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Multi_BitBang

    A software I2C implementation to create multiple I2C buses using GPIO lines

  • brzo_i2c

    Brzo I2C is a fast I2C Implementation written in Assembly for the esp8266

  • I haven't seen anyone use that particular library with the ESP8266 yet. I've personally tried the core Wire library, the Enjoyneering library, and the brzo_i2c library. The only issue I see offhand with that Multi_Bitbang library is at line 185 in the source: it's only waiting a half bit-time for the ACK, which will fail (NACK) with any part that does clock stretching; it won't see the ACK. The I2C spec allows for slave clock stretching on any of the bits, although I've only seen stretches on the ACK bit myself with the parts I've used.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts