Obstacle avoiding voltage and trouble shooting questions. :/

so i am making a 3d printed obstacle detection robot and have some questions on voltage and battery power, the items i am using are...

ultrasonic sensor HC-SRO4

9v battery

sparkfun pro micro 5v (5v-12v)

DRV8833 Dual Motor Driver Carrier (2.7v-10.8v)

300 rpm metal geared dc motor (1.5v12v) https://www.amazon.com/gp/product/B01M02X1WJ/ref=ox_sc_act_title_4?smid=A35C93BBDX68G6&psc=1

then i am printing the chassie, custom screw holes for all of the parts, motor mounts for metal gear motord, and i may 3d print some wheels but i already have some wheels that would work but may be to bulky.

i am pretty shure you connecet the 9v to gnd then the other to raw becuase it needs to regulate 9v to 5v,then i would directly connecet both 9v pins into the pins of the DRV8833 motor driver then just connecet both of the motors to the out pins and connecet the other pins from the sparkfun pro micro into the in of the motor driver.

ps. i

If that is a small 9V smoke detector type battery then think again. It will not drive those motors for longer than a few seconds, if at all.

Steve

i am using one of these 9v batteries -

but if i had a 9v battery that did power it long enough would i be conneceting it right and if the 9v battery link i gave you didnt work which battery should i use?

i was thinking a rechargeable battery but none were high enough power and i cant really use AA or AAA becuase my 3d printer dosent have a huge print bed only about 4 inches or 125mm x 120 mm.

i cant really use AA or AAA becuase my 3d printer dosent have a huge print bed only about 4 inches or 125mm x 120 mm.

I'm fairly sure I could fit a lot of AAs onto that area.
Is there something wrong with your shift key?

Yes 4 inches I see enough for a few AA batteries but I would need at least 3 or 4 and 8 have t9 put in the other components, and nobody answered my question would my 9v battery work with this circuit?

TORTLE_TECH:
Yes 4 inches I see enough for a few AA batteries but I would need at least 3 or 4 and 8 have t9 put in the other components, and nobody answered my question would my 9v battery work with this circuit?

What about reply #1?

Yes but then which battery should I use if a normal 9v battery won't work?

Hi,
Have you got room for a battery bank?

Tom... :slight_smile:

Yes I think I have a certain battery pack that is about the size of a,credit card and is height of about 6-8 credit cards stacked up on each other, I also had the idea of using a rechargeable nimh battery becuase I think they have a lot of capacity here's the one I am thinking of getting,

https://www.amazon.com/gp/product/B0756GZMZN/ref=ox_sc_act_title_1?smid=A234P4QOT99IG5&psc=1

I was also wondering if the 4.8 v is enough to power my hc-sro4 whcih has a voltage of 5v and I don't know if 4.8 would be enough, I was also wondering if the 4.8v would work with all of my components listed up top.