Some context (A Contest!): RadioShack has recently [ https://www.radioshackdiy.com/ ]returned to its DIY roots. Partnering with Make Magazine, Instructables, Popular Science, Wired, and Popular Mechanics, the Shack is sponsoring "The Great Create" to spur the use of the parts and technologies they sell. Which is why they now sell Arduino kits, Maker kits, Seeed Studio add-ons, etc.
They are having a contest they invites entrants to create projects that tie together mobile devices and the Arduino (both of which RadioShack sells, of course): Contest info on The Great Create blog: http://blog.radioshack.com/2013/02/great-create-challenge-mod-your-mobile/ Contest or not, this is a great vehicle for teaching programming, hardware, mobile networking, etc. etc. Maybe even using LiveCode. So, forgive my cluelessness...... I'm trying to imagine a way to talk (ideally, bidirectionally) to an Arduino using a LiveCode app on iOS. Does anyone have experience with this? My only ideas are using [ http://www.redpark.com/c2db9.html ]the Redpark serial cable (not sure if we can talk to it via LiveCode, maybe using mergeExt?) or... via a good ol' web protocols (using a wireless connection to the Arduino - a wifi-enabled [ https://www.sparkfun.com/products/11663 ]NetDuino?) or... A combination of these, as the [ http://www.ladyada.net/make/xbee/ ]XBee does a very good job of acting like a serial wire...maybe connecting the Redpark cable wirelessly to the Arduino. (Warning - tangential reference ahead) For those interested in the Desktop to Arduino connection: I've managed to replicate some of Corni Cornaz' great work, done with the desktop version of LiveCode and Arduino, using the XBee. Corni did a [ http://www.ustream.tv/recorded/13729531 ]LiveCode TV presentation and also put his stack on line here: www.claudi.on-rev.com/livecode/experiments/ Corni has done a great job of documenting the precarious serial communications protocol pitfalls in LiveCode on the desktop side. His prototype stack demonstrates two way serial communications with the Arduino, and was simple as pie to convert to an XBee based wireless connection (yes, really). (Lastly, for a future discussion and an exercise left for the reader, insert the words "Raspberry Pi" where ever you see "Arduino". Sadly, Radio Shack has not yet embraced the Pi.) As always. sorry for the ramble - and thanks for any thoughts you may have.... Bill Waldman <br> <a href="http://www.facebook.com/kingStamford" target="_new"><img src="http://forum.klht.org/Social_Media_Images/fb.png" border="0"></a> <a href="https://twitter.com/#%21/kingstamford" target="_new"><img src="http://forum.klht.org/Social_Media_Images/twit.png" border="0"></a> <a href="http://www.youtube.com/kingstamford" target="_new"><img src="http://forum.klht.org/Social_Media_Images/yt.jpg" border="0"></a> <br> <br> This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and any attachments and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized. _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
