1

Can I use 12v and 8amp battery with L298 motor driver with raspberry pi model?

0

Yes you can.

Make sure you don't connect anything over 3V3 to a Pi GPIO though, and don't try to power the Pi from the L298 module or the 12V power supply.

| improve this answer | |
  • Thanks Joan, the power source for the RPI is separate, i.e power adapter using pi's type c port. And from 12v battery I have to run a cars power window motor which need around 8amp current to run properly. So is it okay to run? and can you please tell me more about what you said about 3V3 GPIO pins as I'm new to all this stuff? – Rahul Saini Feb 6 at 9:58
  • With the exception of two pins connected to the Pi's 5V power rail, all the GPIO pins either produce or expect 3.3 volts. They are not tolerant of higher voltages, and an attempt to use 12V, or even 5V, as a signal input to a GPIO pin is likely to fry your Pi. – Bob Brown Feb 6 at 10:14
  • 1
    The L298N can't feed 8 amps (I assumed that was the battery capacity rating). It can only handle a couple of amps. If you need to supply 8 amps you need a different motor driver board (probably one rated for 12 amps at least). – joan Feb 6 at 10:47
  • Yes Joan, I found that the L298 module does not giving enough current to the motor. So I have to change the motor driver. – Rahul Saini Feb 7 at 13:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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