LC & robotics anyone ?
Dar Scott
dsc at swcp.com
Wed Jul 13 16:12:59 EDT 2016
As Roger and Richard have mentioned, there are two directions to go.
1.
You can provide communications handlers that talk to a robot to give it commands. These might use serial or sockets for communicating to the robot.
There are lots of Arduino-based robots. USB "serial" comm is an essential part of Arduino. You can start out with a tethered turtle with a script that groks turtle-like commands. You can handlers handlers that send these with the LiveCode serial capability. Your nephew can write code that calls those.
You can also get WiFi Arduino boards and WiFi shields. You can use LiveCode sockets to communicate with those. It is actually easier to use sockets than to use serial once you figure out the IP address.
Or you can get a robot with WiFi and not worry about whether it is Arduino. Or consider BlueTooth (serial).
(You don't have to go Arduino, there are lots of other ways to go.)
Look at AdaFruit, SparkFun, Pololu, and Servo City. A friend of mine has mentioned Seeed a few times. I have also gotten stuff from the Robot Shop.
2.
You can build the robot with a small board or box that can run LiveCode. However, then you have to figure out how to do the I/O which might bring you back to #1 above.
Dar
darzLab
Dar Scott Consulting
> On Jul 13, 2016, at 7:02 AM, jbv <jbv at souslelogo.com> wrote:
>
> Hi list
> Has anyone made experiments with LC as front end for programming / driving
> any robotic system ?
> What I have in mind is something like the logo turtle from the early 80s,
> but with some of those cheap robotic kits... This is for my nephew, to
> introduce him to coding via an immediate and pleasant application.
>
> Thanks in advance
> jbv
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list