I am new to this domain, for a project I have to build a health monitoring system to monitor temperature, heartrate and SPO2 . I am using MAX30102 Pulse Oximeter sensor, and MCP908 temperature sensor , with esp8266 . The problem is that each sensor need an SDA pin and an SCL pin but the Node MCU have only one SDA pin and one SCL pin . what should I do? I searched and I found something about I2C protocol but I didn't understand because there is no simple explanation for this . please help!!!!!
Tow i2c devices with one esp8266
482 Views Asked by Lili Lili At
1
There are 1 best solutions below
Related Questions in ARDUINO
- How to fix python serial monitor parsing error?
- How can I break bricks?
- Soft WDT reset on Wemos D1 Mini
- Arduino TFT module 240x320 OLED not working
- Async Web Server RP2040 returning ERR_CONNECTION_REFUSED?
- ESP32 Consequtive Interrupt WDT Timeout Exception
- Adafruit BNO08x Lib Not working with PicoRP2040 - PlatformIO
- SPI - R/W to ST95P08 EEPROM
- arduino disambungkan ke konputer nyala dan mati lagi
- How to correctly read POST REQUEST body on ESP32?
- How do I publish sensor data to EMQX broker on Ubuntu from a remote Arduino (no WiFi) interfaced with SIM800L?
- Portenta H7 Baremetal Development and a Little Guidance on Embedded System Learning Roadmap
- Wifi disconnects and connects again and again while using esp8266, max30100 and oled display
- Arduino-cli commands are not found in vscode using WSL, why is this occuring?
- Implementing Image Processing for Dimension Measurement in Arduino-based Packaging System
Related Questions in I2C
- Adafruit BNO08x Lib Not working with PicoRP2040 - PlatformIO
- msp430f5438a reading multiple sensor tmp117
- Raspberry pi 4, ina219 Bi-Directional DC Current Power Supply Sensor
- read block data with smbus2 is slow on Raspberry Pi
- I2C problems communicating with I2C Analog Devices AD5112 Digital Pot
- How to receive a float array using esp8266 via I2c
- I2C Communication with Tiva TM4C123GXL
- GPIO I2C IMU on OrangePi CM4 Running Android Doesn't Interface With Native Apps
- I2C LCD1602 interfacing with PIC16F877A
- Sets huskylens modes
- Find out which protocol to communicate with a TFT LCD display
- Why does one of the arguments in this MPU-6050 code mean something different from the official Arduino documentation?
- I want to change the slave address in runtime again after the first configuration of i2c SLAVE. Is this possible , I'm getting errors while doing that
- Issue with MAX32664 breakout board from Protocentral on STM32L476RG Nucleo-64: Fixed SpO2 value
- enabling cdc-acm uart and I2C at the same time on zephyr OS
Related Questions in ESP8266WIFI
- esp-01 wifi module STM32F4 discovery firebase
- ESP8266 StreamHttpClient example broken - prints "read timeout" error
- ESP8266 AT+CWLAP does not return available networks
- How can i do duplex communication between and android application and and esp32 over Wifi Aware
- WebSocket connection with a ESP-01S (ESP8266) and arduino
- First time using ESP8266, can't get it to connect to wifi
- Can the ESP8266-01 WiFi Module be a substitute for the NodeMCU for transferring Temperature and Humidity data to google sheets?
- ESP8266 (Arduino) WiFi intermittent connection when between mesh access points
- Sending message from one ESP8266 to another one via network created by one of them
- ESP8266 chips using different encryption for softAP
- WIFI Module can't get the data from the server
- Cannot perform a handshake with google`s cloud speech-to-text on ESP32. [PK - The pubkey tag or value is invalid (only RSA and EC are supported)]
- Getting an Analog value for Audio signal using ESP8266 and an Electret Microphone
- MAX7219 interfaced with Micropython SoftSpi on ESP8266 does not show any display
- How to get the requested url in NAPT range extender for NodeMCU ESP8266 with Arduino framework?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
That's the whole point of I2C, you only need one SDA/SCL on your device and all other I2C sensors connect in a chain one after another.
like this: Sensor 1 to Sensor 2 to Sensor 3... to ESP (saves the need for more ports on the micro-controller and ton of wires)
So, you simply connect:
Same for the SCL, from one to another to another (like a chain)
The only tricky thing with I2C is that all devices attached have to have a unique chip address. Normally each sensor of the same family will have the same address set in the factory that can't be changed so most of the time you can't have 2 same sensor attached together. There are of course ways around buy using something called I2C multiplexer board/chip.
So, yes, you are absolutely ok with your setup just connect things one after another and it will work
Hope that helps