attiny85 and H-Bridge SN754410 voltage

Hi all

I’m building a circuit for a hobby project that runs a 12 volts DC motor (computer fan) in one direction for 30 s and then in the opposite for 30 s, on and on.

I’ve posted a picture of the circuit with the following components:

attiny85
SN754410
voltage regulator 5V

I’m planning on supplying the entire circuit with 9 volts (6*AA) and using a voltage regulator to lower the voltage supplied to the attiny85.

Is this the best way to do it?

I will be grateful for any help or suggestions!

Best regards

Kristian

To moderator:

I realize that this post is placed in the wrong location, but i have not been able to delete or move it.