domelong.blogg.se

Can you have ez grabber stop when the tape is done
Can you have ez grabber stop when the tape is done












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.

can you have ez grabber stop when the tape is done

The socket will handle all the clients and the queuing. 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. 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 candy grabber is a desktop version of this carnival machine. Do you remember when you were a kid and went to the carnival and there where those machines in which you put money, and it let you play with the crane, grabbing stuffed toys and all kinds of things, then if you were skilled enough you could grab the toy, drop it in a hole and go home with new furry friend? In this example my arduino is going to control a candy grabbing machine. 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.

can you have ez grabber stop when the tape is done

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.

#Can you have ez grabber stop when the tape is done how to#

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've seen a lot of ways to communicate to arduino over the net, but none of them could handle pushing back the messages from arduino to the client(you) in real time and vice versa.












Can you have ez grabber stop when the tape is done