Arduino Servo Control

Hey everyone,

I'm new here so I don'y know where to post this... :slight_smile:

I have made a simple piece of software that interfaces right with the arduino, no shield needed!

It has features:

  • COM Port select
  • Servo Rotation Slider and Numeric Selector
  • Sweep with Ms tick time (speed) control
  • More on the way! Ideas welcome!

Interface with this code (modify as needed):

#include <Servo.h> 
 
Servo iservo;

int val = 0; 
 
void setup() 
{ 
  Serial.begin(9600);
  iservo.attach(9);
} 
 
void loop() 
{ 
  val = Serial.parseFloat();
  if (val > 0) {
  iservo.write(val);
  }
  delay(15);
}

DOWNLOAD! ArduinoServoControl

Thanks!
-Colby Newman (parzivail.tumblr.com)

Screenshot:

how to make an interface like that ?. I want to try to make my own version of the interface for controlling the servo motor. please help me.

how to make an interface like that ?.

Using what programming language? That looks like a VB form, but you can do similar looking forms in a variety of languages.

This demo may be of interest.

...R