5V per la logica V per i motori 50mA Max per la logica - fino a 5A per ogni motore

Similar documents
MD03-50Volt 20Amp H Bridge Motor Drive

MD04-24Volt 20Amp H Bridge Motor Drive

HB-25 Motor Controller (#29144)

High Current DC Motor Driver Manual

Directions for Wiring and Using The GEARS II (2) Channel Combination Controllers

TU SERIES. SENSORI ULTRASONICI M30 - SERIE TU TU series - M30 ultrasonic SENSORS TU 1 / C 0-0 E

USER MANUAL 2AMIN514VPBS

The SCX18.S provides dual high power regulators capable of supplying 3A to the connected servos from an external Li-Pol or

USER MANUAL 2AMCV551VPBS

Enhanced SmartDrive40 MDS40B

RCDC2 Radio Controlled Device Controller- 2 channel

RB-Dev-03 Devantech CMPS03 Magnetic Compass Module

ELETTRONICA DUE. Serie / Series C - 3X Contaimpulsi bidirezionali multifunzione DIN 72X72 DIN 72X72 µ Processor Multifunction up / down counter FOTEK

Pololu TReX Jr Firmware Version 1.2: Configuration Parameter Documentation

Serial Servo Controller

RB-Rop-08 Scorpion XXL Dual 20A 6V to 28V R/C DC Motor Driver

Adafruit 16-channel PWM/Servo Shield

B RoboClaw 2 Channel 30A Motor Controller Data Sheet

PS2-SMC-06 Servo Motor Controller Interface

Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

B Robo Claw 2 Channel 25A Motor Controller Data Sheet

Adafruit 16-channel PWM/Servo Shield

Castle Creations, INC.

Adafruit 16-Channel PWM/Servo HAT for Raspberry Pi

The CV90312T is a wireless battery charger controller working at a single power supply. The power

Introduction to the EXPANSION HUB

Viper 2x35 Operating Modes

Programming the Dallas/Maxim DS MHz I2C Oscillator. Jeremy Clark

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

Built-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected.

Adafruit 16-Channel Servo Driver with Arduino

Wireless Technology in Robotics

Hobby Servo Tutorial. Introduction. Sparkfun:

DS1807 Addressable Dual Audio Taper Potentiometer

In this activity, you will program the BASIC Stamp to control the rotation of each of the Parallax pre-modified servos on the Boe-Bot.

Devantech Magnetic Compass on I2C

Use and Copyright Microcontroller Motion Activity #1: Connecting and Testing the Servo Servo on Board of Education Rev. C Servo on Board of Education

Simple Bridge Stand Alone H-Bridge Data Sheet Revision 1 August 2005

SMART Funded by The National Science Foundation

DeviceCraft Revision #1 11/29/2010

DS1803 Addressable Dual Digital Potentiometer

Professional Development Board (#28138)

RC Interface Controller Board Assembly and Operation

Debugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study

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

CMPS11 - Tilt Compensated Compass Module

CMPS09 - Tilt Compensated Compass Module

Hardware Guide. Control Made Simple. Model 401A Signal Generator

Mounting Dimensions. Overview. Installation. Specifications

SC16A SERVO CONTROLLER

I2C Demonstration Board I 2 C-bus Protocol

Figure 1. DMC 60 components.

SP ROBOTIC WORKS PVT. LTD. Viper 35A User Manual

Simple Servo USER Instructions

12V Victor 888 User Manual

Assembly Guide Robokits India

Trademarks & Copyright

Project Name: SpyBot

DMC-8 (SKU#ROB )

Activity 2 Wave the Flag. Student Guide. Activity Overview. Robotics Jargon. Materials Needed. Building the Robot

Activity 2 Wave the Flag. Student Guide. Activity Overview. Robotics Jargon. Materials Needed. Building the Robot

3.3V regulator. JA H-bridge. Doc: page 1 of 7

Supported Servos Any servo motors with "1500 us neutral" specifications. The common brands available for this spec are: Hitec, Futaba.

The PmodIA is an impedance analyzer built around the Analog Devices AD bit Impedance Converter Network Analyzer.

IS31FL3236A 36-CHANNEL LED DRIVER; SELECTABLE PWM FREQUENCY IS31FL3236A. February 2018

Servo click. PID: MIKROE 3133 Weight: 32 g

Sistema di connessione LED Chip Array / LED Chip array connection system

DPFHP451 HIGH PERFORMANCE BILEVEL STEP MOTOR / MANUAL PRESET INDEXER DRIVER PACK

Hitachi P1 Closed Loop Hoist Basic Instruc on Manual

A High Power H-Bridge

DMX Digital-Servo Board

SQ277 Series Miniature amplified pressure sensors

Advanced Analog Technology, Inc. October 2009 AAT1301 PACKAGE PACKING TEMP RANGE MARKING. T: Tape and Reel. 20 C to +85 C.

Serial Bus Smart Control servo SCS15 Manual

Mercury technical manual

Understanding RC Servos and DC Motors

DR3535 DR3535-O. Hardware Reference Manual. Document Revision A7 May 16, 2018 MICROKINETICS CORPORATION

LaserPING Rangefinder Module (#28041)

Scorpion HX User Manual R/C Version

Illustration 1: Wiper Motor Controller, Sensor, and optional programmer. DC Wiper Motor H-Bridge Servo / Speed Controller

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Myostat Motion Control Inc. Cool Muscle 1 RT3 Application Note. Program Bank Notes for Cool Muscle Language

Invertek Optidrive E3 Frequency Inverter (IP20, 3ph output) Easy Start Guide

Simple-H User Manual

INSTANT ROBOT SHIELD (AXE408)

Understanding the Arduino to LabVIEW Interface

For Experimenters and Educators

Web Site: Forums: forums.parallax.com Sales: Technical:

ENGR 1110: Introduction to Engineering Lab 7 Pulse Width Modulation (PWM)

Copley ASCII Interface Programmer s Guide

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

Analog Servo Drive 30A20AC

RW1026 Dot Matrix 48x4 LCD Controller / Driver

Robot Rangers. Low Level Design Document. Ben Andersen Jennifer Berry Graham Boechler Andrew Setter

815-BR SERVO AMPLIFIER FOR BRUSH SERVOMOTORS

MILFORD INSTRUMENTS Limited

Silencer Series Brushless Controllers

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

Linear vs. PWM/ Digital Drives

ENDAT 2.2 support for absolute-measuring systems completely revised start-up soft- ware

Transcription:

Caratteristiche Tecniche: Tensione Operativa Corrente Operativa Tipica Dimensioni 5V per la logica - 5-50V per i motori 50mA Max per la logica - fino a 5A per ogni motore 110 x 52 x H 25 mm Il modulo MD22 e un robusto motor driver di media potenza, progettato per alimentare due motori. Le principali caratteristiche sono: 1. Pilota due motori con controlli indipendenti 2. Facile da usare e versatile 3. Necessita soltanto di due alimentazioni: a. Per la logica 5V con una corrente massima richiesta di soli 50 ma b. Per i motori, qualsiasi voltaggio fino a 50Vdc, dipendente dal tipo di motore utilizzato 4. Funzione direzionale implementata (sterzata). Consente di variare la velocita' e la direzione dei motori per far cambiare di direzione il mezzo 5. Il modulo puo' essere controllato in uno dei seguenti modi: a. I2C bus, fino a 8 moduli MD22 possono essere utilizzati contemporaneamente, indirizzo selezionabile tramite switch e 4 modalita' operative, inclusa la funzione direzionale b. Ingressi analogici, 2 ingressi indipendenti da pilotare in analogico con tensioni di 0v- 2.5v-5v dove 0v e' tutto indietro, 2.5v stop e 5v tutto avanti con una risoluzione di 255 passi in totale c. 0v-2.5v-5v per la velocita', l'altro canale per il cambio di direzione d. RC Mode, l'md22 puo' essere direttamente interfacciato ad una ricevente RC per poter comandare i motori con il radiocomando. 2 canali indipendenti e. RC Mode con cambio di direzione, permette di pilotare la velocita' e la direzione di rotazione dei motori con uno stick e con l'altro il cambio di direzione 6. Utilizza dei MOSFETs ad altra corrente, in grado di gestire ben oltre i 5Ampere specificati. Sono in grado di sopportare fino a 27A continui con un opportuno dissipatore e fino a 290A in brevi pulsazioni ripetute.

Overview The MD22 is a robust low/medium power motor driver, designed to supply power for two motors. Main features are: 1. Drives two motors with independent control. 2. Ease of use and flexibility. 3. The 15v MOSFET drive voltage is generated onboard with a charge pump, so the module requires only two supply voltages; a) A standard 5V supply for the control logic, only 50mA maximum is required. b) Motor voltage, anything up to 50vdc to suit your motors. 4. Steering feature, motors can be commanded to turn by I2C register or input (Analogue + Servo). 5. Control of the module can be any of; a) I2C bus, up to 8 MD22 modules, switch selectable addresses and 4 modes of operation including steering.. b) 2 independent 0v-2.5v-5v analog inputs. 0v full reverse, 2.5v center stop, 5v full forward. c) 0v-2.5v-5v analog input for speed,with the other channel for steering. d) independent channel RC mode. Motors are individually Controlled directly from the RC receiver output. e) RC mode with steering, allows speed control with one stick of radio control, and steering with the other. 6. Uses high current MOSFETs capable of much more than the 5Amp Specification. They are capable of 27Amp continuous with a suitable heat-sink and up to 290Amps in very brief repetitive pulses. Without a heat-sink they can handle 5Amps continuously, hence our specification. MD22 Connections Note - There is no fuse on the PCB. You should provide a 10A fuse in line with the +v battery terminal. Don't Ignore this, High currents can be dangerous The Motor Ground and the Logic Ground are internally connected on the Module. Be sure to use cable rated for at least 10A for the Battery, Fuse and Motor leads.

Mode Switches The 4 mode switches set the operating mode of the MD22. They are read once only when the module is powered up. You cannot switch modes while the unit is on. Mode Switch 1 Switch 2 Switch 3 Switch 4 I2C Bus - address 0xB0 On On On On I2C Bus - address 0xB2 Off On On On I2C Bus - address 0xB4 On Off On On I2C Bus - address 0xB6 Off Off On On I2C Bus - address 0xB8 On On Off On I2C Bus - address 0xBA I2C Bus - address 0xBC I2C Bus - address 0xBE Off On Off On On Off Off On Off Off Off On 0v - 2.5v - 5v Analog On On On Off 0v - 2.5v - 5v Analog + Turn Off On On Off RC Servo On Off On Off RC Servo + Turn Off Off On Off RC Servo - Timeout On On On Off Off RC Servo + Turn - Timeout On Off On Off Off Note that I2C addresses are the upper 7 bits. Bit 0 the the read/write bit, so addresses 0xB0/0xB1 are write/read respectively to the same address. This range of I2C addresses is the same as those used by the MD03. Differential drive As well as controlling two motors independently, The MD22 incorporates a useful added function of differential drive, provided the motors are positioned so one is driving the left side movement and the other diving the right side. The MD22 can then use one channel to drive both motors forward/reverse and the other for turning left/right. Analog Mode - 0v-2.5v-5v In this mode the motors are controlled independently by two 0v to 5v analog signal on the SCL (Motor1) and SDA (Motor2) lines. 0v is maximum reverse power 2.5v is the center stop position 5v is full forward power There is a small (2.7%) dead band around 2.5v to provide a stable off position. Analog Mode - 0v-2.5v-5v with Differential drive Both Motors speed is now controlled by the analogue voltage level on the SCL line. The SDA line is now responsible for offsetting the two speeds and thus controlling the degree of turn.

The voltage levels are the same as above but turn degree is: 0v is hard turn left 2.5v is the straight position 5v is hard turn right There is the same dead band (2.7%) on the speed and the turn.. RC Servo Mode This mode allows direct connection to standard model radio control receivers. Most receivers work from a 4.8v-6v battery pack and can be powered by 5v supply that powers the MD22 logic. The control pulses (Yellow) from the receiver should be connected to the SCL (Motor1) and SDA (Motor2) terminals. Connect the receiver supply (Red) to +5v logic supply and the receiver 0v ground (Black) to the MD22 logic ground. The output from an RC receiver is a high pulse 1.5mS wide when the joystick is central. The MD22 provides full control in the range 1mS to 2mS with 1.5mS being the center off position. There is a 7uS dead zone centered on 1.5mS for the off position. The Radio Transmitter centering control should be adjusted so that the motor is off when the joystick is released. RC Mode Servo with Differential drive Again uses a standard radio control receiver module output to determine speed with the addition of the extremely useful steering function. the receivers Forward and Reverse channel should be wired to the SCL connection. And the steering through the SDA channel. Again fine adjustment to the transmitters offset may possibly be needed. Note that for this mode to work, the motors must be in the same phase. If you have one of the motors reversed, the robot will not steer correctly. If this happens then switch off and reverse one of the motors. RC Modes with timeout feature (from version 3) An extra couple of modes have been added and operate in much the same way as the normal servo control. The difference is the addition of a new timeout feature. If the RC pulse is not detected on a channel 1 (SCL) for a period in excess of 200ms, then both of the motors will be stop being driven until a valid RC signal is received on channel 1. I2C Mode I2C mode allows the MD22 to be connected to popular controllers such as the OOPic and BS2p, and a wide range of micro-controllers like PIC's, AVR's, 8051's etc. I2C communication protocol with the MD22 module is the same as popular eeprom's such as the 24C04. To read one or more of the MD22 registers, first send a start bit, the module address (0XB0 for example - see mode switches) with the read/write bit low, then the register number you wish to read. This is followed by a repeated start and the module address again with the read/write bit high (0XB1 in this example). You are now able to read one or more registers. The MD22 has 8 registers numbered 0 to 7 as follows; Register Address Name Read/Write Description 0 Mode R/W 1 Speed1 R/W 2 Speed2/Turn R/W 3 Acceleration R/W Mode of operation (see below) Left motor speed (mode 0,1) or speed (mode 2,3) Right motor speed (mode 0,1) or turn (mode 2,3) Acceleration for i2c (mode 0,1)

4 Unused Read only Read as zero 5 Unused Read only Read as zero 6 Unused Read only Read as zero 7 Software Revision Read only Software Revision Number The mode register defaults to 0, as does the acceleration register (slowest acceleration). No motor will move until directly after speed1 or speed2/turn registers are changed. Mode Register The mode register selects which mode of operation and I2C data input type the user requires. The options being: 0, (Default Setting) If a value of 0 is written to the mode register then the meaning of the speed registers is literal speeds in the range of: 0 (Full Reverse) 128 (Stop) 255 (Full Forward). 1, Mode 1 is similar to Mode 0, except that the speed registers are interpreted as signed values. The meaning of the speed registers is literal speeds in the range of: -128 (Full Reverse) 0 (Stop) 127 (Full Forward). 2, Writing a value of 2 to the mode register will make speed1 control both motors speed, and speed2 becomes the turn value. Data is in the range of 0 (Full Reverse) 128 (Stop) 255 (Full Forward). 3, Mode 3 is similar to Mode 2, except that the speed registers are interpreted as signed values. Data is in the range of -128 (Full Reverse) 0 (Stop) 127 (Full Forward) Speed1 Register Depending on what mode you are in, this register can affect the speed of one motor or both motors. If you are in mode 0 or 1 it will Set the speed of the motor 1. The larger the number written to this register, the more power is applied to the motor. If mode is set to 2 or 3 it controls the speed and direction of both motors (subject to effect of turn register). Speed2/Turn Register Again when in mode 0 or 1 this register operates the same as speed1 but controls the operation of the motor 2. When mode is set to 2 or 3 Speed2 becomes a Turn register, and any value in speed 1 is combined with the contents of this register to steer the device. Acceleration Register (in direct motor control) If you require a controlled acceleration period for the attached motors to reach there ultimate speed, the MD22 has a register to provide this. It works by inputting a value into the acceleration register which acts as a delay in the power stepping. The amount of steps is the difference between the current speed of the motors and the new speed (from speed 1 and 2 registers). So if the motors were traveling at full speed in the forward direction (255) and were instructed to move at full speed in reverse (0), there would be 255 steps. The acceleration register contains the rate at which the motor board moves through the steps. At 0 (default) the board changes the power (accelerates) at its fastest rate, each step taking 64us. When the acceleration register is loaded with the Slowest setting of 255, the board will change the power output every 16.4ms.

So to calculate the time (in seconds) for the acceleration to complete : time = accel reg value * 64us * steps. For example : Accel reg Time/step Current speed New speed Steps Acceleration time 0 0 0 255 255 0 20 1.28ms 127 255 128 164ms 50 3.2ms 80 0 80 256ms 100 6.4ms 45 7 38 243ms 150 9.6ms 255 5 250 2.4s 200 12.8ms 127 0 127 1.63s 255 16.32ms 65 150 85 1.39s Software Revision number This register contains the revision number of the software in the modules PIC16F873 controller - currently 1 at the time of writing. Using the MD22 with popular controllers One the easiest ways of connecting the MD22 to a standard controller, such as the BS2 Stamp, is to use RC Servo mode. Select normal (independent) or differential mode on the switches before powering the module. Now you can use the PULSOUT command to simulate the servo pulse and control the motors. The pulse needs to vary between 1mS (full reverse) to 2mS (full forwards) with 1.5mS being the center off position. Unlike servo's, which require the pulse to be repeated every 20mS or so, the MD22 need only be sent a new pulse when you want to change speed. With no pulses being sent it simply continues at the current speed. The timing parameter will vary depending on the controller. Here are some popular examples - all tested by us. Controller Pulsout Resolution Full reverse Center off Full Forwards Command example for Stop BS2 2uS 500 750 1000 pulsout mot1, 750 BS2e 2uS 500 750 1000 pulsout mot1, 750 BS2sx 0.8uS 1250 1875 2500 pulsout mot1, 1875 BS2p 0.8uS * 1250 1875 2500 pulsout mot1, 1875 Atom 1uS 1000 1500 2000 pulsout mot1, 1500 BX-24 1.085uS 922 1382 1843 call pulseout(mot1, 1382, 1) * BS2p resolution is 0.8uS - rather than 0.75uS or 1.18uS as specified in earlier BS2p documentation. Parallax have confirmed this to us.