Just wanna ask i have this problem in my line follower that my when i turn on the power the left motor always running even if there is no detection from my sensor?
You have to isolate where is the problem. Have you got an oscilloscope to check whether there is PWM waveform (or noise) on the left motor control pins when there is no detection from the sensor. Or you can disconnect the connection from the PIC to the left motor control pins, if motor stops, that means the cause is from the PIC, if motor still running, the cause is from the L293D. Hope this helps.
I tried to disconnect the RB0-RB1 from the pic to the motor control pins of L293D when i turn on the supply the motor halt. I can figure out why in the world pin RB0 is always high?
I tried to disconnect the RB0-RB1 from the pic to the motor control pins of L293D when i turn on the supply the motor halt. I can figure out why in the world pin RB0 is always high?
Its just the factory speed of futaba when your not using a PWM. Can i post my source code here so that you can help me find the problem easily i know people here are all pro about electronics and robotics stuff.
Its just the factory speed of futaba when your not using a PWM. Can i post my source code here so that you can help me find the problem easily i know people here are all pro about electronics and robotics stuff.
Its just the factory speed of futaba when your not using a PWM. Can i post my source code here so that you can help me find the problem easily i know people here are all pro about electronics and robotics stuff.
Im actually using L293D as my h-bridge but i came across a problem where my left motor always running so i isolate it then came to conclusion it was the PIC sending high input to my driver that causes my left motor to run.
I tried a simulation using Proteus Wingmax everything is fine but when i try it in actual hardware my RB0 always high. Please try to review my codes here below: By the way pic-lite is my compiler.
Im actually using L293D as my h-bridge but i came across a problem where my left motor always running so i isolate it then came to conclusion it was the PIC sending high input to my driver that causes my left motor to run.
I tried a simulation using Proteus Wingmax everything is fine but when i try it in actual hardware my RB0 always high. Please try to review my codes here below: By the way pic-lite is my compiler.
Im actually using L293D as my h-bridge but i came across a problem where my left motor always running so i isolate it then came to conclusion it was the PIC sending high input to my driver that causes my left motor to run.
I tried a simulation using Proteus Wingmax everything is fine but when i try it in actual hardware my RB0 always high. Please try to review my codes here below: By the way pic-lite is my compiler.
Why not try to build an independent H-Bridge first, test it manually, then simulate your micro controller circuit with LEDs, test the signals, then, when everything is correct, connect the all.
take a look at that H-bridge build upon an L293D. this might help:
**broken link removed**
Note: when a PIN is behaving such is such a stange way, this is usually cased by hardware short circuit, or sort-off..