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.

34 questions
7
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
  • 73
  • 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
0 answers

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 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
0 answers

How to shift DAC 0/5V output to ±5V to control speaker ? (ESP32)

Considering the following limited knowledge I have: Arduino boards analogWrite really is a PWM and can't output arbitrary voltages like 1.23V or 4.56V. Furthermore, most pins have a max frequency of 500-1000Hz Audio range well above 1000Hz ESP32…
MB101874
  • 11
  • 2
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

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 them and got myself Johnson geared motors. Now…
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…
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,809
  • 9
  • 18
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
2 3