Skip to content

Latest commit

 

History

History
 
 

JoystickServoControl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

#056 JoystickServoControl

Control two servos with a joystick. Here's a quick demo:

JoystickServoControl

▶️ return to the LEAP Catalog

Notes

This is a demonstration of joystick control of two servos. This would be how you could setup pan/tilt control for example.

It's a simple circuit:

  • two digital pins are used for PWM control signals to the servos.
  • two analog pins are used to read the X-Y joystick input

A separate power supply is used for the servo motors to ensure they get enough current and to avoid interference.

I'm using custom pulse width settings that I've found suit my particular servos best to give accurate 0-180 degree control. See the ServoTest project for more exploration of servo control and fine-tuning servo parameters.

Construction

The Breadboard

The Schematic

The Build

Credits and references