<div dir="ltr"><div>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.<br></div>This worked for me for configuring the bluetooth <a href="http://www.plastibots.com/index.php/2013/12/31/hc-06-bluetooth-module-getting-this-sucker-into-at-command-mode/">http://www.plastibots.com/index.php/2013/12/31/hc-06-bluetooth-module-getting-this-sucker-into-at-command-mode/</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 8:09 PM, Mirko Petrovich <span dir="ltr"><<a href="mailto:mirko.petrovich@gmail.com" target="_blank">mirko.petrovich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">have you tried firmata at 115200 baud ?<span class="HOEnZb"><font color="#888888"><div><br></div><div>M</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 6:54 PM, ray Y <span dir="ltr"><<a href="mailto:raybuay@hotmail.com" target="_blank">raybuay@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>yeah, that is correct. also you need to reset the board with the button, something i didn't</p>
<p>know because i'm very new to the arduino. right now when i'm in the arduino test patch with</p>
<p>the analogfirmata loaded into the board the usb serial works but when i change the comport</p>
<p>to where the bluetooth is, the red light stops blinking (indication that it is linking up) but</p>
<p>when i move the variable resistor pd returns an UNKNOWN_INPUT_COMMAND and a bunch </p>
<p>of numbers and it gets kind of stuck. if i switch back to the usb cable connection it works fine.</p>
<p>is there something that should be done with the firmata?</p>
<p><br>
</p>
<p>regards</p>
<p>r.y</p>
<p><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> Alexandros Drymonitis <<a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a>><br>
<b>Enviado:</b> miércoles, 2 de septiembre de 2015 01:43 a. m.<br>
<b>Para:</b> ray Y<br>
<b>Cc:</b> <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><br>
<b>Asunto:</b> Re: [PD] bluetooth PDuino</font>
<div> </div>
</div><div><div>
<div>
<div dir="ltr">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.<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 2, 2015 at 1:03 AM, ray Y <span dir="ltr"><<a href="mailto:raybuay@hotmail.com" target="_blank">raybuay@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div></div>
<div>
<div dir="ltr">
<div><br>
<br>
</div>
<div>
<div>
<hr>
From: <a href="mailto:raybuay@hotmail.com" target="_blank">raybuay@hotmail.com</a><br>
To: <a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a><br>
Subject: RE: [PD] bluetooth PDuino<br>
Date: Tue, 1 Sep 2015 14:57:32 -0700</div>
<div>
<div><br>
<br>
<div dir="ltr">usb cable uploads the code to the board 
<div>but when i change the comport to use the</div>
<div>board via bluetooth after pairing, the arduino </div>
<div>program sends errors and doesn't complete the upload. </div>
<div><br>
</div>
<div>i need to be able to use the arduino exactly as it works</div>
<div>but wirelessly via bluetooth (or wifi if is not more complicated)</div>
<div>i know that you can do this without doing anything with an arduino BT</div>
<div>but i don't have one so i've been trying to make it work with the uno</div>
<div>an hc-06 bluetooth module</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>r.y<br>
<br>
<div>
<hr>
Date: Wed, 2 Sep 2015 00:35:17 +0300<br>
Subject: Re: [PD] bluetooth PDuino<br>
From: <a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a><br>
To: <a href="mailto:raybuay@hotmail.com" target="_blank">raybuay@hotmail.com</a><br>
CC: <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><br>
<br>
<div dir="ltr">Yes, what is the problem exactly?<br>
</div>
<div><br>
<div>On Wed, Sep 2, 2015 at 12:23 AM, ray Y <span dir="ltr"><<a href="mailto:raybuay@hotmail.com" target="_blank">raybuay@hotmail.com</a>></span> wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">hello 
<div><br>
</div>
<div>i've been trying to use an hc-06 bluetooth module to link up with an arduino</div>
<div>board running the firmata for pduino and this stupid thing is killing me!</div>
<div>i just need to cut up the stupid usb serial cable!</div>
<div><br>
</div>
<div>has anyone done this before</div>
<div><br>
</div>
<div>thanks</div>
<span><font color="#888888">
<div><br>
</div>
<div>r.y</div>
</font></span></div>
</div>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">
http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">
http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>