There's the schematic of my arduino standalone montage.
The problem is: it does nothing. The atmega used runs the blink code in the arduino, but not on the standalone montage. Could there be any other problems related to this except by the correct upload of the bootloader and code and correct montage??
No, that's a Breadboard wiring diagram. A schematic is something different.
You mean when you plug the atmega into the empty socket of an Uno R3?
By "standalone montage" you mean breadboard?
There are no bypass capacitors. They should be 0.1uF ceramic type and you can put one on each of the breadboard power rails, close as possible to the red Vcc wires. Better still, if they will fit, you can connect them into the breadboard holes right next to the Vcc & ground pins of the atmega.
The crystal should be right there with pins 9 and 10 (maybe diagonally, to fit).
You may not need those 18pF (whatever value) capacitors with it either - since the contacts have capacitance of their own (adding more, as it were, may hinder operation).
Good point. @vampire_killer Those switches typically have pairs of pins shorted together. If reset is connected to ground due to that reason, rotate the switch 90 degrees.
And the capacitors for the crystal should go directly to the ground pin (as close as possible). Should not be connecting the the ground strip on the BB.
I can't spot any wiring mistakes, but there are some layout improvements to be made and bypass capacitor(s) to be added.
Others have already mentioned some of the following points
Have a 100nF ceramic bypass (aka decoupling) capacitor, connected between Vcc and GND, as close as possible to Edit: pins 7 and 8 (previously was wrong saying 6 and 7).
Move the crystal and associated capacitors nearer to pins 9 and 10.
It would also be good to have a 100uF electrolytic between Vcc and GND on the bottom power rais.
What else could be wrong?:
Confirm 328p still works correctly when put back in Uno and flashes the built in LED on pin 13. This is just in case it's been damaged whilst on the breadboard.
Confirm the 328P is in the right way round. Sorry it's so obvious, but I recently was doing remote help for someone with a 555 problem and it was due to the chip being in the wrong way round
Check the LED is the right way round
Check the capacitors used for the crystal are 22pF
Check the crystal is 16MHz
Confirm Vcc is 5V
Check continuity of all points that should be connected. Breaks in breadboard tracks, and faulty sockets, are not uncommon (depending on the quality of the breadboard). Also measure the resistance of the series resistor.
The only difference from the first image is that the crystal and correspondent capacitors are connected directly to the atmega pins, cause I had some issues when uploading the bootloader with the original configuration
The LED, Atmega and push button are in the correct orientations.
It worked magically while trying to measure the Vcc and gnd pins. I think that the accomodation of the rails were missing it.
In my defense, I measured the power supply to the correspondent wires of Vcc and gnd, and it had the expect voltage. The thing is that when measuring the voltage directly on Vcc and gnd rails, it magically started working