I will go through in detail about how to write a code and upload it in Arduino MEGA later in the post. In short Arduino MEGA is quite easy to program it is just a matter of few clicks. By integrated Development Environment it means that all the steps that editor, compiler, burner are integrated in the same software. In case of Arduino all these steps are performed in single software which is called the Arduino IDE. As most of you might have known that in order to program a microcontroller one need to write the code in the editor, and then compile that code in the compiler after which you get the HEX file of that code and later upload that HEX file in the microcontroller IC using another program. The care should be taken while configuring the Arduino MEGA pins. The Arduino MEGA can also be programmed in the similar way that is the programming of the Arduino MEGA is not different from that of the Arduino DUEhowever it should be kept in mind that Arduino MEGA has different number of pins and different pin configuration. In the post on the Arduino DUE we learned that the Arduino DUE can easily be programmed using the Arduino IDE. The block diagram of the internal architecture of the ATMEGA 2560 microcontroller chip is as shown in the figure below:Īrduino Integrated Development Environment (IDE).The detailed discussion of the ATMEGA 2560 is out of the scope of this post anyhow the detailed discussion on the chip will be followed in the later posts. Note here that the pin names of the microcontroller IC is different from the pin names of the Arduino MEGA. The microcontroller IC is the 100 pin package and is 8 bit microcontroller chip.As described earlier that the Arduino MEGA is based on the ATMEGA 2560 the pinout of the ATMEGA 2560 microcontroller chip is shown in the following figure:.The discussion on the JTAG will be followed in the post later. One additional feature of the Arduino MEGA is that this board also has the JTAG port. Out of these 54 digital input / output pins fifteen are PWM (Pulse Width Modulation) enabled pins.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |