Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem by L298 Schematic

Status
Not open for further replies.

HAIDE

Junior Member level 3
Joined
Feb 9, 2012
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
GERMANY
Activity points
1,525
Hi, I have designed a PCB, and I made it, but there is a problem, I used L298 while I connected the L298's EnA to Interrupt port of microcontroller also L298's In1 and In2 to OC1 and OC2. The picture of this schematic is attached.
The question is, is anyway exists to do PWM control of a DC motor? when I made the PCB and it is not possile to change the PCB:sad:
 

Attachments

  • HAIDEG.png
    HAIDEG.png
    70.8 KB · Views: 87
Last edited:

You should use PIC microprocceser and software is Mikroeletronika, it have already PWM librery easy use with L298
 

EnA pin of L298 is an INPUT to L298. It enables the 1 and 2 half-bridges. If you connect to the uC's input port, then your system will not work - the line will be left floating causing all sorts of problems.

You need to reconfigure your port pin for EnA to be set High or Low. So just change your s/w to do this.

And yes - of course there several ways to do PWM control of a dc motor, and you can do it without changing your Pcb. Only s/w changes.
 
  • Like
Reactions: HAIDE

    HAIDE

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top