common practice for powering up MCU

Thread Starter

durable126

Joined Feb 20, 2016
56
Powering up a an atiny85

What is the common accepted practice as far as supply and ground voltages go?

We don't typically just plug the thing into 5 volts supply and ground the other side

Normal people have some capacitors in place here and there to prevent certain problems correct?

Can someone make some recommendations on the correct way to set it up?

Cap across the supply? Cap across the ground? etc
aka supply filtering common practice

Thanks
 
Last edited:

dl324

Joined Mar 30, 2015
16,846
Follow manufacturer recommendations in the datasheet. Typically one decoupling cap for each pair of supply pins.
 

Thread Starter

durable126

Joined Feb 20, 2016
56
I didnt see anything in data sheet which is 280 pages long

The sheet talks about noise reduction while using the ADC but thats all i saw?
Any recommendations?
 

SLK001

Joined Nov 29, 2011
1,549
I didnt see anything in data sheet which is 280 pages long. Any recommendations?
Really? 280 pages and nothing about bypassing the supplies?

Well, bypass EVERY supply line as close to the pins as possible with at LEAST a 0.1μF ceramic capacitor. One pin should also have a 10μF capacitor as close to the pin as possible.
(RE: BYPASSING means placing a capacitor between a supply line and ground.)

Also, it used to be common practice to tie RESET to an RC network, so that the MPU will be fully powered when it comes out of reset.
 

Thread Starter

durable126

Joined Feb 20, 2016
56
Section 17.9 (and maybe others)
why are you telling me to look at 17.9
You even quoted my above post
I stated the only talk of bypass caps was in the ADC section which is in FACT 17.9

There is one sentence about it and its for ADC noise canceling
 

Thread Starter

durable126

Joined Feb 20, 2016
56
Really? 280 pages and nothing about bypassing the supplies?

Well, bypass EVERY supply line as close to the pins as possible with at LEAST a 0.1μF ceramic capacitor. One pin should also have a 10μF capacitor as close to the pin as possible.
(RE: BYPASSING means placing a capacitor between a supply line and ground.)

Also, it used to be common practice to tie RESET to an RC network, so that the MPU will be fully powered when it comes out of reset.
What do you mean every supply line.

there is only one 5volt supply and one ground
 

dl324

Joined Mar 30, 2015
16,846
there is only one 5volt supply and one ground
If you don't have specific supply decoupling data from the manufacturer, use the standard rule of thumb. 10-100uF within a couple inches of the microcontroller and 0.01-0.1uF on the VCC pin to a ground plane.
 

BobaMosfet

Joined Jul 1, 2009
2,110
For the 'Tiny, normally +5VDC on the positive rail to start, for learners.
Blocking/Bypass capacitors are used as a short (for an incredibly brief period of time) between the positive and negative rails until the capacitor develops a field within itself that stops the short and creates a flexible buffer of energy between the rails. If the mcu needs a little extra current-- the capacitor provides it instantly. If a little noise/jitter is on the line, the capacitor helps to stop that. In essence, it acts like a little powe-conditioner. And you want one on both the ADC rails (ARef (+)and Grnd (-)) and on the normal power rails for positive and Gnd.
 

Thread Starter

durable126

Joined Feb 20, 2016
56
For the 'Tiny, normally +5VDC on the positive rail to start, for learners.
Blocking/Bypass capacitors are used as a short (for an incredibly brief period of time) between the positive and negative rails until the capacitor develops a field within itself that stops the short and creates a flexible buffer of energy between the rails. If the mcu needs a little extra current-- the capacitor provides it instantly. If a little noise/jitter is on the line, the capacitor helps to stop that. In essence, it acts like a little powe-conditioner. And you want one on both the ADC rails (ARef (+)and Grnd (-)) and on the normal power rails for positive and Gnd.
yes i understand how a buffer works
what are you talking about rails. there is only 1 supply pin and one ground as i have stated 3 times now
 

BobaMosfet

Joined Jul 1, 2009
2,110
yes i understand how a buffer works
what are you talking about rails. there is only 1 supply pin and one ground as i have stated 3 times now
supply pin-- think of it as a 'rail'.
ground pin-- think of it as a 'rail'.

I apologize about mentioning ARef-- that's for slightly larger package ATMEGA's.

Just put 0.01uF cap between your Vcc and Gnd. Get a good book on basics of electronics, too :)
 

SLK001

Joined Nov 29, 2011
1,549
What do you mean every supply line.

there is only one 5volt supply and one ground
I didn't know how many supply pins your MPU had. If you should put 1 capacitor on every supply line and there is only one supply line, how many caps are you going to place - between supply and ground?
 
Top