{"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\n\u003ctr bgcolor=\"#0033FF\"\u003e\n\n\u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e \u003cstrong\u003eTechnical Specifications:\u003c\/strong\u003e\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd class=\"ProductDescrWhite\"\u003e Voltage\u003c\/td\u003e\n\n\u003ctd class=\"ProductDescrWhite\"\u003e 12V\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd class=\"ProductDescrGray\"\u003e Current\u003c\/td\u003e\n\n\u003ctd class=\"ProductDescrGray\"\u003e Up to 2.8A for each motor\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd class=\"ProductDescrWhite\"\u003e Dimensions\u003c\/td\u003e\n\n\u003ctd class=\"ProductDescrWhite\"\u003e 71mm x 60mm\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp\u003e\n\n Overview\u003cbr\u003e\n The MD25 is a robust I2C dual motor driver, designed for use with our EMG30 motors. Main features are:\u003c\/p\u003e\n\n\u003cp\u003e 1. 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\n\u003cp\u003e \u003cstrong\u003eMD25 Connections\u003c\/strong\u003e\u003c\/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/md25a.jpg\" width=\"635\" height=\"384\"\u003e\u003c\/p\u003e\n\n\u003cp align=\"left\"\u003e \u003cstrong\u003eMotor Noise Suppression\u003cbr\u003e\u003c\/strong\u003e \nWhen 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\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\n\u003cp align=\"left\"\u003e \u003cstrong\u003eAutomatic Speed ​​regulation\u003cbr\u003e\u003c\/strong\u003e \nBy 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\n\u003cp\u003e \u003cstrong\u003eControlling the MD25\u003cbr\u003e\n\u003c\/strong\u003e The 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 \nI2C 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\n\u003ccenter\u003e\n\n\u003ctable width=\"500\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n\n\u003ctbody\u003e\n\n\u003ctr\u003e\n\n\u003ctd align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Register\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Name\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Read\/Write\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Description\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 0\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e Speed1\u003c\/p\u003e\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e R\/W\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Motor1 speed (mode 0.1) or speed (mode 2.3)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e Speed2\/Turn\u003c\/p\u003e\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003e R\/W\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e Motor2 speed (mode 0.1) or turn (mode 2.3) \u003c\/p\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e 2\u003c\/p\u003e\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e Enc1a\u003c\/p\u003e\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e Read only\u003c\/td\u003e\n\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\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e3\u003c\/p\u003e\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc1b\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 1 position, 2nd byte\u003c\/td\u003e\n\n\n\u003c\/tr\u003e \n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e 4\u003c\/p\u003e\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc1c\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 1 position, 3rd byte \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd align=\"center\" width=\"68\"\u003e\u003cp align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/p\u003e\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc1d\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 1 position, 4th (lowest byte)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 6\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc2a\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 2 position, 1st (highest byte) and capture count when read \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e7\u003c\/p\u003e\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc2b\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 2 position, 2nd byte\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 8\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc2c\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 2 position, 3rd byte\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 9\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc2d\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 2 position, 4th byte (lowest byte)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 10\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Battery volts\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e The supply battery voltage\u003c\/p\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e11\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Motor 1 current\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e The current through motor 1\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 12\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Motor 2 current\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e The current through motor 2\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 13\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Software Review\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003e Read only\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Software Revision Number\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 14\u003c\/td\u003e\n\n         \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003eAcceleration rate\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e R\/W\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Optional Acceleration register\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 15\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Modes\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003e R\/W\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Mode of operation (see below)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 16\u003c\/td\u003e\n\n\u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Command\u003c\/td\u003e\n\n\u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003e R\/W\u003c\/td\u003e\n\n\u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Used for reset of encoder counts and module address changes\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/tbody\u003e\n\n\n\u003c\/table\u003e\n\n\n\u003c\/center\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\u003cp\u003e \u003cstrong\u003eSpeed1 Register\u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\n\u003c\/u\u003e 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 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\n\u003cp\u003e \u003cstrong\u003eSpeed2\/Turn Register\u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\n\u003c\/u\u003e When 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\n\u003cp\u003e \u003cstrong\u003eTurn mode\u003cbr\u003e\u003c\/strong\u003e \nTurn 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\n\u003cp\u003e so 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\n\u003cp\u003e \u003cstrong\u003eEncoder registers\u003cbr\u003e\u003c\/strong\u003e \nEach 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\"\u003ecommand register\u003c\/a\u003e .\u003c\/p\u003e\n\n\u003cp\u003e \u003cstrong\u003eBattery volts\u003cbr\u003e\n\u003c\/strong\u003e A 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\n\u003cp\u003e \u003cstrong\u003eMotor 1 and 2 current\u003cbr\u003e\n\u003c\/strong\u003e A guide reading of the average current through the motor is available in this register. It reads approximately ten times the number of Amps (25 at 2.5A).\u003c\/p\u003e\n\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\n\u003cp\u003e \u003cstrong\u003eAcceleration Rate\u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\u003c\/u\u003e \nIf 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 increasing 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\n So to calculate the time (in seconds) for the acceleration to complete:\u003c\/p\u003e\n\n\u003cp\u003e if new speed \u0026gt; current speed\u003cbr\u003e \nsteps = (new speed - current speed) \/ acceleration register\u003c\/p\u003e\n\n\u003cp\u003e if 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\n\u003ccenter\u003e\n\n\u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n\n\u003ctbody\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"130\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAcceleration register\u003c\/td\u003e\n\n\u003ctd width=\"83\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eTime\/step \u003c\/td\u003e\n\n\u003ctd width=\"110\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Current speed\u003c\/td\u003e\n\n\u003ctd width=\"92\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eNew speed\u003c\/td\u003e\n\n\u003ctd width=\"86\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eSteps \u003c\/td\u003e\n\n\u003ctd width=\"163\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Acceleration time \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"130\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"83\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e 25ms\u003c\/td\u003e\n\n\u003ctd width=\"110\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e 0\u003c\/td\u003e\n\n\u003ctd width=\"92\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e 255\u003c\/td\u003e\n\n\u003ctd width=\"86\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e 255\u003c\/td\u003e\n\n\u003ctd width=\"163\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e 6,375 \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 2\u003c\/td\u003e\n\n\u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 25ms\u003c\/td\u003e\n\n\u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 127\u003c\/td\u003e\n\n\u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 255\u003c\/td\u003e\n\n\u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 64\u003c\/td\u003e\n\n\u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 1.6s \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e 3\u003c\/td\u003e\n\n\u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e 25ms\u003c\/td\u003e\n\n\u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e 80\u003c\/td\u003e\n\n\u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e 0\u003c\/td\u003e\n\n\u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e 27\u003c\/td\u003e\n\n\u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e 0.675s \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 5 (default)\u003c\/td\u003e\n\n\u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 25ms\u003c\/td\u003e\n\n\u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 0\u003c\/td\u003e\n\n\u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 255\u003c\/td\u003e\n\n\u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 51\u003c\/td\u003e\n\n\u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 1.275s \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"130\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e 10\u003c\/td\u003e\n\n\u003ctd width=\"83\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e 25ms\u003c\/td\u003e\n\n\u003ctd width=\"110\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e 255\u003c\/td\u003e\n\n\u003ctd width=\"92\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e 0\u003c\/td\u003e\n\n\u003ctd width=\"86\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e 26\u003c\/td\u003e\n\n\u003ctd width=\"163\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e 0.65ms\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/tbody\u003e\n\n\n\u003c\/table\u003e\n\n\n\u003c\/center\u003e\n\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\n Data is in the range of -128 (Full Reverse) 0 (Stop) 127 (Full Forward)\u003c\/p\u003e\n\n\u003cp\u003e \u003cstrong\u003eCommand register\u003c\/strong\u003e \u003c\/p\u003e\n\n\n\u003ccenter\u003e\n\n\u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n\n\u003ctbody\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"107\" height=\"16\" colspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Command \u003c\/td\u003e\n\n\u003ctd width=\"696\" height=\"32\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Action\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e \n\u003ctd width=\"52\" height=\"16\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Dec\u003c\/td\u003e\n\n\u003ctd width=\"53\" height=\"16\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eHex \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"52\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e 32\u003c\/td\u003e\n\n\u003ctd width=\"53\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e 20\u003c\/td\u003e\n\n\u003ctd width=\"696\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e Resets the encoder registers to zero \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"52\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 48\u003c\/td\u003e\n\n\u003ctd width=\"53\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e 30\u003c\/td\u003e\n\n\u003ctd width=\"696\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e Disables automatic speed regulation \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"52\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e 49\u003c\/td\u003e\n\n\u003ctd width=\"53\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e 31\u003c\/td\u003e\n\n\u003ctd width=\"696\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enables automatic speed regulation (default) \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e 160\u003c\/td\u003e\n\n\u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e A0\u003c\/td\u003e\n\n\u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e 1st in sequence to change I2C address \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e 170\u003c\/td\u003e\n\n\u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e AA\u003c\/td\u003e\n\n\u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e 2nd in sequence to change I2C address \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e 165\u003c\/td\u003e\n\n\u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e A5\u003c\/td\u003e\n\n\u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e 3rd in sequence to change I2C address\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/tbody\u003e\n\n\n\u003c\/table\u003e\n\n\n\u003c\/center\u003e\n\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\n\u003ccenter\u003e \n\u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n\n\u003ctbody\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"120\" colspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAddress\u003c\/td\u003e\n\n\u003ctd width=\"64\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eLong Flash\u003c\/td\u003e\n\n\u003ctd width=\"64\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eShort Flashes \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Decimal\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Hex\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e 176\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e B0\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e 0\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e 178\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e B2\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e 1\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e 180\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e B4\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e 2\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e 182\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e B6\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e 3\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e 184\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e B8\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e 4\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e 186\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e BA\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e 5\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e 188\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e BC\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e 6\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e 190\u003c\/td\u003e\n\n\u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e BE\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e 1\u003c\/td\u003e\n\n\u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e 7\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/tbody\u003e\n\n\n\u003c\/table\u003e\n\n\n\u003c\/center\u003e\n\n\u003cp\u003e Take 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\n\u003cp\u003e \u003cstrong\u003eAddress Jumper\u003c\/strong\u003e\u003cbr\u003e\n\u003cbr\u003e \nThe 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\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\n\u003cp\u003e \u003cstrong\u003eMechanical\u003c\/strong\u003e\u003cbr\u003e\n\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/m25b.jpg\" width=\"578\" height=\"489\"\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 day","offer_id":47169868530009,"sku":"MD25\/A","price":57.27,"currency_code":"EUR","in_stock":false},{"title":"2-4 Weeks","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\/en\/products\/dual-12volt-2-8amp-h-bridge-motor-drive","provider":"Robot Italy","version":"1.0","type":"link"}