Blog Home

Arduino Candy Grabber, Web Controlled.

Davide GombaMarch 31st, 2011

A step-by-step guide on controlling physical things (like grabbing candies with a mechanical arm) via Internet (please, try!).

In this instructable you will learn how to connect to your arduino and control it over the net, set up a video stream, and how to control stuff with your arduino all in realtime. I’ll try to show you on a concrete example how this could be done, but the code I used and wrote is going to be generic so you can use it for your projects. Note that I haven’t discovered anything new but rather used code that I found lying around the net, built from it and changed it fit my needs.

(…) So how should it work? The idea is that there is a Flash AIR app on my home computer that when a remote client connects to it starts the video broadcast. The communication between the client and the AIR app would be through a PHP socket because it can instantly push messages from one to the other. The socket will handle all the clients and the queuing. The Red5 server is used to handle the video broadcast, stream the video and send the arduino commands from the client that is first in the queue to the AIR app (although it could do so much more… we’ll talk about that in a later step). Finally TinkerProxy is used to send commands from the AIR app to the arduino that is connected to the same computer.

Thanks to Mario for the link!

via [Instructables], grab the thing [here]

Leave a Reply

You must be logged in with your Arduino account to post a comment.