[PD] How to read I2C sensors?

Ivica Bukvic ico at vt.edu
Sun Apr 27 20:37:44 CEST 2014


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140427/d1dec7bf/attachment-0001.htm>


More information about the Pd-list mailing list