How to control Servo Motors from the web thanks to Flyport!

Posted by openPicus | On: Apr 26 2012
Servo motors are special, position controlled, devices. Differently from DC motors, the reference input of the servos is used to control the positioning angle of the engine’s axis

In the particular case of the servo used in our app-note, the degree of freedom of the servo is 180°.

The parameter used to control the position is the duty cycle of the PWM signal, because the servo’s input is a pulse counting system, therefore a digital interface, not an analog one.
Our application lets you use a web browser, commanding the three motors thanks to sliders from web page:
Note that these checks are part of HTML5 specs, and thus not all browsers will support properly this type of element (created via the  tag)
The hardware connections are simple, and achievable either with breadboards
either with ten minutes of soldering over a proto-board:
The firmware (see the app-note here in the dowloads page  it directly thanks to this link) is very simple, and will allow you to move the servos from the Flyport internal web page using nice sliders. This can be also a starting point for other applications for example, by following the thingspeak  app-note that allows you to receive Rome’s temperature through the google weather service, or by counting the daily access to you site and make a cool real world website stat counter :-)
It’s up to your creativity: you can now move objects independently, depending on web gathered variables or information or, maybe, in relation to physical, local phenomena measured through sensors!
Posted By Simone

3 Comments

  1. Really a very useful info …

  2. kiranvarma says:

    Which simulating software your used to show the circuit. really interesting!

  3. Great information about how to control servo motor.Nice information provide here in this blog.

Leave a comment