[PD] How to read I2C sensors?

Ingo ingo at miamiwave.com
Sun Apr 27 21:52:28 CEST 2014


Thanks Ivica,

I'll check out pd-l2ork. I might use a Raspberry Pi for that purpose anyway.
I need some capacitive sensors that work without actually touching them. All
I found was using I2C.

Ingo


________________________________________
Von: Ivica Bukvic [mailto:ico at vt.edu] 
Gesendet: Sonntag, 27. April 2014 20:38
An: Ingo
Cc: Alexandros Drymonitis; pd-list
Betreff: Re: [PD] How to read I2C sensors?

I forget what i2c uses driverwise, but if it is spidev, in pd-l2ork you have
disis_spi external that allows for reading data from mcp3008 8-channel ad
converter. The external is specifically designed for Raspberry Pi build of
pd-l2ork, but I don't see a reason why it could not be compiled for vanilla
Pd as well. Perhaps it can be also used with your setup?
On Apr 27, 2014 1:53 PM, "Ingo" <ingo at miamiwave.com> wrote:
Thanks!
Could be a possibility but I was hoping for an object that would be able to
read I2C directly without adding an arduino since most smaller arm boards do
have some I2C pins onboard.

Ingo


________________________________________
Von: Alexandros Drymonitis [mailto:adrcki at gmail.com]
Gesendet: Sonntag, 27. April 2014 19:00
An: Ingo
Cc: pd-list
Betreff: Re: [PD] How to read I2C sensors?

What if you use the Wire library in Arduino and then collect the info in Pd
with [comport]?

On Sun, Apr 27, 2014 at 2:06 PM, Ingo <ingo at miamiwave.com> wrote:
I have been using an arduino with [comport] (pduino) to read out sensors so
far and want to use a I2C sensor board for some other sensors soon.

Can [comport] connect to the I2C interface or is there another object in
Pd-extended that can do that?

Thanks!
Ingo


_______________________________________________
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list



_______________________________________________
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list