feedback using hbridge!!

i m working on a line follower bot(actually i have just started studying 4 it and dont hav much knowledge as of now..)
can l293d hbridge be used for it(i want control over both speed and direction of motors using the hbridge)?
and how can we use this hbridge to give feedback to the microcontroller and work acc. to the feedback??


  • sauravgoswami
    L293D is a dual H-Bridge motor driver, So with one IC we can interface two DC motors which can be controlled in both clockwise and counter clockwise direction and if you have motor with fix direction of motion the you can make use of all the four I/Os to connect up to four DC motors. L293D has output current of 600mA and peak output current of 1.2A per channel. Moreover for protection of circuit from back EMF ouput diodes are included within the IC. The output supply (VCC2) has a wide range from 4.5V to 36V, which has made L293D a best choice for DC motor driver.

    A simple schematic for interfacing a DC motor using L293D is shown below.


    As you can see in the circuit, three pins are needed for interfacing a DC motor (A, B, Enable). If you want the o/p to be enabled completely then you can connect Enable to VCC and only 2 pins needed from controller to make the motor work.

    As per the truth mentioned in the image above its fairly simple to program the microcontroller. Its also clear from the truth table of BJT circuit and L293D the programming will be same for both of them, just keeping in mind the allowed combinations of A and B.
  • tech_vaibhav_ee
    what about the speed??
    can the same hbridge control the speed of motor also??if yes, how??
    from what i know , we require pwm to control the motor's does a hbridge hav an inbuilt pwm??
    and how do we control the duty cycle of pwm??
    srry for too many questions...

You are reading an archived discussion.

Related Posts

any idea abt this engg. service exam conducted by upsc plz reply to me.......😁
in most of machines rating is in KW. but in transformers it z in KVA ... why?
Come web 2.0 and every tom, harry and Big K has a blog ;-) ! In fact, blogosphere is responsible for spreading the news faster than ever before. No doubt,...
I have no idea if "Engineering Drawing" is a part of curriculum in engineering colleges around the world. In India, it is! I personally enjoyed the subject very much. However,...
I'm building a circuit that uses 4 ADG436 SPDT switch IC's (Analog Devices: ADG436: LC2MOS ±15 V Dual SPDT Switch :: Analog Switches :: Switches/Multiplexers), and am having trouble getting...