It is my first project using Atmega328P. I try to clone Arduino Uno and make my board(see atach). I upload blink.ino and my power source show 108mA.
And micro become hot. The led is blinking but 108mA is to much.
What i done wrong?
PS: in schematics i have two R3 but PCB is ok, they are not one but two resistors with good conections.
You cannot directly sink 108ma on any pin of the Atmega328 microcontroller. This will naturally damage the port. You may trigger the gate of any N channel mosfet like IRF840 with the Microcontroller pin and then drive the said load with the drain of the the mosfet.
100 Ohm for 5v is on the low side for four leds in parallel I think you should increase the resistance to 240-470 Ohm (unless you reply on the PWM duty to limit the current).
You can easily check the current they use by disconnecting them and measuring the drop in current draw.
Please help me understand.
Electrostatic discharge (ESD)?
ESR google say Erythrocyte Sedimentation Rate?!?
On schematics led are backwards, on pcb they are put right.
The led on D13 work, the Nokia work BUT power absorbtion is to high. What mistake i made on schematics?