Tags: Servo, Metal, Gear, G996R, robotics, Arduino, Raspberry, pi, compatible, ., G996R, TechMazeUAE

Servo Metal Gear G996R for Robotics Arduino & Raspberry Pi

  • 50.00 AED
    • Ex Tax:50.00 AED
    • Product Code: G996R
    • Availability: In Stock
    This High-Torque MG996R Digital Servo features metal gearing resulting in extra high 10kg stalling torque in a tiny package. The MG996R is essentially an upgraded version of the famous MG995 servo, and features upgraded shock-proofing and a redesigned PCB and IC control system that make it much m..

    This High-Torque MG996R Digital Servo features metal gearing resulting in extra high 10kg stalling torque in a tiny package. The MG996R is essentially an upgraded version of the famous MG995 servo, and features upgraded shock-proofing and a redesigned PCB and IC control system that make it much more accurate than its predecessor.

    The gearing and motor have also been upgraded to improve dead bandwith and centering. The unit comes complete with 30cm wire and 3 pin 'S' type female header connector that fits most receivers, including Futaba, JR, GWS, Cirrus, Blue Bird, Blue Arrow, Corona, Berg, Spektrum and Hitec.

    This high-torque standard servo can rotate approximately 120 degrees (60 in each direction). You can use any servo code, hardware or library to control these servos, so it's great for beginners who want to make stuff move without building a motor controller with feedback & gear box, especially since it will fit in small places.

    The MG996R Metal Gear Servo also comes with a selection of arms and hardware to get you set up nice and fast! 

    • Great for truck, Boat, Racing Car, and Airplane.

    • Power Supply: Through External Adapter.

    • Stable and Shock Proof. - Metal Gear - Double Ball Bearing - Connector Wire Length 300mm

    • Dimension : 40mm x 19mm x 43mm

    • Weight : 55g

    • Operating Speed : 0.17sec / 60 degrees (4.8V no load)

    • Operating Speed : 0.13sec / 60 degrees (6.0V no load) Stall Torque : 13 kg-cm (180.5 oz-in) at 4.8V

    • Stall Torque : 15 kg-cm (208.3 oz-in) at 6V

    • Operation Voltage : 4.8 - 7.2Volts

    • Gear Type: All Metal Gears

    • Connector Wire: Heavy Duty, 11.81" (300mm)


      The Sweep Sketch

      For our first Arduino sketch we will use one of the built-in examples that is packaged with your Arduino IDE. No code to write or libraries to install!

      Wiring up the hardware to use with our first demonstration is very simple. You’ll need an Arduino (any type), a servo motor and a power supply for the servo motor.

      Arduino Sweep Sketch Servo Hookup

      The hookup couldn’t be simpler. The servo is powered by its own power supply and the ground connection is also connected to the Arduino ground. Then the control lead from the servo is connected to pin 9 on the Arduino.

      Pin 9 on the Arduino Uno is one of the six pins that are capable of PWM, on most Uno boards you’ll see a symbol beside the 6 PWM-enabled I/O pins.

      Hook your Arduino up to your computer and start the Arduino IDE.

      Click the File menu at the top of the screen.From there select the Examples sub-menu.

      A list of example sketches will be displayed. It is divided into sections, scroll down the list until you get to the “Examples from Libraries” section.

      Arduino Sweep Servo Code: 

      //__________________________________________________________________

      #include <Servo.h>

       Servo myservo;  // create servo object to control a servo

      // twelve servo objects can be created on most boards

      int pos = 0;    // variable to store the servo position

       void setup() {

        myservo.attach(9);  // attaches the servo on pin 9 to the servo object

      }

      void loop() {

        for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees

          // in steps of 1 degree

          myservo.write(pos);              // tell servo to go to position in variable 'pos'

          delay(15);                       // waits 15ms for the servo to reach the position

        }

        for (pos = 180; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees

          myservo.write(pos);              // tell servo to go to position in variable 'pos'

          delay(15);                       // waits 15ms for the servo to reach the position

        }}

      //_________________________________________________________________________


      Sweep is a very basic sketch that just sweeps the servo shaft from one extreme to the other.

      The sketch makes use of the Arduino Servo Library which is included with your Arduino IDE. As its name implies its is a library for controlling servo motors with PWM.  We include the library and define an object called myservo to represent our servo motor. If you have multiple servo motors you can define an object for each of them.

      We then define a variable called “pos” that holds the position (angle) that we want the servo motor shaft to move to.

      In the setup we attach our servo object to the servo motor control line on pin 9 of the Arduino.

      Then the loop, which consists of two for loops.  The first loop increments the value of the pos variable and uses it to control the servo motor using a myservo.write command, sending the shaft from 0 to 180 degrees.

      The second for loop is identical except it decrements the value from 180 to 0, sending the shaft back in the opposite direction.

      Load the sketch into the Arduino and observe the servo motor shaft, it should be travelling from one end to the other.

      You just made a servo move with an Arduino!


      This video is about the Servos working and from inside, gears and motor.