Demand Peripherals     Robotics and Automation Made Easy

SERVO4: Quad PWM Servo Controller

SERVO4 controls four hobby servos with 50 nanosecond resolution per servo.

 

Hardware:

The Quad Servo Controller provides four outputs that can each control one PWM servo motor. The servo pulse widths are accurate to 50 nanoseconds. The cycle time on each of the four signals is 20 milliseconds.>/p>

Normal servo motors expect a pulse width in the range of 1000000 to 2000000 nanoseconds. A 50 nanoseconds resolution gives 20000 different valid values or over 14 bits of accuracy.

The servos are numbered from 1 to 4 with servo 1 on the lowest numbered pin on the interface card. You can wire your own interface but SERVO4 is most often paired with the GPIO card. More information about the GPIO card can be found here: GPIO card.

 

Resources:

positions : pulse widths in nanoseconds.
Positions has four space-separated pulse widths in nanoseconds and terminated by a newline. A pulse width of zero sets that output high and pulse width of -1 keeps the current position for that servo. A dpget on the positions resource returns the current positions of all four servos.

 

Examples:

Move all pulse widths to center, then move just servo 1 and 3 but not 2 and 4.

   dpset servo4 servogroup 1500000, 1500000, 1500000, 1500000
   dpset servo4 1400000 -1 1600000 -1

 

FPGA Defined Peripherals
User Interface
FPGA Configuration
FPGA Buttons & LEDs
Text LCD and Keypad
Quad WS2812 Interface
Quad Slide Pot
Tone Generator
IR Recv/Xmit
6 Digit LCD
RC Decoder
Keyfob RF Decoder
Rotary Encoder Interface
Motion Control
Dual DC Motor Controller
Dual Quadrature Decoder
Quad 13 Bit Servo
Bipolar Stepper Controller
Unipolar Stepper Controller
Simple Input / Output
Quad Binary Output
Quad Binary Input
Quad GPIO
Octal Input/Output
32 Channel Binary Output
32 Channel Binary Input
Sensors
Octal 12-bit ADC
Quad Ping))) Interface
Octal SRF04 Interface
Quad Event Counter
Instrumentation
Generic I2C
Generic SPI
Octal 8-Bit DAC
Quad Digital Potentiometer
Quad PWM Output
Quad PWM Input
4 Bit Pattern Generator
Real Time Clock
Dual Watchdog Timers
  

Interface Cards
User Interface
Audio Amplifier
IR Recv/xmit
Six Digit LCD Display
Keyfob RF Receiver
Rotary Encoder
Quad Switch Card
Text LCD / keypad
Quad Slide Pot
Motion Control
Dual 7-amp H-bridge
Quad Open Drain Driver
Quad 10 Amp Relay Card
Input / Output
Octal 8-Bit DAC
Quad Digital Potentiometer
Octal 12-bit ADC
9DOF IMU
Octal SRF04
Quad GPIO
Generic I2C
Generic SPI
USB 2.0 Hub
Real Time Clock
Slot Expander
Octal Input/Output
32 Channel Input
32 Channel Output
Accessories
Power Distribution Card
15 Amp Power Distribution
5 Volt Switching Regulator
ATX Power Break-Out Card
Disk Drive Power Break-Out
MP43 Aluminum Mounting Plate
WW2 Prototyping Card
WW1 Small Prototyping Card