Which circuit is better for my ATtiny13a mcu setup?

Off topic discussions that do not fit into any of the above can go here. Please keep it clean and respectful.
Mensa
Newbie
Posts: 1
Joined: Wed Jan 03, 2018 3:01 am

Which circuit is better for my ATtiny13a mcu setup?

Postby Mensa » Wed Jan 03, 2018 8:54 am

I have this ATtiny13a(http://www.kynix.com/Parts/159833/ATTINY13A-MMF.html) mcu led setup that uses total of 33mA when both leds are on and it works perfectly when powered through usb output.

My problem is that now I want to power it using a 6V 500mA wall adapter, so I want to drop the 6V to below 5.5V since ATtiny13a mcu works at 1.8-5.5 Volts range.

I have come up with two different circuits to achieve this small voltage drop. Please advice which one of these circuit is better. If both are not good then do tell me other options.

  • Use a 1N4007 diode in series with Vcc.
Image

  • Use a small 33 ohm resistor in series with Vcc.
Image

I checked the wall adapter with a multimeter and it outputs 5.89 volts when no load is connected.
User avatar
mon2
XCore Legend
Posts: 1166
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Wed Jan 03, 2018 10:21 am

Hello. A better idea is to use a 3v3 regulated power supply from the battery source to your microcontroller. Being low current, a ldo regulator like spx1117m3-33 should be fine. Check the datasheet from Exar for full details.

If you must use the diode idea then consider each such diode offers a typical 0.6 volt drop (Vf) so use more of them in series to lower the voltage to be say 4 volts or lower to avoid damage.
User avatar
mon2
XCore Legend
Posts: 1166
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Wed Jan 03, 2018 2:07 pm

Other ideas are to apply a zener diode; or use the Tcr2ef sot-23-5 ldo. Each is a low cost solution.
User avatar
uc69
Member
Posts: 11
Joined: Thu Jan 04, 2018 8:34 pm

Postby uc69 » Sun Jan 07, 2018 3:53 pm

Why don't you use any off-the-shelf buck-boost regulator ? You could also then connect your circuit to batteries like 1 cell LiIon, 2 cells NiMH, etc,
I use them a lot for this kind of job (+ with a cell discharge protection circuit)

https://www.amazon.com/Adafruit-VERTER- ... B00XW2KM88
http://www.canton-electronics.com/power ... r8mpto66o3
...
and many more on ebay, etc.
J.

Who is online

Users browsing this forum: No registered users and 8 guests