As
we have seen, we can use Processing to send different values to the
Arduino, depending in the previous case of the mouse, but we can also
use many kind of devices.
As
I have a Xbox 360, I decided to use the controller through Processing
and the Arduino, to control a pan tilt.
The
Pan tilt:
I
have chose a very simple and cheap pan tilt that I have purchase on
SparkFun.com
This
one is made of 2 pieces of metal assembled with screws, and
controlled with 2 servos.
A
picture:
As
demonstrated earlier, it is very easy to drive a servo with the
Arduino, so driving 2 servos should be easy too.
Aucun commentaire:
Enregistrer un commentaire