Uncategorized

Powerbank for Raspberry pi 3 B + car robot

0

I am just beginner, so perhaps this question is not correct. I am going to build a robot car, and I am going to power it by using powerbank. My question is : is it enough for robot at all? I mean, is it enough to connect by usb only raspberry pi, and others as motor drive will get power from raspberry (+ raspberry vamera module v2)? If it is enough what is the maximum limit of it`s power? It is my first project, so i am worrying to burn it. Thank You too much in advanve!

I meant powerbanks like this: https://www.amazon.co.jp/s?k=power+bank&__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&ref=nb_sb_noss

 New contributor
  • Yes, you should power the motors using external power, from a 3V to 6V battery/power bank. The following posts might help. (1) raspberrypi.stackexchange.com/questions/96515/… (2) raspberrypi.stackexchange.com/questions/99460/motor-wont-stop (3) raspberrypi.stackexchange.com/questions/98513/… – tlfong01 3 hours ago   
  • Thank you for prompt reply and helpful links! I read that 9V battery could burn raspberry, and to be honest i am going to use powerbank to protect it. – Dias-77 3 hours ago
  • Yes, even 5V power connected to a Rpi GPIO pin would fry the Rpi. The “Build a buddy” tutorial mentioned in my links are good for newbies to get started. Using L298N driver and 3V to 4.5V battery pack is good. – tlfong01 2 hours ago   
  • Yes, that was great tutorial! Thank you so much! There were used 4 batteries is it enough? Because the sensors and other details in my project a little more. I am sorry for asking again – Dias-77 2 hours ago
  • 1.5V x 4 = 6V is only for driving cheapy yellow toy motors. That project.rpi.org tutorial actually suggests to use Lipo power banks, which are powerful enough for bigger projects. They also refer to GPIO.ZERO which has built in advanced motor control functions, and also stepping motors control. Sensors usually don’t use much power. But toy servo motors, solenoids, even small, are power hungry. In short, just try to start with a 4.5V/6V battery pack, L298N motor driver, 2 cheapy yellow toy motors. The principles you learn can almost directly used in serious/industrial grade projects. – tlfong01 2 hours ago   
  • I am sorry if i`ve mistaken, but I suppose in this tutorial those batteries are used to connect to L298N). Is it safety, f.ex to use 18650 batteries for motor driver-L298N, and powerbank like this : amazon.co.jp/… to power raspberry? – Dias-77 2 hours ago
  • @tlfong01 Thank you so much, sir! – Dias-77 2 hours ago
  • Yes, I actually started humbly with a 3V battery. Then I tried 3.7V 18650 Lipo battery. Usually those toy motors runs at 3V, 4.5V, 6V. Higher voltage means higher speed. If you search in this forum for “L298N”, you can see other experts using 12V or even 24V powered motors. But as I said, start small, … – tlfong01 2 hours ago   
  • @tlfong01 I understand you. It was so kind of you to spend your time! Thank you again! – Dias-77 2 hours ago
  • And those expensive amazon power banks your mentioned are actually for smart phones and laptops. They are classy, slim and small. But usually smaller guys store smaller electrical energy. So my ugly looking, DIY cheapy Lipo 18650 x 2 power bank actually runs toy cars faster, and longer. – tlfong01 1 hour ago   
  • You are welcome. I am an electronics toys hobbyist. When I was young, I earned a living as a technician in a toy factory, making toy cars and even tanks. – tlfong01 1 hour ago   
  • I start to understand, by using another modules as dc dc protector, or charging protector board as mentioned in the tutorial are safe raspberry pi from burning? – Dias-77 1 hour ago
  • And should I charge L298N and raspberry separately as shown in the tutorial? – Dias-77 1 hour ago
  • Ah, that is another thing. I do use Lipo 3.7V x 3 = 11.1V. Then I use DC/DC adjustable voltage regulator module to step down 11/12V to 3V to 6V for DC motors and toy servos. The regulators usually has current limiting, say 500mA up to 3V, usually. So it is safer than to use battery packs which do not have current limiting or short circuit protection. – tlfong01 1 hour ago   
  • Yes, you can forget Rpi for now, and just use L298N and one toy motor to start with. You can use jumper wire by hand to input 3V power to the L298N input, to move forward, backward, stop etc. Then you can use Rpi GPIO to replace your stupid human hand. Rpi GPIO can apply input power on and off very very fast, called PWM, which are for ninjas. I think I am going to fast, it takes some time from newbie to upgrade to ninja. So I will stop here, let you drill your kung fu for say, two weeks, and come back to let me know if you have fried your motors or the Rpi. – tlfong01 1 hour ago   
  • I hope, I don`t) I will reply as soon as possible. – Dias-77 1 hour ago

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: