<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>> Date: Mon, 18 Nov 2013 08:49:41 +1100<br>> From: quozl@laptop.org<br>> To: alanjas@gmail.com<br>> CC: unleashkids@googlegroups.com; sugar-devel@lists.sugarlabs.org<br>> Subject: Re: [UKids] ProtoSnap with Arduino plugin<br>> <br>> On Sun, Nov 17, 2013 at 06:52:26AM -0800, Alan Aguiar wrote:<br>> > I was seeing this wiki entry: http://wiki.laptop.org/go/<br>> > ProtoSnap_Contributors_Guide<br>> <br>> I have contributed there.<br>> <br>> > And see that it uses Arduino plugin. I'm mantaining this plugin for<br>> > TurtleBlocks (AKA TurtleArt) and the version showed have a little<br>> > bugs (for example, the read analog and digital blocks not returns<br>> > the read value).<br>> <br>> Were these tickets in Sugar Labs bug tracker?  Or are you tracking<br>> changes using git only?  (Just curious, not criticising.)</div><div><br></div><div>There are not tickets for that. I only use git for track the changes.</div><div><br></div><div><br>> > With a friend, we update the PyFirmate in the plugin to latest 0.9.5.<br>> > Can you check on this GIT:<br>> > http://git.sugarlabs.org/arduino<br>> <br>> git://git.sugarlabs.org/arduino/mainline.git<br>> <br>> Thanks, reviewed.  I see the changes.<br>> <br>> The repository name "arduino" seems too short.  Perhaps this<br>> repository should be named turtleblocks-arduino?</div><div><br></div><div>Maybe: "arduino_plugin" ?</div><div><br>> <br>> The boards.py file added in db6e133 does not contain the Arduino Pro<br>> Mini used by the ProtoSnap.  Is that important?</div><div><br></div><div>I not sure, I must ask to my friend. But seems that the boards.py are not</div><div>used in the PyFirmata.</div><div><br>> Ian Daniher's repository is a fork of your repository from 2013-06-18,<br>> hash ec0719f.  Ian's change in de87b83 looks cleaner than your change<br>> in 9655ec5 but both achieve a similar effect.  You may wish to take<br>> Ian's change instead.</div><div><br></div><div>It's the same fix.. but I like the Ian patch. It's more clean.</div><div><br>> > About installation: the process described is correct but have their<br>> > problems, for example: git is not installed by default on XO. And in<br>> > some places like Uruguay, you don't have root access to install<br>> > anything.<br>> <br>> Yes.<br>> <br>> The lack of git can be worked around using a ZIP download from github.<br>> <br>> https://github.com/itdaniher/turtleblocks-arduino/archive/de87b830207701eccc2503ff7c5ae4a931a73186.zip<br>> <br>> But still, can't install ino or make without root.  So this method is<br>> unavailable to Uruguay post-deployment.<br>> <br>> > Other option is use the option "Load plugin" of TurtleBlocks that<br>> > install automatically the plugin selected (only you need download a<br>> > .tar.gz into the Sugar Journal and press Load Plugin and it was<br>> > installed).<br>> <br>> No, that is insufficient, you still need to load the firmware into the<br>> Arduino.</div><div><br></div><div>Yes, but have Arduino plugin installed do all process a bit easy.</div><div><br>> > But that are a bit complicated... To solve that, we package the<br>> > Arduino plugin (and others like Lego NxT, Lego WeDo, etc)<br>> > with TurtleBlocks in a new activity called TurtleBots:<br>> > http://activities.sugarlabs.org/en-US/sugar/addon/4434<br>> > <br>> > I'm not have a board to test, someone can test it???<br>> <br>> I've downloaded turtlebots-22.xo but there is no firmata firmware in<br>> it, so this does not achieve any of the more fundamental and important<br>> steps in http://wiki.laptop.org/go/ProtoSnap_Contributors_Guide<br>> <br>> I suggest these steps can be done by pre-building the StandardFirmata<br>> sketch for various Arduino, and packaging both the binary output of<br>> these builds _and_ an activity local copy of avrdude for programming<br>> it into the Arduino board.<br>> <br>> .uy deployment may also add packages ino, git and make in next<br>> season's build.</div><div><br></div><div>Maybe we need do an activity for that.</div><div><br><br>> -- <br>> James Cameron<br>> http://quozl.linux.org.au/<br></div>                                    </div></body>
</html>