Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

l298 current sensing

Status
Not open for further replies.

elleader

New Member
i am using l298 to control 2 dc motors & i used pins 1 & 15 to sense the current through 0.5 ohm resistor by ACD in PIC , but there is a problem that when the load increase at the first motor the current at the second affected ,the same for the second motor too, i don't know why , i can't know the real current of each motor because of this problem , i need help :confused: ,,
thanx in advance
 
Last edited:
You could have a common resistance. Often grounding issues are important. There is no way ideally that the currents should interfere without a common path/resistive element. Switching glitches can be misleading as they can capacitively couple through parasitics. As they say, the devil is in the detail. How have you connected your grounds for the PIC and the L298, and how are they connected together? A diagram would help.
 
You could have a common resistance. Often grounding issues are important. There is no way ideally that the currents should interfere without a common path/resistive element. Switching glitches can be misleading as they can capacitively couple through parasitics. As they say, the devil is in the detail. How have you connected your grounds for the PIC and the L298, and how are they connected together? A diagram would help.

Imageshack - overu.png does it help
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top