Skip to content
Aug 10 11

Robot controlled by multitouch gestures on an iPhone

by mitchallen

The video above is from the article: Multitouch remote for a robot: 200 lines of JavaScript & Python.

Be sure to also check out his post: HOWTO: Create native-looking iPhone/iPad applications from HTML, CSS and JavaScript

Aug 7 11

A robot that flies like a bird

by mitchallen

See also: Flying robotic seagull attracts flock of birds (latimes.com)

Jul 31 11

How to control a robot through Web Services

by mitchallen

The video above is from the SparkFun tutorial WiFly Wireless Talking SpeakJet Server.


My day job involves automated software testing. One aspect of that job is testing Web Services.

What are Web Services?

Think of Web Services as a set of function calls (like an API or an SDK). But instead of calling a function within your program or a local library, you are calling a function on a Web Server. Just like with a function, you can specify parameters to be passed to a Web Service. You can also get a return value or multiple return values in the form of a response from the server. The response could be in any format, like JSON or XML which you could parse.

So you could design services like this:

http://myrobot/?action=forward&distance=5

That might generate a response like this:

{
“response”: “OK”
}

By taking this approach, you can control a robot from a Web browser on any device (laptop, smartphone, etc.). But you can also control a robot from with an application that wraps the Web service calls behind a UI.

For an example of how to do it, click the link in the video caption above.

You may also want to checkout the book Arduino Cookbook which covers this topic in more detail.

Jul 10 11

Free QR Code Generator

by mitchallen

Besides building mobile apps, I also do Web site development.  I gave myself a challenge to build a simple one page Web site that actually does something.  Think of it as a Web-based app.  Part of the challenge was to keep time and investment to a minimum.

To keep costs down, I used Google Sites.  Since Google Sites don’t allow Javascript, I created a Google Gadget and embedded it.  I could have kept the cost to zero if I didn’t use a domain mapping.  But since I did, that made the total financial investment $11.75 (1 year domain registration + privacy).

You can find the site here:  http://www.qrcodeqrcode.com

 

Jul 6 11

Mobile Game Workflow

by mitchallen

I’ve noticed design themes in some popular mobile games that I’m incorporating into my own game engine. If you look at some of those games, such as Angry Birds, Cut The Rope, etc., you will see that they have a very basic structure:

1. Episode Menu
2. Level Menu
3. Level

The games are broken up into individually themed episodes, which contain multiple levels.

The levels are consistent with the theme of their parent episode. New episodes can appear free with updates, or purchased as an add-on.

The levels themselves also have a basic structure, which includes score displays, pause, level complete and episode complete menus as well as controllers which I will discuss later.