HBridge - HBridge

How To Add This Control To Your Project

Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the HBridge category tab
Step #5) Press the HBridge icon to add the control to your project




Description

An HBridge (such as the EZ-Robot 2.5 Amp HBRidge) can be connected to the EZ-B Robot Controller by 4 digital signal wires. 2 wires per motor are used. This Movement Panel operates like the other Movement Panels and can be controlled by scripting or other controls that interact with it. Movement Panels are controls which move your robot. The Movement Panel directions can be modified by other controls, such as camera, voice, script, joystick and radar controls

EZ-Builder allows multiple physical EZ-B Robot Controllers to be connected at once. The Movement Controls only operate on the first board (Board 0)

*Note: This Control does not provide PWM speed. If you wish to control speed of your robot, use the PWM Hbridge Control.

1) Connect L298 VCC to your battery supply positive or the EZ-B power pin on D0 (red)
2) Connect L298 GND to your battery supply negative or the EZ-B power pin on D0 (black)
3) Connect L298 IN1 to EZ-B Pin D0
4) Connect L298 IN2 to EZ-B Pin D1
5) Connect L298 IN3 to EZ-B Pin D2
6) Connect L298 IN4 to EZ-B Pin D3
7) Connect L298 OUT1 to Motor 1
8) Connect L298 OUT2 to Motor 2

hbridge.jpg

*Note: Because the above diagram is powering the HBridge off VCC (direct from battery), the switch will need to be Pressed Down. Although, please note that some HBridge versions reverse the direction of the switch and it will operate better UP. You will know which way the switch needs to be because the motors will not turn if the switch is incorrect position.


Video

Related Tutorials & Activities

Movement Panels

Movement Panels

One of the powerful features of EZ-Builder is the concept of Movement Panels. A Movement Panel is a control which is responsible for how your robot moves in directions (forward, left, right, stop, r...

Last Modified on 2/11/2017

Created by EZ-Robot


My Current Dewy Drive Train Setup + Info

Ok. So. People who might be unsure how they're supposed to connect h-bridges to the ez-b V4 will wanna check this one out for an idea. I made this video to show people how my Dewy drivetrain is currently setup. If it helped anyone, let me know! If I was wrong at any point in the video leave a comment on it. Thanks guys, And I hope it helps! Tech.

Last Modified on 9/15/2015

Created by Cardboard Hacker


L298n H-bridge

Setting Up L298n H-Bridge This tutorial assumes only a single combined speed control for both motors. For independent speed of each motor the tutorial will be slightly different - See post #2 of this topic. Assuming ports D15, D16, D17, D18 & D19 D15 Signal > Left Trigger A (In 1) D16 Signal > Left Trigger B (In 2) D17 Signal > Right Trigger A (In 3) D18 Signal > Right Trigger B (In 4) D19 VCC > H-Bridge 5V D19 Ground > H-Bridge Ground D19 Signal > H-Bridge...

Last Modified on 9/15/2015

Created by Rich


Use Arduino for Wheel Encoder Counter

Have your Arduino count motor encoder rotations. Connect the Arduino to your EZ-B UART #0 port to send the encoder counts.

Last Modified on 5/26/2016

Created by ezrobot


Control Meccano Meccanoid

Connect a Meccanoid to your EZ-B by using an Arduino as the translator.

Last Modified on 6/5/2016

Created by ezrobot


Related Articles: N/A