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.

36 questions
8
votes
1 answer

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 breadboard I have a dedicated power line and…
Kartashuvit
  • 83
  • 1
  • 3
2
votes
0 answers

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 the analogs shouldn't work. I tried to connect it…
Norfeldt
  • 121
  • 3
2
votes
2 answers

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 button or pot: Only 1 motor, I am using a 2S lipo…
LonelyLodge
  • 33
  • 2
  • 4
2
votes
1 answer

Can 2 H-Bridges 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 second bridge for a third [modified servo-like] motor…
etorobot
  • 21
  • 1
2
votes
3 answers

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 4 PWM signals to drive two H Bridges (Right motor…
sacred230
  • 21
  • 2
2
votes
1 answer

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

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 B1 and B2 to form B. Now I connected A and B to 2…
1
vote
1 answer

What are the Vs and Vss pins on an L293D chip for?

I made a simple test circuit to help me understand the L293D H-bridge that comes with the Arduino starter kit. Digital output pins of the Arduino are wired to the input pins on the H-bridge. Arduino code alternately sends 1/0 and 0/1 down those two…
Jack M
  • 123
  • 3
1
vote
1 answer

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 for external (adapted from…
DanAbdn
  • 161
  • 5
1
vote
0 answers

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 whenever I try to shift it to take power from my…
1
vote
1 answer

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. The dc motors are both connected to H-bridges in…
1
vote
1 answer

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 ViH Input High Voltage (pin 5, 7, 10, and…
MeSo2
  • 177
  • 10
1
vote
1 answer

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 the 12V motor. These are the schematics. I am…
GeorgeWTrump
  • 93
  • 2
  • 10
1
vote
2 answers

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 waves with a phase difference of pi (which is…
Sim Son
  • 1,878
  • 13
  • 21
1
vote
2 answers

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 controller pins to Arduino digital pins // motor one int…
Hamman
  • 11
  • 1
1
vote
2 answers

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(MotRPWM, 0); digitalWrite(MotL1, HIGH); …
1
2 3