{"product_id":"dual-12volt-2-8amp-h-bridge-motor-drive","title":"Dual 12Volt 2.8Amp H Bridge Motor Drive","description":"\u003cbr\u003e\n\n\n\n\n\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n  \u003ctr bgcolor=\"#0033FF\"\u003e\n    \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications:\u003c\/strong\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e12V\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eUp to 2.8A for each motor \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eDimensions\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e71mm x 60mm \u003c\/td\u003e\n  \u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003e\n\nOverview\u003cbr\u003e\nThe MD25 is a robust I2C dual motor driver,   designed for use with our EMG30 motors. Main features   are:\u003c\/p\u003e\n\u003cp\u003e1.    Reads motors encoders and provides counts in registers for  determining distance traveled and direction .\u003cbr\u003e\n  2.    Drives two motors with independent  or combined control. \u003cbr\u003e\n  3.    Motor current is readable through  registers.\u003cbr\u003e\n  4.    Only 12v  is required to power the module.\u003cbr\u003e\n  5.    Onboard 5v regulator can supply up to 1A peak, 300mA  continuously to external  circuitry\u003cbr\u003e\n  6.    Steering   feature, motors can be commanded to turn by I2C register value.\u003cbr\u003e\n  7.    Variable acceleration and power regulation also included \u003cbr\u003e\n\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMD25 Connections\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/md25a.jpg\" width=\"635\" height=\"384\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eMotor Noise Suppression \u003cbr\u003e\n\u003c\/strong\u003eWhen using our EMG30 encoded motors, you will find that a 10n noise  suppression  capacitor has already been fitted. Other motors may require  suppression. This is easily achieved by the addition of a 10n snubbing  capacitor across the motors. The capacitor should also be capable of  handling a voltage of twice the drive voltage to the motor.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eLeds\u003c\/strong\u003e\u003cbr\u003e\n  The Red Power Led indicates power is applied to the module.\u003cbr\u003e\n  A Green Led initially flashes the I2C address and then lights for 500mS to indicate correct I2C activity to the module. The  internal 500mS timer is restarted each time there is I2C activity, so it will be  on during continuous access.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eAutomatic Speed regulation\u003cbr\u003e\n\u003c\/strong\u003eBy using feedback from the encoders the MD25 is able to dynamically  increase power as required. If the required speed is not being achieved, the  MD25 will increase power to the motors until it reaches the desired rate or the  motors reach there maximum output. Speed regulation can be turned off in  the command register.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eControlling the MD25\u003cbr\u003e\n  \u003c\/strong\u003eThe MD25 is designed to operate in a standard I2C bus system on addresses  from 0xB0 to 0xBE (last bit of address is read\/write bit, so even numbers only), with its  default address being 0xB0. This is easily changed by removing the Address  Jumper or in the software see Changing the I2C Bus Address.\u003cbr\u003e\n   \u003cbr\u003e\n  I2C mode allows the MD25 to be connected to popular   controllers such as the PICAXE, OOPic and BS2p, and a wide range of micro-controllers   like PIC's, AVR's, 8051's etc. \u003cbr\u003e\n  I2C  communication protocol with the MD25 module is the same as popular  EPROM's such as the 24C04. To read one or more of the MD25 registers,  first send a start bit, the module address (0XB0 for example) 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 MD25 has 17 registers numbered 0 to 16 as  follows;\u003c\/p\u003e\n\u003ccenter\u003e\n  \u003ctable width=\"500\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eRegister\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eName\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eRead\/Write\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eDescription\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eSpeed1\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Motor1 speed (mode 0,1) or speed (mode       2,3) \u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eSpeed2\/Turn\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eMotor2 speed (mode 0,1) or turn (mode 2,3) \u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e2\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e  Enc1a\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 1 position, 1st byte (highest byte) and capture count when read\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e3\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc1b\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 1 position, 2nd byte\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e4\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc1c\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 1 position, 3rd byte\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" width=\"68\"\u003e\u003cp align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc1d\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 1 position, 4th (lowest byte)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 6\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc2a\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 2 position, 1st (highest byte) and capture count when read\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e7\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc2b\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 2 position, 2nd byte\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 8\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc2c\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 2 position, 3rd byte\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 9\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc2d\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 2 position, 4th byte (lowest byte)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 10\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003eBattery volts\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eThe supply battery voltage\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 11\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003eMotor 1 current\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e The current through motor 1\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 12\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003eMotor 2 current\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e The current through motor 2\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 13\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003eSoftware Revision\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Software Revision Number\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 14\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Acceleration rate\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Optional Acceleration register \u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 15\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003eMode\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Mode of operation (see below)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 16\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Command\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Used for reset of encoder counts and module address changes\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSpeed1 Register\u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\n\u003c\/u\u003eDepending 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 and  direction of motor 1. The larger the number written to this register,  the more power is applied to the motor. A mode of 2 or 3 will control  the speed and direction of both motors (subject to effect of turn  register).\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSpeed2\/Turn Register\u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\n\u003c\/u\u003eWhen in mode 0 or 1 this register   operates the speed and direction of motor 2. When in mode 2 or 3 Speed2 becomes a Turn register, and any value in this register  is   combined with the contents of Speed1 to steer the device (see below). \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eTurn mode\u003cbr\u003e\n\u003c\/strong\u003eTurn mode looks at the speed register to decide if the direction is forward  or reverse. Then it applies a subtraction or addition of the turn value on  either motor.\u003c\/p\u003e\n\u003cp\u003eso if the direction is forward\u003cbr\u003e\n  motor speed1 = speed - turn\u003cbr\u003e\n  motor speed2 = speed + turn\u003cbr\u003e\n  \u003cbr\u003e\n  else the direction is reverse so\u003cbr\u003e\n  motor speed1 = speed + turn\u003cbr\u003e\n  motor speed2 = speed - turn\u003cbr\u003e\n  \u003cbr\u003e\n  If the either motor is not able to achieve the required speed for the turn  (beyond the maximum output), then the other motor is automatically changed by  the program to meet the required difference.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEncoder registers\u003cbr\u003e\n\u003c\/strong\u003eEach motor has its encoder count stored in an array of four bytes, together  the bytes form a signed 32 bit number, the encoder count is captured on a read  of the highest byte (registers 2, 6) and the subsequent lower bytes will be  held until another read of the highest byte takes place. The count is stored with the highest byte in the  lowest numbered register. The registers can be zeroed at any time by writing 32  (0x20) to  the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/md23tech.htm#command%20register\"\u003e command register\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eBattery volts\u003cbr\u003e\n\u003c\/strong\u003eA reading of the voltage of the connected battery is available in this  register. It reads as 10 times the voltage (121 for 12.1v).\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMotor 1 and 2 current\u003cbr\u003e\n\u003c\/strong\u003eA guide reading of the average current through the motor is available in this  register. It reads approx ten times the number of Amps (25 at 2.5A).\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSoftware Revision number\u003c\/strong\u003e\u003cbr\u003e\nThis register contains the   revision number of the software in the modules PIC16F873 controller - currently  1 at the time of writing.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAcceleration Rate \u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\n  \u003c\/u\u003eIf you   require a controlled acceleration period for the attached motors to reach there   ultimate speed, the MD25 has a register to provide this. It works by using a   value into the acceleration register and incrementing the power by that value.  Changing 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 with  an acceleration register value of 1, but 128 for a value of 2. The default  acceleration value is 5, meaning the speed is changed from full forward to full  reverse in 1.25 seconds. The register will accept values of 1 up to 10 which  equates to a period of only 0.65 seconds to travel from full speed in one  direction to full speed in the opposite direction.\u003cbr\u003e\n  \u003cbr\u003e\nSo to calculate the time (in seconds) for the   acceleration to complete :\u003c\/p\u003e\n\u003cp\u003eif new speed \u0026gt; current speed\u003cbr\u003e\n  steps = (new speed - current speed) \/ acceleration register\u003c\/p\u003e\n\u003cp\u003eif new speed \u0026lt; current speed\u003cbr\u003e\n  steps = (current speed - new speed) \/ acceleration register\u003cbr\u003e\n  \u003cbr\u003e\n  time = steps * 25ms \u003cbr\u003e\n  \u003cbr\u003e\n  For example :\u003c\/p\u003e\n\n\u003ccenter\u003e\n  \u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAcceleration register\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eTime\/step\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eCurrent speed\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eNew speed\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eSteps\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAcceleration  time\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e6.375\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e2\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e127\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e64\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e1.6s\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e3\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e80\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e27\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e0.675s\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e5 (default)\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e51\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e1.275s\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e10\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e26\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e0.65ms\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n\u003cp\u003e\u003cstrong\u003eMode Register\u003c\/strong\u003e\u003cbr\u003e\n  The mode register selects   which mode of operation and I2C data input type the user requires. The options   being:\u003cbr\u003e\n  \u003cstrong\u003e0\u003c\/strong\u003e,    (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).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003e1,\u003c\/strong\u003e    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).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003e2,\u003c\/strong\u003e    Writing a value of  2 to the   mode register will make speed1 control both motors speed, and speed2 becomes the   turn value. \u003cbr\u003e\n  Data is in the range of 0 (Full Reverse)  128   (Stop)  255 (Full  Forward).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003e3, \u003c\/strong\u003e   Mode 3   is similar to Mode 2, except that the speed registers are interpreted as signed   values. \u003cbr\u003e\nData is in the range of -128  (Full Reverse)  0   (Stop)   127 (Full Forward) \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eCommand register \u003c\/strong\u003e \u003c\/p\u003e\n\n\u003ccenter\u003e\n  \u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"107\" height=\"16\" colspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eCommand\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"32\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAction\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"16\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eDec\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"16\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eHex\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e32\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e20\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003eResets the encoder        registers to zero\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e48\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e30\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003eDisables automatic        speed regulation\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e49\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e31\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003eEnables automatic        speed regulation (default)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e160\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003eA0\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e1st in sequence to        change I2C address\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e170\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003eAA\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e2nd in sequence to        change I2C address\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e165\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003eA5\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e3rd in sequence to        change I2C address\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n\u003cp\u003e\u003cstrong\u003eChanging the I2C Bus Address\u003c\/strong\u003e\u003cbr\u003e\n  The I2C address can be changed by writing a new address to the MD25, or by  fitting\/removing the Address Jumper. \u003cbr\u003e\nTo change the I2C address of the MD25 by writing a new address you must  have only one  module on the bus. Write the 3 sequence commands in the correct order  followed by the address. Example; to change the address of an  MD25 currently at 0xB0 (the default shipped address) to 0xB4, write the  following to address  0xB0; (0xA0, 0xAA, 0xA5, 0xB4 ). These commands must be sent in the  correct sequence to change the I2C address, additionally,  no other command may be issued in the middle of the sequence. The  sequence must be sent to the command register at location  16, which means 4 separate write transactions on the I2C bus. Because  of the way  the MD25 works internally, there  MUST be a delay of at least 5mS between the writing of each of these 4  transactions. When done, you should label the MD25 with its address,  however if you do forget, just power it up without sending any  commands. The  MD25 will flash its address out on the green communication LED. One  long flash followed by a number of shorter flashes indicating its  address.  Any command sent to the  MD25 during this period will still be received and writing new speeds  or a write  to the command register will terminate the flashing.\u003c\/p\u003e\n\n\u003ccenter\u003e\n  \u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"120\" colspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAddress\u003c\/td\u003e\n        \u003ctd width=\"64\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Long Flash\u003c\/td\u003e\n        \u003ctd width=\"64\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eShort Flashes\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eDecimal\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Hex\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e176\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003eB0\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e178\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003eB2\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e180\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003eB4\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e2\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e182\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003eB6\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e3\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e184\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003eB8\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e4\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e186\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003eBA\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e188\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003eBC\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e6\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e190\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003eBE\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e7\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n  \u003cp\u003eTake care not to set more than one MD25 to the same address, there will be a bus collision and very unpredictable results.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAddress Jumper\u003c\/strong\u003e\u003cbr\u003e\n    \u003cbr\u003e\n  The I2C address can also be changed by fitting\/removing the Address Jumper. With  the jumper in place (factory default) the address is the same as programmed into  the module (factory default is 0xB0). Removing the jumper will change the  address to the next one up. The default address of 0xB0 will change to 0xB2 if  the jumper is removed. 0xBA would change to 0xBC. The exception is 0xBE, the  jumper has no effect on this address. After fitting or removing the Address  Jumper, the MD25's I2C address will not change until the next time the module is  powered on.  \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSchematics\u003c\/strong\u003e\u003cbr\u003e\n  The MD25 schematics: \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/images\/md23s1.jpg\" target=\"_blank\"\u003eSheet1\u003c\/a\u003e \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/images\/md23s2.jpg\" target=\"_blank\"\u003eSheet2\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMechanical\u003c\/strong\u003e\u003cbr\u003e\n\u003c\/p\u003e\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/m25b.jpg\" width=\"578\" height=\"489\"\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868530009,"sku":"MD25\/A","price":57.27,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890036916569,"sku":"MD25","price":57.27,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/md25_4.jpg?v=1695766423","url":"https:\/\/xernuqvalzi.pro\/products\/dual-12volt-2-8amp-h-bridge-motor-drive","provider":"Robot Italy","version":"1.0","type":"link"}