Veyron Servo Driver (24 Channel) (SKU:DRI0029)

Similar documents
Training Schedule. Robotic System Design using Arduino Platform

Programming 2 Servos. Learn to connect and write code to control two servos.

Application Note. Communication between arduino and IMU Software capturing the data

Servo board bit machine software use: QSC32 Servo controller front. QSC32 Servo controller back

Arduino Lesson 1. Blink. Created by Simon Monk

UART2PPM. User s Guide. Version 2.04 dated 02/20/16. Gregor Schlechtriem

Lynxmotion SSC-32U USB Servo Controller Board

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

LC-10 Chipless TagReader v 2.0 August 2006

FABO ACADEMY X ELECTRONIC DESIGN

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

USER GUIDE. Piezo Motor with Encoder. Installation & Software Control Guide. (For Piezo Motor Model LPM-2M, LPM-5, PM-1124R)

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

URM37 V3.2 Ultrasonic Sensor (SKU:SEN0001)

TWEAK THE ARDUINO LOGO

DFRduino Romeo All in one Controller V1.1(SKU:DFR0004)

ASCOM EF Lens Controller

SC16A SERVO CONTROLLER

Programming a Servo. Servo. Red Wire. Black Wire. White Wire

smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...

Tarocco Closed Loop Motor Controller

EARTH PEOPLE TECHNOLOGY. EPT-200TMP-TS-U2 Temperature Sensor Docking Board User Manual

Adafruit 16-Channel Servo Driver with Arduino

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

ZX-SERVO16. Features : Packing List. Before You Begin

Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor

Exercise 3: Sound volume robot

Flight control Set and Kit

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MADEinUSA OPERATOR S MANUAL. RS232 Interface Rev. A

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

EE 314 Spring 2003 Microprocessor Systems

Lab 2: Blinkie Lab. Objectives. Materials. Theory

User manuel. Hybrid stepper servo drive

G3P-R232. User Manual. Release. 2.06

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

Simple Servo USER Instructions

DASL 120 Introduction to Microcontrollers

the Multifunctional DCC decoder for servo s and accessory s with Arduino for everybody (with a DCC central station)

WTDIN-M. eeder. Digital Input Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies

WTDOT-M. eeder. Digital Output Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies

Coding with Arduino to operate the prosthetic arm

Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio

Welcome to Arduino Day 2016

B RoboClaw 2 Channel 30A Motor Controller Data Sheet

Rochester Institute of Technology Real Time and Embedded Systems: Project 2a

DragonLink Advanced Transmitter

isys-4004 GUI interface - V2.1 Power up Initialize Peripheral Start Measurement YES LED flashes red Object available LED blinking

Operating Mode: Serial; (PWM) passive control mode; Autonomous Mode; On/OFF Mode

MD04-24Volt 20Amp H Bridge Motor Drive

Adafruit 16-Channel Servo Driver with Arduino

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

SonoLab Echo-I User Manual

IMU: Get started with Arduino and the MPU 6050 Sensor!

Lesson 3: Arduino. Goals

URM37 Ultrasonik Mesafe Sensörü - Arduino - Raspberry Pi - LattePanda Uyumlu - DFRobot

Getting Started with the micro:bit

Endurance R/C Wi-Fi Servo Controller 2 Instructions

VBRC 5. Radio Communicator. Installer Manual

Section 2: Functions... 7 PI Tuning... 8

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

Integrated Servo Motor UCS57

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE (

III. MATERIAL AND COMPONENTS USED

B Robo Claw 2 Channel 25A Motor Controller Data Sheet

CMU232 User Manual Last Revised October 21, 2002

Arduino

About New FT-SCServo (Smart Control Servo)

Catalog

PLAN DE FORMACIÓN EN LENGUAS EXTRANJERAS IN-57 Technology for ESO: Contents and Strategies

The plan... CSE 6324 From control to actuators Michael Jenkin Office Hours: Sherman 1028 Wed 3-4. From the bottom up...

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

RT-21 Az-El Controller Manual addendum to RT-21 - August 5, 2014

Blue Bamboo P25 Device Manager Guide

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

Montgomery Village Arduino Meetup Dec 10, 2016

General Description. The TETRIX MAX Servo Motor Expansion Controller features the following:

ISSN: [Singh* et al., 6(6): June, 2017] Impact Factor: 4.116

LAX016 Series Logic Analyzer User Guide

ICS3.5 Software Manual Command Refarence

Lab Exercise 9: Stepper and Servo Motors

Serial Servo Controller

Downloading a ROBOTC Sample Program

MICROWAVE FREQUENCY SYNTHESIZER QP-FSPLL USER MANUAL

Arduino Platform Capabilities in Multitasking. environment.

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

Introduction to the Arduino Kit

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects

10 Error Code List. Motion Control SW. NTI AG / LinMot User Manual Motion Control SW/ Page 87/94

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control

Enhanced SmartDrive40 MDS40B

TLE5014 Programmer. About this document. Application Note

WifiBotics. An Arduino Based Robotics Workshop

Intelligent Systems Design in a Non Engineering Curriculum. Embedded Systems Without Major Hardware Engineering

isys-4001 isys-4002 isys-4003

SDI SPECTRADYNAMICS, INC. LOW NOISE FREQUENCY SYNTHESIZER LNFS-400 OPERATING MANUAL

Transcription:

Veyron Servo Driver (24 Channel) (SKU:DRI0029) From Robot Wiki Contents 1 Introduction 2 Specifications 3 Pin Definitions 4 Install Driver o 4.1 Windows OS Driver 5 Relationship between Steering Angle and PWM Signal 6 Formula 7 Tutorial o 7.1 How to drive the board from Serial port o 7.2 How to drive the board from Arduino 7.2.1 Sample Code o 7.3 Command Lists 7.3.1 Standard Commands 7.3.1.1 Example Commands 7.3.2 Pulse Offset 7.3.3 Digital Output 7.3.3.1 Example Commmand 7.3.4 Byte Output 7.3.4.1 Example Commmand 7.3.5 Query State of Motion 7.3.6 Query Pulse Width o 7.4 How to drive the board from the DFServo o 7.5 Veyron Servo Driver Wireless Communication 7.5.1 Sample Code 7.5.2 Xbee Wireless Communication 7.5.3 APC220 Wireless Communication 8 Trouble Shooting

Introduction Veyron Servo Driver (24-Channel) is a multiple servo controller, especially designed for humanoid robots, spider robots, robotic arms, and many other likewise applications. The controller integrates wireless data transmission interface, which is fully compatible with DFRobot Bluetooth module, APC220 wireless data transmission module and Xbee module. The controlling modes include real-time, timer, constant speed. Veyron Servo Driver (24-Channel) is the most powerful Mirco USB servo driver with high reliability on the market. It uses a highperformance, low-power STM32F103 microcontroller as its core control unit, which has a powerful, fast execution speed, high accuracy, strong I / O drive power. It supports Futaba, Hitec, Fraser and most common servos. The servo control range could be 0 ~ 180 (for 360 continuous rotation, retrofitting is needed); It has two servo control modes: single servo control, group servo control. In group control mode, the same group can be coordinated automatically with start and stop at the same time. It will be very useful in multi-dof biomimetic robots, which requires smooth actions. DO NOT PROGRAM THIS SHIELD! We have uploaded the firmware to Maple RET6 already. Please do NOT upload any sketch to the chip carelessly. Or it will be defective and cannot read any command by serial port anymore. Specifications Output channels: 24 (PWM output or TTL level output); Servo Power: DC 4.8V ~ 6V; Logic Power: DC 6V ~ 12V or USB (with a resettable fuse in debugging); Driver Resolution: 1uS; 0.09 ; Drive speed Resolution: 1uS/s; 0.09 /s Communication Interface: Micro USB /TTL serial interfaces; Baud rate: 2400,9600,38400,115200 Size: 57.3 x 72.3mm Weight: 26g(without package)

Pin Definitions Install Driver It requires to install the driver, when you use it for the first time. NOTE: If you met any problem of installing the driver, you may need disable the Windows feature of Digital signature requirment, you need to disable that to install the driver. Actually, there is another way to install the driver for STM32, read at the end of the wiki > More > Share.

Windows OS Driver Windows Driver Download https://github.com/dfrobot/visual-servo- Controller/blob/master/drivers/mapleDrv.rar?raw=true 1) Connect Veyron Servo Driver 24-Channel to a computer via USB port(usb2.0 is better).and Open your PC Device Manager. 2) Press the "reset" button, the blue light will flash six times fast, then slow blink several times. 3) Press the "reset" button again, and then press to hold "BOOTO" button during blue lights flashing rapidly, until the light starts blinking slowly. The blue light will keep flashing. Now you can install the driver.

4) Windows will prompt you for a driver, manually locate the directory, select mapledrv -- >dfu_x64/dfu_x32(please select your OS bit: 64-bits or 32-bits) in the folder. Next install a virtual serial port driver: 5) Reset Veyron Servo Driver 24-Channel with RET button, wait for the blue light stops flashing. At this point Windows will prompt to install the driver, too. Please manually locate the directory, select mapledrv -->serial in the folder. Until now, the driver has been installed

Relationship between Steering Angle and PWM Signal Formula Run Time (sec) = pulse width (us) / Speed (us / sec). e.g.the initial position is 750us, the finial position is 2250us, the speed is 1000us/s The running time; T=(2250-750)/1000=1.5s So the running time is 1.5s. Tutorial Device List: Veyron Servo Driver 24 Channel Micro USB cable TowerPro SG90 Servo

Servo 5V power supply 9V power supply logic Veyron requires an external power supply to support the servo How to drive the board from Serial port In this section, we will use Arduino IDE as a Serial port communication tool to control the servo. And, you also could use other Serial port software, like putty, CoolTerm etc. Connect Micro USB cable to the Veyron Servo Driver 24-Channel, then the power indicator LED will be on. Connect an external 5V power to the VS and GND. Then switch the DIP 3 at SERIAL, USB has been defaulted to 57600 baudrate (cannot be changed), should be consistent with software. Open you Arduino IDE, click "Tools", select your board Serial port, and open the Serial monitor. Select "Carriage return",and the right baudrate.

How to drive the board from Arduino Sample Code void setup() { Serial.begin(115200);//Set the baudrate to 115200 A:1 B:1 delay(100);//wait for baudrate setting finished } void loop() { Serial.print("#5 P750");// Channel 5 will move to 750us within 500ms

delay(5); //wait for first comand transmission done, if you s end // a long command, you'd better extend it Serial.print("\r"); // send Carriage Return <CR> delay(1000); //wait for servo go to the set position Serial.print("#5 P2200");// Channel 5 will move to 2200us within 500ms delay(5); Serial.print("\r"); delay(1000); } Command Lists Standard Commands #<ch> P <pw> S <spd>...# <ch> P <pw> S <spd> T <time><cr> <ch>: Servo channel number, 0 23 <pw>: pulse width(us), 500 2500; the destination position <spd>: single channel speed (us/s)(optional) : the whole channel speed (ms), maximum 65535(Optional) <cr>: carriage return, the symbol of the end, ASCII code 13 (Required) <esc>: Cancel the current command, ASCI code 27 Example Commands #5 P1600 S750 <cr> The servo on Channel 5 will move to 1600us position at the speed of 750us/s. #5 P1600 T1000 <cr> The servo on Channel 5 will move to 1600us from any position after 1000ms.

#5 P1600 #10 P750 T2500 <cr> The Servo on Channel 5 will move to 1600us position and servo on channel 10 will move to the 750us position. They will arrive simultaneously after 2500ms. This command can coordinate multiple servo speed, even if the initial position of two servos are very far, you can make they start to rotate and stop at one specified position. This command is very suitable for humanoid bipedal robot Pulse Offset #<ch> PO <offset value>... # <ch> PO <offset value> <cr> <ch>: Servo channel number, 0 23 <offset value>: 100 to 100us <cr>: the end of the carriage return, ASCII code 13 To rectify the pulse width of a channel, then humanoid robot could rectify the position without mechanical hardware. Digital Output #<ch> <lvl>... # <ch> <lvl> <cr> <ch>: Servo channel number, 0 23. <lvl>: channel output logic level high 'H' or low 'L'. <cr>: the symbol of the end, ASCII code 13. The channel will output a level after received carriage return symbols in 20ms. Example Commmand #3H #4L <cr> This command makes the channel 3 output a high level(+3.3 V), Channel 4 output a low level(0v). Byte Output # <bank>: <value> <cr>

<bank>: 0 = 8 15,2 = Channel Channel Channel 0 7,1 = 16 23. <value>: decimal output (0 255), Bit0 = LSB. This command allows the 8-bit binary write-once and simultaneously update all channels in the bank, the update will be completed within 20ms after receive carriage return symbols Example Commmand # 1:123 <cr> This command enables bank output 123 in decimalism, 123(decimal) = 01111011 (binary), bank 1 for channels 8-15, then channel 8 and 13 in bank 1 will be 0, the other channel will be 1. Query State of Motion Q <cr> If servo is rotating, it will return "+", if servo has moved to a specific location, it will return "." The return value of this command will delay 50us to 5ms. Query Pulse Width QP <ch> <cr> <ch>: Servo channel number, 0 23. The return value is one byte (binary), which means the servo current pulse width, resolution: 10us, for example, the pulse width is 1500us, then it will return to 150 (binary). This command can query multiple servo pulse width, each servo has a byte, the return value will delay 50us to 5ms, typical value is 100us. How to drive the board from the DFServo We have made a special software--dfservo to drive Veyron.

You could click here to check DFServo tutorial. https://www.dfrobot.com/wiki/index.php/visual_servo_controller Veyron Servo Driver Wireless Communication Sample Code void setup() { Serial.begin(115200);//Set the baudrate to 115200 A:1 B:1 delay(100);//wait for baudrate setting finished } void loop() { Serial.print("#5 P750");// Channel 5 will move to 750us within 500ms delay(5); //wait for first comand transmission done, if you s end // a long command, you'd better extend it

Serial.print("\r"); // send Carriage Return <CR> delay(1000); //wait for servo go to the set position Serial.print("#5 P2200");// Channel 5 will move to 2200us within 500ms delay(5); Serial.print("\r"); delay(1000); }Xbee Wireless Communication

APC220 Wireless Communication Powered By DFRobot 2008-2017