• schoolshoes

    ok thanks for your reply. I found you can also connect to the arduinos by device name, with a message like: [devicename /dev/tty.usbmodem33(
    which seems more consistent, some arduinos and devices (like my entec dmx pro) seem to keep the same device name so that’s sort of useful, but some still change each time they are plugged in, so not a perfect solution. As you say will probably have to work this out at the operating system level. Cheers

    posted in I/O hardware diyread more
  • schoolshoes

    Hi there,
    I’m working on a PD project that connects to 8 arduinos using the [arduino] object. It's working fine, the only thing is the serial port number assigned to each arduino changes when I restart the project. I'm wondering if there is a simple way to make this consistent so that i don't have to work out which arduino is which each time I start up the project? I’m using OSX 10.12, pd 0.48.1
    many thanks !

    posted in I/O hardware diyread more
  • schoolshoes

    @alexandros Thanks very much for your reply.

    I had thought of going via python, but I guess I was hoping there was a more direct solution . . .

    Whilst googling for clues, I read on the iem site that pd-L2ork “offers seamless interfacing with Nintendo controllers, Arduino, and Raspberry Pi's GPIO (including PWM) and i2c interfaces."

    I have found connecting to Wiimotes, arduinos and gpio pins with pd-l2ork well documented and straight forward but the i2c part isn’t so obvious.

    anyway for the task at hand I might use an arduino as you suggest.

    many thanks,
    s s

    posted in I/O hardware diyread more
  • schoolshoes

    Hi there - Just wondering if anyone can suggest the easiest way to communicate directly with i2c devices using Pure Data on a Raspberry Pi? I’m using pd-l2ork and can communicate with the GPIO pins no problems using the GPIO object but not quite sure how to communicate with i2c devices.
    thanks in advance,
    s s

    posted in I/O hardware diyread more

Internal error.

Oops! Looks like something went wrong!