[PD] bluetooth PDuino

ray Y raybuay at hotmail.com
Fri Sep 4 02:04:54 CEST 2015


Rock it!!!, there you go, it works. thanks! :)

now i didnt find where to change the baud rate of the module itself jet so i change the
firmata and the comport inside the arduino object to 9600. i will read the link you provided
for that.  regards

r.y

________________________________
De: Alexandros Drymonitis <adrcki at gmail.com>
Enviado: jueves, 3 de septiembre de 2015 11:23 a. m.
Para: Mirko Petrovich
Cc: ray Y; pd-list at lists.iem.at
Asunto: Re: [PD] bluetooth PDuino

Aha! That must be it! The HC-06 is configured at a 9600 baud rate by default, and the AnalogFirmata runs at 57600 (in the setup function). You should either configure the bluetooth to that baud rate, or change the AnalogFirmata sketch. All three, the bluetooth, the Arduino sketch, and [comport], should run at the same baud rate.
This worked for me for configuring the bluetooth http://www.plastibots.com/index.php/2013/12/31/hc-06-bluetooth-module-getting-this-sucker-into-at-command-mode/

On Thu, Sep 3, 2015 at 8:09 PM, Mirko Petrovich <mirko.petrovich at gmail.com<mailto:mirko.petrovich at gmail.com>> wrote:
have you tried firmata at 115200 baud ?

M

On Thu, Sep 3, 2015 at 6:54 PM, ray Y <raybuay at hotmail.com<mailto:raybuay at hotmail.com>> wrote:

yeah, that is correct. also you need to reset the board with the button, something i didn't

know because i'm very new to the arduino. right now when i'm in the arduino test patch with

the analogfirmata loaded into the board the usb serial works but when i change the comport

to where the bluetooth is, the red light stops blinking (indication that it is linking up) but

when i move the variable resistor pd returns an UNKNOWN_INPUT_COMMAND and a bunch

of numbers and it gets kind of stuck. if i switch back to the usb cable connection it works fine.

is there something that should be done with the firmata?


regards

r.y



________________________________
De: Alexandros Drymonitis <adrcki at gmail.com<mailto:adrcki at gmail.com>>
Enviado: miƩrcoles, 2 de septiembre de 2015 01:43 a. m.
Para: ray Y
Cc: pd-list at lists.iem.at<mailto:pd-list at lists.iem.at>
Asunto: Re: [PD] bluetooth PDuino

I think that you can't upload code to the Arduino via the bluetooth, so you'll have to upload it via USB, and then unplug it and use the bluetooth. [comport] will be able to see it without problems.

On Wed, Sep 2, 2015 at 1:03 AM, ray Y <raybuay at hotmail.com<mailto:raybuay at hotmail.com>> wrote:

________________________________



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150904/48fc14d0/attachment.html>


More information about the Pd-list mailing list