help me fix power issues on my project please!

I have a 9 volt battery that powers my project. It goes through a 5v regulator. The five volts powers a Bluetooth module, and an attiny85. The nine volt line powers 2 motors that are controlled by the attiny85. The idea is to be able to control the motors with my phone via bluetooth. I have successfully used this circuit to control LEDs, but when motors are attached instead, I guess the require too much power, as the Bluetooth shuts off and the circuit dies. The motors move at a very slow speed after the Bluetooth dies. Does anyone know what is happening, and how to fix it?

Hi,

measure the voltage on the output of your regulator/battery and look what happens when the motors start. if you have a voltage drop on either the regulator output or the battery output your motors are draining to much current for the 9V block. can you verify that?

Are you using the PP3 type of 9v battery? They are completely unsuitable because they cannot provide high currents. In any case they do not hold much electricity so they would run down very quickly.

A pack of 6 rechargeable AA NiMh batteries in a battery holder may be suitable - although it will only provide 7.2v. Eight NiMh batteries would give you 9.6v.

Note that NiMh batteries provide 1.2v per cell whereas non-rechargeable alkaline batteries provide 1.5v per cell.

...R

At home use a nice mains power supply of 9 volts (max is 12 on UNO)
another one is use a 9 volts battery as power for your attiny and other electronics. and use a separate battery pack for motors (a PP3 is max 100 mA and motors are far bigger)