Step down 12V to 9V using BC547 transistor. Simple linear regulator circuit suitable for powering 9V devices safely from a 12V supply.