Electronic working of the ARDUINO UNO board.

Hi all,

Im looking for a detailed explanation on how the complete electronic circuit works on the ARDUINO UNO R3 board, lets say we are trying do blink and LED using this board. What all processes take place prior to the blinking that is from plugging in the power to blinking? Please can someone elaborately explain this?

Thanks in advance.

Why?

because i wanna know really understand whats going on in there, its architecture relative to my query.

I recommend you read the data sheet on the microcontoller used on the UNO

http://www.atmel.com/Images/Atmel-8271-8-bit-AVR-Microcontroller-ATmega48A-48PA-88A-88PA-168A-168PA-328-328P_datasheet_Complete.pdf

Then when you've finished with that, I'd recommend you read up on the GCC compiler

Then the Arduino built in libraries

and finally the bootloader

And, if I'm reading your request correctly, the datasheets for all the ancillary components (voltage regulators etc) that make up a Uno that support the ATmega. And you'll need to choose one of the various ways an LED may be blinked and interpret what instructions occur to make that happen.

It's not trivial.
Geoff

Good point @strykeroz the OP probably needs to download the schematic for the UNO as well.
See

Shashank_mouli:
Im looking for a detailed explanation on how the complete electronic circuit works on the ARDUINO UNO R3 board, lets say we are trying do blink and LED using this board. What all processes take place prior to the blinking that is from plugging in the power to blinking? Please can someone elaborately explain this?

because i wanna know really understand whats going on in there, its architecture relative to my query.

This a rather impractical question, perhaps asked oout of naivete. I doubt if anyone connected with designing any of the parts on the Arduino board knows all of that, or had any interest in knowing it.

An Arduino Uno is a collection of readily available components - the principal one being the Atmega328 microprocessor. The people who designed the components (for example the USB stuff or the Atmega328) had no idea anyone was going to use them to make an Uno. The people who designed the Uno only concerned themselves with the published instructions for using the various components and had no need to know what might go on inside them.

I think if you do some detailed reading on how microprocessors work and then the Atmega328 datasheet (if you want to study specifics of the Uno) you will have most of the practical information available. Bear in mind, as you read, that you can get an Atmega328 to work effectively just by plugging it into a breadboard and adding a few components (mostly small capacitors). I think it will be easier to understand the principles of how it works if you start by ignoring all the extra parts on an Uno - which are just added to make life more convenient.

It seems to me a common challenge for newcomers to get away from seeing the project as a whole - an elephant to be eaten in one byte - rather than focusing on each small part separately (eating the elephant bit-by-bit). Every programming project should be viewed as a series of small pieces joined together. Understand and get each of the pieces to work separately before trying to join them up.

...R