Emakefun PS2X Bedienungsanleitung

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
1
PS2X&Motor Drive Board
Instruction Manual
V.1.2

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
2
Revision
Date
Version
Description
Author
2018/11/27
V.1.0
Create
Abbott.Chen
2019/1/2
V.1.1
Rearrange the document frame
and fix the error
Ken.chen
2019/1/11
V.1.2
Optimize and supplement
documentation
Abbott.Chen

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
3
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

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
4
PS2 Remote Control ................................................................................................................................40
PS2 Introduction ..............................................................................................................................40
Drive PS2 remote.............................................................................................................................42
NRF2401..................................................................................................................................................44
NRF24L01+ module Introduction ...................................................................................................44
Drive NRF24L01+ module..............................................................................................................44
Appendix..................................................................................................................................................46
External sensor connection method.................................................................................................46

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
5
Overview
The PS2X&Motor Driver Board driver can drive 4 DC motors, 2 encoder motors, 2 stepper motors, 6
servos (two external power supplies), and drive current up to 2A. The driver board is specially designed for
the Arduino uno R3 motherboard. It can be directly plugged into the Arduino Uno.The motherboard
integrates a passive buzzer, 2 RGB LED lights, and 1 infrared receiver.
It also reserves for PS2 socket, Uart interface, I2C interface, ultrasonic obstacle avoidance module
socket and other sensor interfaces which is very convenient to externally connect various sensor modules.
Figure 1-1 Function Display

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
6
Courseware Structure Diagram
ArduinoDemo --stores the most basic test demo program.
AdvancedExperiment --means a test program that uses the Emakefun_Motor Driver driver library for each
module.
Datasheet-- means the chip detailed data sheet used on the driver board.
Schematic-- means the schematic used by the driver board
Scratch -- means the image library and scratch user manual and sample program
PS2X&Motor Driver Board Composition frame
PS2X&
Motor Driver
Board
DC motor port*4
Passive buzzer*1
switch
Ultrasonic socket
Bluetooth / wifi interface
Servo socket
RGB LED*2
Battery / servo external
power supply
PS2 port
Infrared remote control sensor
NRF24L01 socket
Decoding motor port*2
Stepper motor port*2

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
7
Driver Board Introduction
Figure 3-1 PS2X&Motor Driver Board Introduction
Common problems
Q:How to power the PS2X&Motor Driver Board?
A:It can be directly powered by the DC port of Arduino UNO. The voltage range is 6~12V and the
current is 500mA~2A. Or PH2.0 wiring port power supply, the voltage range is 6~12V, there is a power
supply jumper cap on the drive board, you need to short circuit the IN and 5V.
Q:How many motors does the PS2X&Motor Driver Board can drive?
A:The PS2X&Motor Driver Board can drive 4 DC motors ,2 stepper motors or 2 encoder motors.
Q:How does PS2X&Motor Driver Board connect power drive servo?
A:PS2X&Motor Driver Board has D5, D6 two interfaces for external power drive servo.

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
8
The switch needs to be toggled to OFF, and the jumper cap is connected to 5V, EX. The external power
supply is connected to the PH2.0-2pin terminal, and Vin is the positive pole.
Q:I want to upload the sample program to the Arduino board, suggesting that the upload failed.
What is the reason?
A:Before uploading the sample program to the Arduino board, you need to check if the board and
the computer are properly connected, then install the driver and try again.
Q:I want to upload the sample program to the Arduino board, and then the motor does not work
after turning on the power. What is the reason?
A:Firstly, check if the green indicator on the Arduino UNO board is on. If it is not on, it means the
power supply is not normal. Check whether the battery voltage is above 6v. Then check whether the motor's
wiring port is consistent with the port set in the program. Turn it on again.
Q:How to install graphical programming library?
A:Download the relevant tutorial under this link: https://github.com/keywish/motor-drive-board
Q:Where can we download the program examples?
A:Download the relevant tutorial under this link: https://github.com/keywish/motor-drive-board
Q:My Arduino will crash when the motor is running. Is the drive broken?
A:When the motor is running, the power consumption is large. You need to ensure that the battery
has sufficient power. You can try to charge the battery before turning it on.
Software Installation
Install IDE software
Unzip the Arduino software installation package (path: MotorDriverBoard\ArduinoIDE) under the
MotorDriverBoard folder, or download it from the Arduino website, download the address :
https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
Figure 4-1 Arduino IDESoftware installation package
Unzip the zip file and double-click the arduino.exe installation file to install it. Because the installation
of “arduino.exe” is very simple, it will not be explained here. It is recommended to quit the anti-virus
software during the installation process, otherwise it may affect the IDE installation. After the installation is
complete, click "arduino.exe" again to enter the IDE programming interface.

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
9
After the IDE installation, we connect the Arduino motherboard, right click on "My Computer"→
“Properties”→“Device Manager”→View“Port(COM 和LT)”.If you see the interface below, the
driver has the installation is successful. At this time, we open the IDE and select the corresponding
development board model and port in the toolbar to use it normally.
Figure 4-2 Driver installation successful interface
Notice:
1)If you connect the controller board to your computer, the computer does not respond. Right click on "My
Computer" and select Open Device Manager to view the port (com&lpt). If there is no com or lpt, or if there
is only an unknown device, there is a problem with the controller board or USB cable.
2)Right click on "My Computer" and select Device Manager to view the ports (COM and LPT). If there is
a yellow Arduino UNO exclamation point, this means you need to install the driver yourself, the drive path:
MotorDriverBoard\ArduinoIDE.
3)If the driver is always installed but eventually fail. Please uninstall the driver and reinstall >
automatically install the driver > restart the computer.
Install driver
1、If your computer is a Windows 7 system:
1)Firstly, right click on "My Computer" and open the Device Manager to view the ports (COM and LPT).
At this point you will see a "USB Serial Port", right click on "USB Serial Port" and select the "Update

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
10
Driver Software" option.
Figure 4-3 Update Driver
Inhaltsverzeichnis
Andere Emakefun Fernbedienung Handbücher
Beliebte Fernbedienung Handbücher anderer Marken

Panasonic
Panasonic EUR7622KB0 Bedienungsanleitung

Bang & Olufsen
Bang & Olufsen Beo4 Bedienungsanleitung

Sunwave Tech.
Sunwave Tech. RemoteComm SRC-7000 Bedienungsanleitung

Multiplex
Multiplex PROFI TX 9 Bedienungsanleitung

One Remote
One Remote RMB4 Bedienungsanleitung

FUTABA
FUTABA 9ZAP - PART2 Bedienungsanleitung












