Using three SHT20 sensors on Arduino Uno Wifi - SPI problem

H i,

i’m trying to use three SHT20 sensors in my project. I am using an Arduino Uno Wifi rev2.

The problem is that these sensors make use of the SPI pins. It has four cables:

red => 5v
black => gnd
green=> SDA

I only have one SCK and SDA pin. I know that you cannot put three sensors on the same pin, but how to make this work…

Google is not helping me out. I did find a post where someone hinted on using a software SPI. I found a library but i’m not having the faintest idea how to use it.

Can anyone give me a clue on what to do?

The code for these sensors:

#include <Wire.h>
#include "DFRobot_SHT20.h"
DFRobot_SHT20    sht20;
void setup()
    Serial.println("SHT20 Example!");
    sht20.initSHT20();                                  // Init SHT20 Sensor
    sht20.checkSHT20();                                 // Check SHT20 Sensor
void loop()
    float humd = sht20.readHumidity();                  // Read Humidity
    float temp = sht20.readTemperature();               // Read Temperature
    Serial.print(" Temperature:");
    Serial.print(temp, 1);
    Serial.print(" Humidity:");
    Serial.print(humd, 1);

Many thanks for any assistance!!


dual 4-1 bidirectional mux. can be found as a singe chip . can this on be used? SN74CBT3257C check around.. there may be other chips for this task

This is exactly what i am looking for! Thank you for your help!!