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
1answer
41 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 ...
0
votes
0answers
26 views

pin 12 not working anymore in both 2 arduino mega after a little time working as an analogwrite

I faced a problem that I use analogwrite on pin 12 on arduino mega for a little time, and then it did not work anymore. I tried with another new arduino and then it happen again. the analogwrite not ...
0
votes
1answer
708 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 ...
1
vote
2answers
93 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 ...
0
votes
1answer
29 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 ...
0
votes
0answers
29 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 ...
1
vote
2answers
3k 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 ...
0
votes
2answers
124 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 ...
-1
votes
1answer
157 views

H bridge with transistors and an Arduino [closed]

I made an H bridge consisting of 2 PNP and 2 NPN transistors. See the schematic below. Here is the problem: When I set pin 9 on the Arduino HIGH and pin 8 LOW (now the upperright PNP and buttomleft ...
0
votes
1answer
350 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 ...
-1
votes
1answer
57 views

H bridge with transistors not enough power [closed]

I am making an autonomous car from an old RC car. For the steering I made my own H-bridge, consisting of 2 PNP and 2 NPN transistors. When I connect everything, the motor works fine. But it hasn't got ...
1
vote
2answers
259 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 ...
0
votes
1answer
133 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 ...
3
votes
1answer
2k 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 ...
0
votes
1answer
202 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 ...
1
vote
1answer
1k views

H-bridge with 2N2222 transistors - input voltage is chopped [closed]

The H-bridge I put together works but not as expected unfortunately because the output voltage is limited to about 2.6V, regardless of the input voltage or resistors values. I've already tried with ...
1
vote
2answers
311 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(...
1
vote
1answer
784 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 ...
1
vote
2answers
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 ...
-1
votes
1answer
55 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 ...
2
votes
3answers
481 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 ...
0
votes
1answer
170 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 ...
2
votes
1answer
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 ...
1
vote
4answers
5k 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 ...
1
vote
1answer
2k views

Arduino : How to control AC Motor Speed [closed]

Controlling speed of DC Motor from arduino could be done via PWM and H-Bridge, but how can i control an AC Motor? Thank you.
0
votes
1answer
2k 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:
0
votes
3answers
472 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....
1
vote
1answer
330 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,...
1
vote
1answer
1k 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 ...
0
votes
1answer
191 views

How many transistors are there in an H Bridge? [closed]

I've controlled a motor going one direction using only one transistor. With an H Bridge, I can make a motor go forward, backward and brake. Does an H Bridge have only three transistors inside it to ...
0
votes
2answers
2k views

How can I make an H-bridge using NPN transistor? [closed]

I am new to arduino and I wanted to make an h-bridge because it is not easily available in india. I want to control the h-bridge using arduino uno r3 board and 2n2222A transistors and 1n4001 Diodes if ...
0
votes
1answer
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 ...
0
votes
1answer
241 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 ...
1
vote
0answers
40 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 ...