Author Topic: Descrete Voltage Regulator for microcontroller  (Read 2223 times)

0 Members and 1 Guest are viewing this topic.

Offline dutchboyTopic starter

  • Newbie
  • Posts: 3
Descrete Voltage Regulator for microcontroller
« on: December 28, 2013, 12:28:01 pm »
Hi all,

Thanks for taking the time to read this.

I have an Attiny45 programmed to flash some banks of leds, using transistors as switches, that are running off of a 9v PP3 battery supply and i also want to run the Attiny off of this supply. I had a look round and could use a LM7805 linear regulator but wondered if there was another option. I had a look at zener shunt regulators and that is an option but means i need to go and get another set of zeners(im lazy and always looking for alternatives!).

I was playing around in iCircuit on my iPad and came up with the schematic attached, i just wondered if any of you have used similar circuits or any reason why this circuit is a bad idea (i am a noob at electronics). The simulation seems to work well but it is just an iPad app.

The 2n2907 PNP is added to allow the regulator circuit more current, its possibly overkill but thought i would add it anyway.

I hope i have explained myself well enough.

Thanks,

Ian.
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: Descrete Voltage Regulator for microcontroller
« Reply #1 on: December 28, 2013, 12:44:36 pm »
Problem with that circuit is - NO actual regulation. As the 9V battery drops, so too will the output !
Don't fool around, use an LM7805 or 7805L (up to 100mA) :-)
Hello <tap> <tap> .. is this thing on?
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: Descrete Voltage Regulator for microcontroller
« Reply #2 on: December 28, 2013, 01:07:04 pm »
That 2907 looks useful..

Where exactly is the regulation?

https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline IvoS

  • Frequent Contributor
  • **
  • Posts: 310
  • Country: us
Re: Descrete Voltage Regulator for microcontroller
« Reply #3 on: December 28, 2013, 01:10:49 pm »
I think you could use a zener diode instead of 680 ohm resistor.
 

Offline dutchboyTopic starter

  • Newbie
  • Posts: 3
Re: Descrete Voltage Regulator for microcontroller
« Reply #4 on: December 28, 2013, 01:13:06 pm »
Great thanks for the replys will go with the 7805!! told you i was a noob!!! lol thanks all
 

Offline dutchboyTopic starter

  • Newbie
  • Posts: 3
Re: Descrete Voltage Regulator for microcontroller
« Reply #5 on: December 28, 2013, 09:28:18 pm »
@fcp apologies if I habe offended you in some way. I believed this was in the beginners part of the forum and therefore posted a question as a beginner in the hope of some guidance.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf