[IAEP] Arduino and XO-1

forster at ozonline.com.au forster at ozonline.com.au
Fri Oct 5 00:09:57 EDT 2012


Gerald

Maybe the baud rate or the device name do not match. 

Somewhere in the Arduino plugin code it searches for ttyusbn where n=1,2,3 ...

Your Arduino board could be ttyusbn or ttyacmn where n increments each time you replug the Arduino. Somewhere, I think /dev , you can see what your Arduino is.

Somewhere in the Firmata listing the baud rate is set, check its the same in the plugin code.

Tony

> Alan,
> 
> I have uploaded the newest version of Firmata to the Arduino board, and
> still get the first error in your list.
> Any thoughts about what I should do next?
> 
> Thanks.
> Gerald
> 
> On Thu, Oct 4, 2012 at 11:22 PM, Alan Jhonn Aguiar Schwyn <
> alanjas at hotmail.com> wrote:
> 
> > Hi,
> >
> > The Arduino plugin have some checks. This checks are:
> >
> > 'ERROR: Check the Arduino and the number of port.'
> > 'ERROR: Value must be a number from 0 to 255.'
> > 'ERROR: Value must be either HIGH or LOW.'
> > 'ERROR: The mode must be either INPUT, OUTPUT, PWM or SERVO.'
> >
> > The Arduino board needs have the Firmata firmware [1].
> >
> > The checks are catched with try/excepts that not allows see what is wrong.
> > I can make a version without it to test..
> >
> > Regards!
> >
> > Alan
> >
> > [1] http://firmata.org/wiki/Download
> >
> > ------------------------------
> > From: gerald.ardito at gmail.com
> > Date: Thu, 4 Oct 2012 23:09:03 -0400
> > To: forster at ozonline.com.au; support-gang at laptop.org;
> > iaep at lists.sugarlabs.org
> > Subject: [IAEP] Arduino and XO-1
> >
> >
> > Tony,
> >
> > I have been trying to get the Arduino to work with the XO-1 laptops.
> > (Thanks to your great blog posts) I have successfully installed the
> > Arduino IDE on the laptop, and it works great.
> > Tonight, I installed the Arduino plugin for Turtle Art and (once again
> > using your blog posts), created my first project. When I click "Start," I
> > get an error: "Check the Arduino and the number of port."
> >
> > How do I do this with TurtleArt/outside the IDE?
> >
> > Thanks so much.
> > Gerald
> >
> > _______________________________________________ IAEP -- It's An Education
> > Project (not a laptop project!) IAEP at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/iaep
> >
> > _______________________________________________
> > IAEP -- It's An Education Project (not a laptop project!)
> > IAEP at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/iaep
> >
> 
> _____________________________________________________
> This mail has been virus scanned by Australia On Line
> see http://www.australiaonline.net.au/mailscanning
> Alan,<div><br></div><div>I have uploaded the newest version of Firmata to the Arduino board, and still get the first error in your list.</div><div>Any thoughts about what I should do next?<br><br>Thanks.<br>Gerald<br><br><div class="gmail_quote">
> 
> On Thu, Oct 4, 2012 at 11:22 PM, Alan Jhonn Aguiar Schwyn <span dir="ltr"><<a href="mailto:alanjas at hotmail.com" target="_blank">alanjas at 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 dir="ltr">Hi,<div><br></div><div>The Arduino plugin have some checks. This checks are:</div><div><br></div><div><div>'ERROR: Check the Arduino and the number of port.'</div><div>'ERROR: Value must be a number from 0 to 255.'</div>
> 
> <div>'ERROR: Value must be either HIGH or LOW.'</div><div>'ERROR: The mode must be either INPUT, OUTPUT, PWM or SERVO.'</div><div><br></div><div>The Arduino board needs have the Firmata firmware [1].</div>
> 
> <div><br></div><div>The checks are catched with try/excepts that not allows see what is wrong.</div><div>I can make a version without it to test..</div><div><br></div><div>Regards!</div><div><br></div><div>Alan</div><div>
> 
> <br></div><div>[1]�<a href="http://firmata.org/wiki/Download" style="font-size:12pt" target="_blank">http://firmata.org/wiki/Download</a></div><br><div><div></div><hr>From: <a href="mailto:gerald.ardito at gmail.com" target="_blank">gerald.ardito at gmail.com</a><br>
> 
> Date: Thu, 4 Oct 2012 23:09:03 -0400<br>To: <a href="mailto:forster at ozonline.com.au" target="_blank">forster at ozonline.com.au</a>; <a href="mailto:support-gang at laptop.org" target="_blank">support-gang at laptop.org</a>; <a href="mailto:iaep at lists.sugarlabs.org" target="_blank">iaep at lists.sugarlabs.org</a><br>
> 
> Subject: [IAEP] Arduino and XO-1<div><div class="h5"><br><br>Tony,<div><br></div><div>I have been trying to get the Arduino to work with the XO-1 laptops.</div><div>(Thanks to your great blog posts) I have successfully installed the Arduino IDE on the laptop, and it works great.</div>
> 
> 
> 
> <div>Tonight, I installed the Arduino plugin for Turtle Art and (once again using your blog posts), created my first project. When I click "Start," I get an error: "Check the Arduino and the number of port."<br>
> 
> 
> 
> <br>How do I do this with TurtleArt/outside the IDE?<br><br>Thanks so much.<br></div><div>Gerald</div>
> <br></div></div>_______________________________________________
> IAEP -- It's An Education Project (not a laptop project!)
> <a href="mailto:IAEP at lists.sugarlabs.org" target="_blank">IAEP at lists.sugarlabs.org</a>
> <a href="http://lists.sugarlabs.org/listinfo/iaep" target="_blank">http://lists.sugarlabs.org/listinfo/iaep</a></div></div> 		 	   		  </div></div>
> <br>_______________________________________________<br>
> IAEP -- It's An Education Project (not a laptop project!)<br>
> <a href="mailto:IAEP at lists.sugarlabs.org">IAEP at lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/iaep" target="_blank">http://lists.sugarlabs.org/listinfo/iaep</a><br></blockquote></div><br></div>



More information about the IAEP mailing list