zener diode to power an attiny?

floresta:
How about some resistors to limit the base current ?

Don

good idea. the ones i am using don't have this. I included it in my 'real' prototype circuit but forgot to put it in schematic

Small surface-mount package or small through-hole package?

I am probably preferring through-hole right now. I found some on mouser between 100mA and 300mA in the TO-92 package which ought to be small enough.