Hi,
I am using a sensor that transmits data with the SDA and SCL pins. I am using Pure Data (with the [Arduino] object communicating via serial port [comport], i think) but in Pure Data i can only read the the Analog and Digital pins.
Any tips how to access the SDA data from Pure Data?
Thanks a lot!
As far as I know there is an extension to PD that will allow it to read I2C data.
Thanks a lot, do you know where can i find that extension?
I have no problem reading Analog and Digital pins from PD, but not the SDA pin.
I am using the CCS811 gas sensor, which only gives output as SDA (pin 20, of the Arduino Mega 2560)
Well the CCS811 sensor uses I2C so that is not just SDA but also SCK as well.
Have you tried a search for
Pure data "I2C" extensions
Why not just use the Mega to read the data from the gas sensor and communicate that data with PD over the serial port?
Because I also want to control some servos and im not so experience coding in Arduino to receive the data from the serial from PD (using UDP send?)
Sorry, i don't know what SCK is...i am quite new to the world of data communication protocols!
Thanks a lot
Look up the I2C bus, lots of links here is one.
https://en.wikipedia.org/wiki/I²C
Never used that have you a link as to what actually it is?
![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.