Sorry I’m even later to the party – it’ now mid 2023 a full decade since this article was written! :P, but I 100% agree with bruceg – and since I found this today as one of the top results when searching Google for how to use this board, clearly contribution is still relevant in 2023…. This board was thoughtfully designed for HOBBYISTS to be able to experiment with and learn from as well as being a robust (and extremely cheap) dual half bridge driver in finished projects. This very versatile module can drive (up to 24V, 30A each) 2 uni-directional motors where the switching side for each is selected via setting Left (or Right) to high for high side driving or to low for low side sinking, then applying independant PWM to each Inhibit pin. (Requires a special lookup table, but microcontrollers are quite good at reading these)Īlso lots of DC motor applications don’t need a reverse, just a high voltage, large power, High OR Low side PWM. It also can drive a high power, 4 wire stepper motor (or more likely a pair of them at opposite sides of a heavy CNC work table) in reversable, single step mode. Invert the Left & Right PWM (in software or hardware) and you get bi-directional control of 1 brushed DC motor. If the user chooses to combine the 2 into a full-bridge that’s fine. The board is advertized as a dual half-bridge driver. I know this is 2 years late, but dis-information needs to be corrected whenever it is found. A 5k or 10k potentiometer is used to control the speed.Īuthor Dr Rainer Hessmer Posted on DecemOctoCategories Robotics Tags Arduino B+ and B- at the top of the diagram represent the power supply for the motor. The following Fritzing diagram illustrates the wiring. Int forwardPWM = (sensorValue - 512) / 2 Int reversePWM = -(sensorValue - 511) / 2 the lower half of it we use for reverse rotation the upper half for forward rotation sensor value is in the range 0 to 1023 Int sensorValue = analogRead(SENSOR_PIN) Int LPWM_Output = 6 // Arduino PWM output pin 6 connect to IBT-2 pin 2 (LPWM) Int RPWM_Output = 5 // Arduino PWM output pin 5 connect to IBT-2 pin 1 (RPWM) Int SENSOR_PIN = 0 // center pin of the potentiometer IBT-2 pins 5 (R_IS) and 6 (L_IS) not connected IBT-2 pins 3 (R_EN), 4 (L_EN), 7 (VCC) to Arduino 5V pin One side pin of the potentiometer (either one) to ground the other side pin to +5V Speed and direction controlled by a potentiometer attached to analog input 0. IBT-2 Motor Control Board driven by Arduino. In this post I describe a slightly more complete solution that uses an Arduino controller with connected potentiometer to drive a motor via the IBT-2 module from full reverse speed to full forward speed.įor reference here is the description of the input ports and the two supported usage modes (image taken from one of the ebay postings). This thread on the Arduino forum was useful but the solution wastes a few pins and does not demonstrate bidirectional motor control. I am not sure whether the heat sink is sufficient for handling 43A but even if one does not drive the unit to its limits the specifications are still impressive given the typical price point of this module (currently between $13 and $17 including free shipping from China). There is relatively little information available about how to hook up the module with an Arduino controller. The link provides more details but here are a few key parameters. Use ATmega32u4, 2 serial ports.The IBT-2 H-bridge module from wingxin is an inexpensive, high power motor driver based on two BTS7960 chips and is readily available from various ebay vendors see e.g. Suitable for low cost and communication demand of hobbyistsĭFRduino Mega has 54 digital pins and 16 analog pins, 4 UART channels. Mega 2560 has 256KB FLASH, two times of Mega1280, which could offer a larger create space for your projects.ĭFRobot Arduino Compatible Microcontrollers SeriesĪrduino UNO R3, suitable for Arduino beginners and hobbyistsĭFRobot Leonardo is a low-cost controller, integrated with Xbee and SPI. You can simply power it with a USB cable or a standard adapter or use a battery as external power. The board comes with a bootloader that enables users to download programs directly via a USB. It features 54 digital I/O ports, 16 analog signal input ports, 4 UARTs(hardware serial ports), and a 16MHz crystal oscillator. What’s more, DFRduino Mega2560 can work steadily even when only powered by a 3.7V lithium battery.ĭFRduino Mega2560 is an ATmega2560-based microcontroller that provides full compatibility with "Arduino MEGA2560“. In addition to optimizing the overheating issue, it offers a wider input voltage range. The new version of DFRduino Mega2560 has improved the VIN power supply circuit by changing the easily overheat LDO to DC-DC circuit for ensuring safety and reliability in long-term use.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |