This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > FPGA Technical Tutorials > Programming FPGAs Getting Started with Verilog > PWM and Servomotors > Hardware

Hardware

FONT SIZE : AAA

To control a servomotor with your FPGA board, you are going to need a few parts.

You Will Need

In addition to your FPGA board you are going to need the following items to build  this example project:

image.png

Although it is possible to power at least a small servomotor from the 5-V supply  of your FPGA, it is better to use a separate power supply because the large startup  currents can cause the FPGA to reset.

Construction

Figure 7-4 shows the project wired up on the Mojo board. Neither the Mojo nor  the Papilio needs to have a shield attached. The following connections should be  made:

•  Negative supply lead of the servomotor (black or brown) to a GND  

    connection on the FPGA using a male-to-male jumper wire

A servomotor controlled by a Mojo (using external power supply)png

•  Negative connection from the screw terminal adapter to another GND  connection on the FPGA 

•  Control lead of the servomotor (orange or yellow) to P31 (header P1 pin 1)  on the Elbert 2 or P97 on the Mojo IO or P31 (header C pin 0) on the  Papilio One using a male-to-male jumper wire 

•  Positive lead of the servomotor to the positive terminal on the screw  terminal adapter

If you have a small servomotor and want to see if it will work from the Mojo or  the Papilio’s 5-V power connection, you can connect the positive-supply connection lead on the servomotor directly to the board and avoid using an external  power supply at all. This is shown in Figure 7-5. Note that the Elbert 2 does not  have an accessible 5-V terminal.

Figures 7-6 and 7-7 show a servomotor wired to an Elbert 2 and Papilio One,  respectively.

A servomotor controlled by a Mojo (no external power supply)png

A servomotor controlled by an Elbert 2 board.png

A servomotor controlled by a Papilio One boardpng


  • XC3S50-5TQG144C

    Manufacturer:Xilinx

  • FPGA Spartan-3 Family 50K Gates 1728 Cells 725MHz 90nm Technology 1.2V 144-Pin TQFP EP
  • Product Categories: FPGAs

    Lifecycle:Active Active

    RoHS:

  • XC3S50A-4FT256I

    Manufacturer:Xilinx

  • FPGA Spartan-3A Family 50K Gates 1584 Cells 667MHz 90nm Technology 1.2V 256-Pin FTBGA
  • Product Categories: FPGAs

    Lifecycle:Active Active

    RoHS: No RoHS

  • XC3S50A-4TQG144I

    Manufacturer:Xilinx

  • FPGA Spartan-3A Family 50K Gates 1584 Cells 667MHz 90nm Technology 1.2V 144-Pin TQFP
  • Product Categories: FPGAs

    Lifecycle:Active Active

    RoHS:

  • XC3S50A-5TQG144C

    Manufacturer:Xilinx

  • FPGA Spartan-3A Family 50K Gates 1584 Cells 770MHz 90nm Technology 1.2V 144-Pin TQFP
  • Product Categories: FPGAs

    Lifecycle:Active Active

    RoHS:

  • XCS20-4TQ144I

    Manufacturer:Xilinx

  • Spartan and Spartan-XL Families Field Programmable Gate Arrays
  • Product Categories:

    Lifecycle:Obsolete -

    RoHS: -

Need Help?

Support

If you have any questions about the product and related issues, Please contact us.