1

How can I connect the H-bridge L9110 with the Raspberry Pi model B's 26 pin GPIO header?

3
  • 3
    Personally I'd connect it according to the datasheet. Have you the datasheet for the device you plan to use?
    – joan
    Feb 24, 2016 at 22:47
  • i want to do a Wheel chair project for handicapped using a web cam
    – Ahmad
    Feb 25, 2016 at 14:09
  • The L9110 can only drive small motors (less than an amp). What are you going to do with the motor? Have you bought the chip or a motor driver board incorporating the chip? You need to edit any additional information into your question.
    – joan
    Feb 25, 2016 at 14:14

1 Answer 1

3

Calm down, there's no need to use exclamation marks and bold fonts.

It's quite simple to connect those on a Pi. For the circuit, this is it: enter image description here

To drive the chip:

  • Simply send a HIGH for clockwise or LOW for counterclockwise to GPIO23 (Pin 16, brown wire) and then send a PWM signal on GPIO24 (Pin 18, orange wire) to control the speed.
    • For counter-clockwise, set the PWM value to your desired speed. Set the pin to 0 or LOW to stop.
    • If you are going clockwise, your PWM value should be reverse (100 minus speed). Setting the value to 100 or HIGH will stop the motor.

This is if you follow my schematics, but you can use any GPIO pin you want.

8
  • In your attached image, what is term used to denote this white board? Feb 25, 2016 at 13:09
  • it's not my Raspberry Pi's model !!!
    – Ahmad
    Feb 25, 2016 at 14:10
  • @Ahmad All Raspberry Pis have the same GPIO output. The model doesn't matter.
    – Aloha
    Feb 25, 2016 at 15:21
  • @GauravDave Breadboard. It's called a breadboard.
    – Aloha
    Feb 25, 2016 at 15:22
  • @pandalion98, thanks for you dig.. What does "To another external supply" mean..Is that a external battery supply? Mar 8, 2018 at 20:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.