[PD] How to read I2C sensors?

Ingo ingo at miamiwave.com
Mon Apr 28 10:09:35 CEST 2014


Sounds great!

I'll have to get the sensors first now (I was waiting to see if it would
work at all) and see how far I'll get with it.

Thanks
Ingo

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

Check out also pd-l2ork k12 documentation where you can learn more about
"lots of pots"  RPi shield that gives you essentially 8 capacitive channels
via the aforesaid mcp3008 d/a chip. This is what pd-l2ork essentially
supports out of box.
To access k12 mode start it with appropriate shortcut or simply type
pd-l2ork -k12
HTH
On Apr 27, 2014 3:52 PM, "Ingo" <ingo at miamiwave.com> wrote:
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