2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) Contents 1 Introduction 2 Specification 3 DFRduino RoMeo Pinout 4 Before you start 4.1 Applying Power 4.2 Software...
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com Note: A. Please read this manual carefully before applying power on the device. B. Do not use this device for military or medical purpose as they are not designed to.
Page 3
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com (/wiki/index.php/File:Romeo_v1.1_pinout_Diagram.png) Fig1: Romeo Pin Out The picture above shows all of the I/O lines and Connectors on the Romeo, which includes: https://www.dfrobot.com/wiki/index.php/DFRduino_Romeo-All_in_one_Controller_V1.1(SKU:DFR0004)
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com One Regulated Motor Power Input Terminal (6v to12v) One Unregulated Servo Power Input Terminal (you supply regulated 4v to 7.2v) One Servo input power selection jumper One Serial Interface Module Header for APC220/Bluetooth Module Two DC Motor Terminals –...
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com Servo Power Select Jumper As most servos draw more current than the USB power source can supply. A separate servo power terminal is provided to power the servo individually. This option can be Enabled/Disabled by the Servo Power Select Jumper.
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com (/wiki/index.php/File:RomeoButtons.png) Fig2: Romeo Buttons Example use of Button 1-5 https://www.dfrobot.com/wiki/index.php/DFRduino_Romeo-All_in_one_Controller_V1.1(SKU:DFR0004) 6/16...
Page 7
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com char msgs[5][15] = { "Right Key OK ", "Up Key OK ", "Down Key OK ", "Left Key OK ", "Select Key OK" };...
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com digitalWrite(13, LOW); / / C o n v e r t A D C v a l u e t o k e y n u m b e r int get_key(unsigned int input) int k;...
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com (/wiki/index.php/File:RomeoSample.png) Fig3: Romeo Motor Connection Diagram Pin Allocation "PWM Mode" Function Digital 4 Motor 1 Direction control Digital 5 Motor 1 PWM control...
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com PWM Control Mode (/wiki/index.php/File:Rome Fig4: PWM Motor Control Pin Allocation The PWM DC motor control is implemented by manipulating two digital IO pins and two PWM pins. As illustrated in the diagram above (Figure 5), Pin 4,7 (7,8 for old Romeo version) are motor direction control pins, Pin 5,6 (6,9 for old Romeo version) are motor speed control pins.
Page 11
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com / / S t a n d a r d P W M D C c o n t r o l int E1 = 5;...
Page 12
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com void turn_R (char a,char b) / / T u r n R i g h t analogWrite (E1,a); digitalWrite(M1,HIGH); analogWrite (E2,b); digitalWrite(M2,LOW);...
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com stop(); b r e a k stop(); e l s e PLL Control Mode The Romeo also supports PLLPhase locked loop (/wiki/index.php/Phase_locked_loop) control mode.
Page 14
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com / / S t a n d a r d D L L S p e e d c o n t r o l int E1 = 4;...
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com ( val!=-1) ( val) s w i t c h 'w': c a s e / / M o v e F o r w a r d DriveMotorP(0xff,0xff);...
Page 16
2018/11/27 DFRduino Romeo-All in one Controller V1.1(SKU:DFR0004) - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com https://www.dfrobot.com/wiki/index.php/DFRduino_Romeo-All_in_one_Controller_V1.1(SKU:DFR0004) 16/16...
Need help?
Do you have a question about the DFR0004 and is the answer not in the manual?
Questions and answers