Sharing power supply

Hello everyone

im building a system where a want to use only one 12 volt power supply. this is the setup:

1x atmega328p
1-8x ATtinys and 6 volt motors (only one motor is on at the time)

i have read, that ripples in voltage because of the motor can cause a malfunction of the mcs. i also found a schematic what parts should be used for that idea but i cant find it anymore. is it possible to use the regular 5v regulator circuit of the mc and just have it all connected in parallel or do i have to add some additional circutry?

Sincerely

bluebubble

You have to add lots of supply decoupling.

http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html