Introduction: L298N Dual H-Bridge (Raspberry Pi)

Picture of L298N Dual H-Bridge (Raspberry Pi)

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

Step 1: Parts

RPI 3 –

4 Amp Power Adapter –

16GB Micro SD –

6 x 1.5V AA Battery Holder:

5.5×2.1mm Male+Female DC Power Socket:

120 pcs jumper cable:

L298N – 5 Pcs:

4WD Robot Car Chassis Kit:

Step 2: Setup


Neonon (author)2017-06-12

Hello work this with 6 Motors ? 3 Motors per site ? This are my Motors

piddlerintheroot (author)Neonon2017-06-19

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.

About This Instructable




Bio: the Raspberry Pi is Awesome!
More by piddlerintheroot:Accelerometer (Raspberry Pi)Flame Sensor (Raspberry Pi)Soil Moisture Sensor (Raspberry Pi)
Add instructable to: