Questions tagged [h-bridge]

A circuit which allows voltage to be applied in either direction across a load. A common application is switching the drive direction of a motor.

Filter by
Sorted by
Tagged with
1 vote
0 answers
48 views

How can I get a holding torque on dc motor if I am using an H-bridge?

I am trying to build a robotic arm and also using a lot of metal in it, now the real challenge for me have arrised at first I was using tower pro mg995 but that servo is worse than scrap. So I ditched ...
user avatar
1 vote
0 answers
22 views

DC Motor Shuddering

I am testing my BTS7960 Module with my UNO for bi-directional rotation of DC Motor. I am using a small DC motor as a test (like the one here) and I am powering the UNO via USB cable. The problem is ...
user avatar
1 vote
1 answer
96 views

Arduino H-bridge for rc car

I've got an old rc car laying around, of which i would like to swap the insides, but re-use some of the parts that are already in there. The car runs 2 dc motors: one for steering, one for throttle. ...
user avatar
1 vote
1 answer
217 views

Connecting Seeeduino XIAO 3.3 V out to dual H-bridge driver module (L298N) with TTL compatible inputs

The H-bridge module uses TTL compatible logic, but the chip allows these values (based on the L298N data sheet): Symbol Parameter Min. Max. ViL Input Low Voltage (pin 5, 7, 10, and 12) -0.3 V 1.5 V ...
user avatar
  • 177
0 votes
0 answers
28 views

How to control 2 micro magnetic actuators with esp12e

i want to control two micro magnetic actuators (just two coil where I want to flow current in +to- and-to+ each motor for wifi airplane) with esp12e Do I need an h-bridge like l293d ? Also I will be ...
user avatar
1 vote
1 answer
56 views

How To Activate H-Bridge?

My understanding of the H-bridge is, that activating in1 or in2 will direct the 12V current to the motor, so it either spins right/left. Not that in1 or in2 is the actual current passing through to ...
user avatar
2 votes
2 answers
5k views

L298N Dual Motor Controller Enable Pin has power but motors not working

I am trying to get the L298N to work with a simple DC motor. For now, I have simplified the setup and the code to the basics to try to get it to work. I am using the following wiring setup with no ...
user avatar
1 vote
2 answers
246 views

maximum interrupt-based PWM frequency at 500 Hz

I need to control a 24 kHz ultrasonic transducer and decided to use an arduino uno I have lying around. Using tone() or the atmega's hardware pwm is not very suitable because I need two 50/50 square ...
user avatar
  • 1,754
0 votes
1 answer
50 views

H Bridge for microcontroller power management?

Is it fine to use L298 N Dual H Bridge Stepper Motor Driver Module to control power of other ICs in a multiple microcontroller setup? I intend to reduce power consumption in by powering communication ...
user avatar
2 votes
0 answers
45 views

Can 2 H-Brides be controlled by one Arduino?

The three motors are from windshield wipers, with one of the brushes disconnected in each. The controllers are BTS7960 43A modules One Bridge for two drive motors (speed and direction), and the ...
user avatar
0 votes
2 answers
157 views

How do I create a state machine for my purpose?

I am new to Arduino. I have a motor which drives a sliding door back and forth. The motor is connected to an H bridge which has two control pins (direction, speed). I have a switch which is intended ...
user avatar
  • 1
0 votes
1 answer
507 views

Making an H-bridge with transistors [closed]

I am trying to make an H-bridge with two NPN and two PNP transistors to drive a motor which works fine on the 5 V Arduino. I have a schematic in the picture. When I use a simple code to have pin 9 ...
user avatar
  • 19
1 vote
2 answers
438 views

DC motor with L289N driver cannot set RPM lower than 130

My setup is using an Uno r3, and the motor driver is an L289N. I am going to set it to run at a lower RPM, but when adjusting enA or enB to set to below 130, it won't spin. // connect motor ...
user avatar
  • 11
5 votes
1 answer
4k views

Two batteries sharing ground?

I need to power my arduino and 2 DC motors requiring 6V each, I want to power the DC motors with a 6V battery through the vM pin on an h-bridge and use a 9V battery to power the Arduino itself. On my ...
user avatar
0 votes
1 answer
385 views

Multiple power supply for arduino controlled dc motor

I’m working on a project where I want to control a motorized fader with an arduino. I have a dual H-Bridge board to control the motor, but the thing is that it is a 10V motor. I’m thinking of using ...
user avatar
0 votes
1 answer
201 views

sending 16 bit command via SPI to a NCV7719 (half bridge)

I am trying to send a 16 bit command to a Half bridge (data sheet here http://www.onsemi.com/pub/Collateral/NCV7719-D.PDF) to open one of the transistors to turn on an LED. at the bottom of the data ...
user avatar
  • 41
1 vote
2 answers
438 views

motor hard stop vs coasting

I'm using this motor driver with 2 of these motors to control a skid steer robot. To get the robot to coast to a stop, I use this code: analogWrite(MotLPWM, 0); //coast to stop analogWrite(...
user avatar
0 votes
1 answer
199 views

Arduino powered car not running when touching ground

I hacked a cheap car I connected both motors to L298N Dual H-Bridge Motor Controller and all things are working good. Motors are running fast. But when I put the car on the ground to run. It runs so ...
user avatar
  • 3
2 votes
3 answers
547 views

How can I alter my program to read PWM signals from Arduino Mega?

I am new to programming and Arduinos but I've decided to give a go for a project. I'm after a code that will read PWM signals from a RC receiver (Specifically aileron and throttle) and output this as ...
user avatar
2 votes
1 answer
1k views

How can I connect H-Bridge motor driver (using four 2n222 transistors) to Arduino? [closed]

First of all I'm a noob. I was trying to do the H-Bridge using 2N2222 controlled by an Arduino Uno. This is the design---> I joined A1 and A2 to form a common terminal (say A), similarly, I joined ...
user avatar
-1 votes
1 answer
64 views

Touch-screen, 3 H-bridges and 3 sensors on Arduino Nano 3.0

I am using an Arduino Nanao andI am wondering if there is a way to connect an 2 inch touchscreen, 3 H-bridges (it takes 3digital pins to power one of them and 1 additional to control the voltage) and ...
user avatar
1 vote
4 answers
7k views

Arduino Driver can I use only PNP?

is it possible to use a normal PNP transistor to drive a motor? I'm kinda new to this stuff so I want to be on the safe side, so I don't damage my Arduino Uno because of the motor. I have made a ...
user avatar
0 votes
1 answer
3k views

How to wire an LMD18200 and an arduino?

Ive been working with a motor project for a while and i bought this H-bridge(LMD18200). I dont understand how im supposed to connect it to the arduino. Here is the datasheet for the lmd18200:
user avatar
  • 77
0 votes
3 answers
742 views

How to properly reverse DC motor direction with 2 limit switchws

Hello i am trying to reverse a dc motor direction upon hitting either limit switch. but noting is working can some one point me in right direction. all example i find use stepper motors and step count....
user avatar
1 vote
2 answers
4k views

How to connect an L293D and an MPU6050 to run together?

I'm wondering how to connect the L293D (H-bridge) and an MPU 6050. I'm using 1 Arduino Uno, 2 DC motors, 1 MPU6050 and an L293D. When I tried this, I got some sparks/smoke from the breadboard and ...
user avatar
  • 77
1 vote
1 answer
333 views

Using L298N to control DC Motor

I am developing a system where I want to control the direction of the DC motor (12V) from Arduino Mega/Uno. For that, I am using L298N H-bridge chip without the board as shown below. My question is,...
user avatar
1 vote
1 answer
2k views

DC motor kickback diode?

I have the following circuit: And I know it works and that the diode protects the negative voltage from flowing back into the transistor. This is essentially the circuit: Could someone illustrate ...
user avatar
  • 113
1 vote
2 answers
4k views

Varying motor speed with the L293D

Im using a potentiometer to control the speed of two generic 6-8V DC motors. The potentiometer input is scaled from 0-1023 to 0-255, I then use the analogWrite() function to write this value to the ...
user avatar
0 votes
1 answer
1k views

Problems with L293D

The motor are not rotating in the above circuit . Or rather the Voltage between the two Motor Terminal is zero. I have checked the Pin 10 & 11 and Pin 12 & 13. They are fine and produces ...
user avatar
  • 109
0 votes
1 answer
258 views

Switching a dual h bridge in parallel

I'm using a dual h bridge to control two dc motors on an inverted pendulum (cart-pole system). At the moment, I have to send two different pulse width modulated signals to the two enable pins to ...
user avatar
  • 351
2 votes
0 answers
45 views

Bridge */arduino/analog/2 returns a blank page

Had some start up difficulties. But updated the YUN and IDE to the latest version. Using * "/arduino/digital/13/1" works as supposed (turns on the LED) - it's just a bit slow. But I can't see why ...
user avatar
  • 121
1 vote
1 answer
828 views

External access to Yun - request not recognised as HTML

I am trying to access my Yun externally. My router recognises traffic on Port XXXXX and forwards it to my Arduino Yun. I have the below code working internally and now trying to adapt this to work ...
user avatar
  • 161