L298N Dual H-Bridge (Raspberry Pi)

About: the Raspberry Pi is Awesome!

How to control 4 DC motors using a l298n dual H-bridge with the raspberry pi.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts

RPI 3 - https://amzn.to/2VA9pQY

4 Amp Power Adapter - https://amzn.to/2CTptWu

16GB micro SD - https://amzn.to/2SFMwd3

6 x 1.5V AA Battery Holder: https://amzn.to/2LW10mq

5.5x2.1mm Male+Female DC Power Socket: https://amzn.to/2VA5ZNW

120 pcs jumper cable: https://ebay.to/2VAb9cY

L298N - 5 Pcs: https://amzn.to/2VycIIm

4WD Robot Car Chassis Kit: https://amzn.to/2SBVho9

Step 2: Setup

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    3 Discussions

    0
    None
    RajeshB49

    11 months ago

    Hallo, I am also working with 6 motors in total (3 each side) I was wondering If you guys could share your connections data with me, At 12 v the bridge really gets hot. And it almost melted my jumper wires connecting to and in the power transfer pins

    0
    None
    Neonon

    2 years ago

    Hello work this with 6 Motors ? 3 Motors per site ? This are my Motors https://www.conrad.de/de/igarashi-getriebemotoren-244163.html?insert_kz=VQ&ef_id=WT5ycwAAAG6XlDlH:20170612130559:s#store=2037&ev_lx=pla-57954574308&ev_ln=&ev_pl=&ev_crx=199009122176&ev_mt=&ev_n=g&ev_ltx=pla&ev_plx=244163&ev_ptid=57954574308&ev_mid=5721059&ev_cty=DE&ev_lan=de&ev_dvc=m&ev_dvm=&ev_phy=9061056&ev_loc=&ev_cx=615133179&ev_ax=25078620657&gclid=CjwKEAjw9_jJBRCXycSarr3csWcSJABthk07VSLnsk4M0-VlgQNWVvIyapo9lna6-A-s-qfRWd9_MhoCJCnw_wcB

    1 reply
    0
    None
    piddlerintherootNeonon

    Reply 2 years ago

    Those motors should work. I'm not sure about what your requirements are. You can control up to 4 motors independently with L298N. I think you could either double up and have 3 motors per side, and live with 2 motors functioning in the same manner or alternatively use 2 L298Ns if you needed to control each of 6 motors individually.