The TowerPro SG90 mini servo motor is a compact and powerful solution for your RC projects. With its lightning-fast speed, high torque, and wide operating range, it's ideal for controlling various components in your RC vehicles.
Key Features:
- Tiny and Lightweight: Perfect for small-scale RC models.
- High Output Power: Delivers strong performance for precise control.
- Wide Compatibility: Works with most RC systems and components.
- Versatile Applications: Suitable for helicopters, planes, cars, boats, and trucks.
- Easy to Use: Compatible with standard servo codes and hardware.
Take your RC projects to the next level with the TowerPro SG90 mini servo motor.
Package Includes:
- 1 x Set of SG90 Servo Motor
Best online shopping website for TowerPro SG90 SG 90 180 Degree Servo Motor at a cheap price in Lahore, Islamabad, Karachi, Faisalabad, Multan, Quetta, Sukkur, Peshawar, Sibbi, Kohat, Mardan, Rawalpindi, and all over Pakistan.
Testing Code: Automatic
nothin#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boardsvoid setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}void loop() {
myservo.write(0);
delay(1000);myservo.write(180);
delay(1000);
}
Testing Code: Without Knobe
#include <Servo.h>
Servo servo;
int angle = 10;void setup() {
servo.attach(8);
servo.write(angle);
}
void loop()
{
// scan from 0 to 180 degrees
for(angle = 10; angle < 180; angle++)
{
servo.write(angle);
delay(15);
}
// now scan back from 180 to 0 degrees
for(angle = 180; angle > 10; angle--)
{
servo.write(angle);
delay(15);
}
}