• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32, L298 H-Bridge and micro servo incompatibility

Q&A Forum › Category: ESP32 › ESP32, L298 H-Bridge and micro servo incompatibility
0 Vote Up Vote Down
Nogueira asked 2 years ago

I\’m putting together a project for a car with remote control via BT. The traction and steering systems are composed by a DC motor with a L298 H Bridge module and a 9g micro servo motor with the ServoESP32-master library. I\’m having an incompatibility problem between the micro servo and the H bridge when I control the DC motor via PWM on pin EN1, with variable speed. In this case, the micro servo does not work. But, with each one of them working separately or, then, together but with the EN1 pin jumpered (fixed speed), everything works, Has anyone ever experienced this? Any suggestion? If so, I can send more details of the project assembly for evaluation. I\’m Brazilian and, considering that the portal\’s administrators are Portuguese, I can express myself in Portuguese, if that facilitates communication.

Question Tags: L298 module and micro servo don´t work together
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Which PWM channels are you using to control the speed?
Which ESP32 board are you using?
Regards,
Sara

0 Vote Up Vote Down
Nogueira answered 2 years ago

tks by return, Sara
Board: Doit ESP32 DevKit Rev1 (30 pns)
I´ve tried PWM channels:
Micro servo: 13
Bridge H: 14 for EN1; 27/26 for IN1/IN2
I have tried some anothers pins, following specifications for ESP32 board PWM pins.
In order to check if there was any connection misfunction, I got a prototype mounted on a breadbord. Unsuccessful.

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi again.
 
How are you defining the PWM channels that you want to use?
 
Which  PWM channel number are you using for the Bridge H and how are you specifying it?
 
Regards,
Sara
 
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.