Advertisement

Quick Links

SMK User Manual
www.terasic.com
September 12, 2016

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Servo Motor Kit and is the answer not in the manual?

Questions and answers

Summary of Contents for Terasic Servo Motor Kit

  • Page 1 SMK User Manual www.terasic.com September 12, 2016...
  • Page 2: Table Of Contents

    Servo Motor Kit ................1 Chapter 1 1.1 Package Contents ......................1 1.2 SMK System CD ......................2 1.3 Assemble the Servo Motor .....................2 1.4 Getting Help ........................5 Chapter 2 Servo Motor Card ................6 2.1 Features ..........................6 2.2 Block Diagram of Servo Motor Card ................7 2.3 Interface of Servo Motor Card ..................8...
  • Page 3: Chapter 1 Servo Motor Kit

    Chapter 1 Servo Motor Kit The SMK (Servo Motor Kit) is designed for developer who wish to learn servo motor control and build their robot machine. It includes one servo motor driver daughter card and one servo motor. The motor driver card can drive 24 RC servo motors at most. The motor daughter card can be linked to the FPGA development kit via the 2x20 Pin GPIO connector.
  • Page 4: Smk System Cd

    The servo motor and motor daughter card can be connected to any FPGA development kit that is equipped with a 2x20 Pin GPIO connector. The pictures below show how the servo motor card is connected to various Terasic FPGA Boards: Figure 1-2 Connect the Servo Motor and Motor Card to DE10-Lite SMK User Manual www.terasic.com...
  • Page 5 Figure 1-3 Connect the Servo Motor and Motor Card to DE0-CV Figure 1-4 Connect the Servo Motor and Motor Card to DE0-Nano SMK User Manual www.terasic.com September 12, 2016...
  • Page 6 Figure 1-5 Connect the Servo Motor and Motor Card to DE0-Nano-SoC Figure 1-6 Connect the Servo Motor and Motor Card to DE1-SoC SMK User Manual www.terasic.com September 12, 2016...
  • Page 7: Getting Help

    Figure 1-7 Connect the Servo Motor and Motor Card to DE2-115 1.4 Getting Help Here are the addresses where you can get help if you encounter any problems: Terasic Technologies 9F., No.176, Sec.2, Gongdao 5th Rd, East Dist, Hsinchu City, 30070. Taiwan Email: support@terasic.com...
  • Page 8: Servo Motor Card

     Translate 3.3V PWM to 5.0V PWM  Provide 5V DC power output for host  2X20 3.3V GPIO Interface for host  Drive 24 servo motors at most  Fuse protection for each servo driving port SMK User Manual www.terasic.com September 12, 2016...
  • Page 9: Block Diagram Of Servo Motor Card

    DC jack and 6.2 ~ 12V DC power is expected. The 5V DC output power can be used to supply 5V power for the FPGA mainboards designed with 5V input requirement. Figure 2-2 Block Diagram of Servo Motor Card SMK User Manual www.terasic.com September 12, 2016...
  • Page 10: Interface Of Servo Motor Card

    DC-Jack is used, please make sure the DC-Plug of the power source is meet required specification as shown in Figure 2-5. Terasic also provide the power supply, user can change the power supply from http://smk.terasic.com/buy. Note, do not provide power from J4 DC Jack and J1 2-pin power input at the same time. Otherwise, the board will be damaged.
  • Page 11: Interface For Fpga Host

    When driving servo motor, the PMW signals is sent from the host FPGA with IO standard 3.3V. The Host FPGA board should then provide 3.3V in the VCC3P for the daughter card to use it SMK User Manual www.terasic.com September 12, 2016...
  • Page 12 Figure 2-8. SOC_WARN_LED is a reserved signal. If users want the host FPGA to directly control the warning led, they can move 0 OMH from R316 to R317 as shown in Figure 2-9. SMK User Manual www.terasic.com September 12, 2016...
  • Page 13: Interface For Servo Motor

    In this current example, the 5V device will be driven by 5V coming from the 2x20 GPIO header. Figure 2-10 24 1x3 header for 24 servo motors Figure 2-11 JP12 power source selection SMK User Manual www.terasic.com September 12, 2016...
  • Page 14: Cpld Code For Power Monitor

    Figure 2-14. For the servo motor included in this kit, 0.5 ms duty cycle represents 0 degree, 1.5 ms duty cycle represents 90 degree, and 2.5 ms duty cycle SMK User Manual www.terasic.com September 12, 2016...
  • Page 15 180 degree as shown in Figure 2-15. Figure 2-14 PWM Duty Cycle and Period Figure 2-15 Duty Cyclone V.S. Angle SMK User Manual www.terasic.com September 12, 2016...
  • Page 16: Chapter 3 Design Example

    Calculator module for calculations. After the PWM Calculator has converted the angle into pulsing signals, the signals are sent to a PWM Generator module. Finally, the PWM Generator module will output PWM signals to the GPIO header to drive the servo. SMK User Manual www.terasic.com September 12, 2016...
  • Page 17: Demo Setup

    8. Execute the batch file “ DE0_CV_SMK.bat” under the demo_batch folder of DE0_CV_SMK project. 9. Press KEY0 to increase servo angle. 10. Press KEY1 to decrease servo angle. 11. Adjust the speed by SW0 SW1. SMK User Manual www.terasic.com September 12, 2016...
  • Page 18 8. Execute the batch file “ DE0_Nano_SMK.bat” under the demo_batch folder of DE0_Nano_SMK project. 9. Press KEY0 to increase servo angle. 10. Press KEY1 to decrease servo angle. 11. Adjust the speed by SW0 SW1. SMK User Manual www.terasic.com September 12, 2016...
  • Page 19 Figure 3-3 Demo Setup for DE0-Nano SMK User Manual www.terasic.com September 12, 2016...
  • Page 20 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Terasic B0493 P0288 FXX-3037-TOP B0492...

Table of Contents