Catalog
Overview .................................................................................................................................................... 5
Courseware Structure Diagram .................................................................................................................. 6
PS2X&Motor Driver Board Composition frame ....................................................................................... 6
Driver Board Introduction.......................................................................................................................... 7
Common problems ..................................................................................................................................... 7
Software Installation .................................................................................................................................. 8
Install IDE software ........................................................................................................................... 8
Install driver ....................................................................................................................................... 9
IDE interface introduction ............................................................................................................... 14
Connect to the Arduino UNO R3 development board ............................................................................. 17
Run the sample code steps ....................................................................................................................... 17
Driver Board Power Supply ............................................................................................................. 17
DC Motor ......................................................................................................................................... 18
Motor control principle .................................................................................................................... 18
Stepper Motor .................................................................................................................................. 22
Encode Motor................................................................................................................................... 23
RGB LED light ........................................................................................................................................ 26
RGB WS2812 Introduction.............................................................................................................. 26
Working principle of WS2812 RGB LED Light ............................................................................. 27
WS2812 RGB LED Light Driving principle ................................................................................... 28
Buzzer ...................................................................................................................................................... 29
Buzzer Introduction ......................................................................................................................... 29
Working principle of buzzer ............................................................................................................ 30
Drive servo ............................................................................................................................................... 31
Servo Introduction ........................................................................................................................... 31
Working principle of servo .............................................................................................................. 32
Drive Servo .............................................................................................................................................. 33
How to use an external power supply to drive the servo ......................................................................... 35
Ultrasonic obstacle avoidance module ..................................................................................................... 35
Working Principle of Ultrasonic module ......................................................................................... 35
Drive Ultrasonic Module ................................................................................................................. 36
Infrared Remote Control .......................................................................................................................... 37
Working Principle ............................................................................................................................ 38