Hi, I'm new to Arduino Edge Control, I have a couple of I2C devices that I want to connect but can't figure out if this is possible directly on the Edge Control (pins ?) or if I have to insert an MKR card and connect there, in the latter case how can I read data from the MKR card in the Edge Control loop?
Welcome! Interesting question. I'm not sure which parts you're referring to. I'm not familiar with "Edge Control pins," but I am familiar with edge-triggered interrupts. Could you please clarify what exactly we're discussing?
Basically I want to use 2 of these: SHT20 I2C Temperature & Humidity Sensor (Waterproof Probe) - DFRobot with this: https://docs.arduino.cc/tutorials/edge-control/user-manual/ Arduino board.
I'm gonna take a SWAG here, it appears your sensors are I²C slaves, which means they can't start communication on their own. Only the master can do that. One way around this is to run a separate line from each sensor to an input pin on the master and use edge-triggered interrupts. But honestly, the simpler and more common approach is just to poll them every so often — most sensors don’t need to be read super frequently anyway.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.