Show Posts
Pages: [1]
1  Using Arduino / Interfacing w/ Software on the Computer / Re: Trouble connecting Arduino to Puredata (sending series of integers) on: July 05, 2011, 03:32:43 pm
Hi,

thanks for responses. I'm including my PD patch in case anyone can recomend proper way of communication between Arduino and PD....



Thanks in advance,

regards


Bulek.
2  Using Arduino / Interfacing w/ Software on the Computer / Trouble connecting Arduino to Puredata (sending series of integers) on: June 30, 2011, 12:47:59 pm
Hi,

I have trouble with connecting Arduino with Puredata. I want to send series of 13 integers and receive those values in Puredata over serial port...
I've tried all solutions from http://www.arduino.cc/playground/Interfacing/PD, but all with major problems :
- SimpleMessageSystem :

The problem is proper parsing of messages in Puredata, since integers can be sent by various lengths (up to 5 chars) and coresponding patch doesn't seem to be dealing with this ok - so numbers more look like a mess - also when parsing group command is used in PD that probably assumes fixed length of messages... ?

- Pduino: I'm basically doing this :
Code:
setup:
    Firmata.setFirmwareVersion(0, 1);
    Firmata.begin(115200);

loop:
  currentMillis = millis();
  if(currentMillis - previousMillis > samplingInterval) {
    previousMillis += samplingInterval;
    while(Firmata.available()) {
      Firmata.processInput();
    }
    for(pin = 0; pin < 5; pin++) {
      analogValue = (int)values[pin];
      Firmata.sendAnalog(pin, analogValue);
    }
  }

but it just does nothing... Shouldn't be sending values to PD ?

- Arduino PureData Message System
It seems the simplest, but Puredata patch doesn't parse integers from ascii text properly. It insers space after each digit, so reconstruction of integers is impossible to me...

I'd kindly ask for any guidance, pointer to more info or any experience with this... I'd just like to transfer set of 13 integers from Arduino to PD continuously..

Thanks in advance,

regards,
Bulek.
3  Using Arduino / Sensors / CapSense: how to design scroll wheel ? on: June 27, 2011, 07:25:35 am
Hi,

I'm using CapSense and am quite satisfied with results. Now I'd like to create scroll wheel...
It says in CapSense description that :
Quote
Scroll Wheels (well, slide pots anyway)

Experiments with a slide pot type linear sensor have been successful with just two pins and a resistance ladder. The basic layout is shown in the Quantum Scrollwheel sensor datasheet.

I cannot find that datasheet or at least couldn't find resistance ladder schematic.

Does anyone have any more information/experience on how to design scrooll wheel or slider with this principle ?

Thanks in advance,

regards,

Bulek.
Pages: [1]