Joystick Controlled 2 x RC Servo motors – Arduino Compatible

  • Rajkumar Sharma
  • 594
    Views
  • moderate
  • Tested

This project enables easy control of 2 RC servo motors using a thumb joystick. This is an Arduino compatible project and it consists of a thumb joystick, ATMEGA328 microcontroller, filter capacitor on dc supply, and other components. The thumb joystick has 2 axes, X and Y. The joystick consists of 2 x 10K potentiometers. These potentiometers provide analog voltage output as per the movement of each axis. The microcontroller reads this analog voltage and converts it to RC PWM pulse. The PWM frequency is 50Hz and the duty cycle is 1ms to 2ms.  Connect the RC servos to connector CN1 and CN3, apply 5V power supply to connector CN2 and you are ready to go. I have used a high-value electrolytic capacitor on DC supply for the smooth operation of RC Servo. It is important to use at least 1-3A power supply or batteries for the proper smooth operation of the servos and to avoid vibrations. It can be used to control small camera pan-tilt head, robotics, robotics arm, animatronics, toys etc.

Arduino Programming

Note: Project is Arduino compatible, Arduino code provided as a download. New ATMEGA328 requires bootloader and firmware uploading, refer to the link below to learn uploading the code into the chip.

Features

  • Supply 5V DC – 2A
  • 2 x RC Servo motors
  • Power LED
  • PCB dimensions: 61.12 x 47.63 mm

Schematic

Parts List

NO.QNTY.REF.DESC.MANUFACTURERSUPPLIERSUPPLIER PART NO
12CN1,CN33 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5316-ND
21CN22 PIN SCREW TERMINALPHOENIX CONNECTDIGIKEY277-1247-ND
32CN4,CN5DNPOMIT
42C1,C222PF/50V SMD SIZE 0805MURATA/YAGEODIGIKEY
53C3,C4,C60.1uF/50V SMD SIZE 0805MURATA/YAGEODIGIKEY
62C5,C810uF/16V SMD SIZE 1206MURATA/YAGEODIGIKEY
71C7470uF/25V ELECTROLYTICPANASONICDIGIKEYPCE4886TR-ND
81D1LED RED SMD SIZE 0805DIGIKEY
92D2,D31N4007DIODE INCORP.DIGIKEYS1MBDITR-ND
101R11M 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
112R2,R3JoystickC&kDIGIKEY108-THB001P-ND
121R410K 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
131R51K 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
141U1ATMEGA328DIPMICROCHIPDIGIKEYATMEGA328-PU-ND
151Y116MHZECS INCDIGIKEY X1103-ND

Connections



Gerber View

Photos

Video

THB001P Datasheet

thb

PCB

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

X
Arduino Nano 33 IoT Giveaway

By continuing to use the site, you agree to the use of cookies. more info

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close