Servos have many uses and can be a lot of fun to play around with. Something that can be heaps of fun is taking control of up to six servos over the internet! Just imagine the possibilities.

This process is made really simple using the Teleduino sketch for your ethernet enabled Arduino. Haven't heard of Teleduino? That's cool, you may want to take a look at Arduino Control via a Web Service with Teleduino to get yourself started. It's designed to be quick and easy for rapid development.

This tutorial will guide you through the process of attaching a servo to your Arduino, and provide some example Teleduino API call to:
  • Define a servo instance
  • Set the position of a servo
If you get stuck on any of the steps, or if you feel that there is a step that could be explained better, please leave a comment so that we can improve things.

Let's go!

Step 1: Parts Needed and Circuit Diagram

Parts Needed
You need the following parts to complete this tutorial:
  • Ethernet enabled Arduino with the Teleduino sketch loaded
  • Breadboard (optional, but makes prototyping much easier)
  • Dedicated 5V power supply for the servo(s) (optional, but recommended because servos can draw high current causing your Arduino to reset)
  • Servo
  • Some hookup wire

Circuit Diagram
The circuit is pretty simple, but sometimes a picture can paint a thousand words! Take a look at the attached circuit diagram to see how to connect the servo to the Arduino board and external power source.
<p>It means your arduino is not connected to the internet or you have to wait when its power on to initialize</p>
<p>Thank you for your tutorial. I am having some trouble when I paste the API calls into the browser. I get a message saying {&quot;status&quot;:403,&quot;message&quot;:&quot;Key is offline or invalid.&quot;,&quot;response&quot;:[]} </p><p>My status light only blinks twice on the start up and I am not sure what the problem is. </p><p>Thank you </p>
<p>whether to use Arduino uno r3 with ethernet shield</p>
<p>hi sir <a href="https://www.instructables.com/member/nathanknz/" rel="nofollow">nathanknz</a>, can you give me some advice for API call use to controll the servo back and forth?ty</p>
<p>What is the API call I use to control the servo with the Manage Presets Tool?</p>
<p>Hi pmartins11,</p><p>The Manage Presets tool is for defining the servo pins and the initial servo position that will be set when the device starts up. You would then use API calls to change the position of the servo.</p><p>Thanks for trying out Teleduino!</p>
I got the LED Teleduino Instructable working fine but got stuck when it came to the Servo controls over Teleduino. It would drop out and lose connection periodically unlike the LED that worked every time. I think this is down to me not using a dedicated power supply for the servo and the Ardunio wigging out. I am getting a switchable DC power supply tomorrow and will test and update.
Hi member01,<br><br>Thanks for your comment. I believe your findings would be correct - you will most likely require a separate DC power supply for the servos.<br><br>Have fun with your projects!
It worked like a charm! thank you.

About This Instructable




Bio: Developer of the telecontrol and telemonitoring system Teleduino, using the Arduino platform.
More by nathanknz:Control Servos over the Internet via Arduino with Teleduino Read Light Level over the Internet via Arduino with Teleduino Control a Relay over the Internet via Arduino with Teleduino 
Add instructable to: