Arduino Mega 2560 Library for Proteus

Update: We have created a new version of this library, which you can check here: Arduino Mega 2560 Library for Proteus V2.0.

Hello friends, hope you all are fine. In today's post, I am going to share Arduino Mega 2560 Library for Proteus. In the previous post, I have shared the Arduino UNO Library for Proteus and I have mentioned that I am gonna share more Arduino Libraries soon. Actually these days I am quite excited about this Proteus component designing and I am designing the Arduino boards as a starter. So, till now I have designed two Arduino boards in Proteus. First one was Arduino UNO which I have provided for download in previous post and today, I am going to share Arduino Mega 2560 Library for Proteus.

In the coming posts, I am gonna share more exciting libraries for Proteus as I have already started designing the Arduino Nano board in Proteus, which will be the talk of our next tutorial hopefully. We all know about Arduino Mega 2560 board which is quite bigger version of Arduino UNO board and uses Atmega2560 Microcontroller. In the below post, I have first given the link to download Arduino Mega Library and afterwards I have explained How to use Arduino Mega board in Proteus by designing a simple blinking LED circuit as we did for Arduino UNO simulation in Proteus. So, let's get started with it.

I have added all the Arduino boards in a single library. This library contains six Arduino boards which are Arduino UNO, Arduino Mega 2560, Arduino Mega 1280, Arduino Nano, Arduino Mini and Arduino Pro Mini. You can download this complete Arduino Library by checking Arduino Library for Proteus.

Arduino Mega 2560 Library for Proteus

  • First of all, click the below button to download the Arduino Mega 2560 Library for Proteus.
Arduino Mega 2560 Library for Proteus

  • Now download this library and you will find a zip file.
  • Extract this zip file, it will contain two files named as ArduinoUnoTEP.LIB and ArduinoUnoTEP.IDX.
  • Place these files in the library folder of your Proteus software.
Note:
  • Now we have placed our Arduino Mega 2560 library for Proteus files in the libraries folder of Proteus software. So, now run your Proteus software and search Arduino Mega 2560.
  • Place this Arduino board in your workspace and it will look like something as shown in below figure:
  • It has become quite big but looking quite attractive and I am feeling kind of proud on my new invention. :)
  • Anyways, now next thing we need to do is to upload the hex file in it.
  • So, in order to do so, we need to double click the Arduino Mega 2560 board and its properties panel will poop up as shown in below figure:
  • Now browse for your hex file in the section PROGRAM FILE or paste the link as we did in previous Arduino UNO post.
  • You should read How to get Hex File from Arduino if you don't know already.
  • You can also change different options here but my suggestion is to not change anything else if you are not pro.
  • So, now we have seen How to get the Arduino Mega 2560 library for Proteus. Now let's design a simple example in which we will show led blinking with Arduino Mega 256 in Proteus software.
  • So, design a simple circuit as shown in below figure:
  • Now open the blink example from your Arduino software and get the hex file.
  • Upload this hex file in your Proteus software and run the simulation.
  • If everything goes fine then you will get something as shown in below figure:
  • Quite Simple. isn't it. Now below is given the video demonstration for Arduino Mega 2560 Library for Proteus.
So, that's all for today. Till now we have designed two Arduino boards in Proteus which are Arduino UNO and Arduino Mega 2560. I am planning on designing more Arduino boards and will post them soon.

What is Arduino ?

Hello friends, today I am posting a very basic tutorial on what is Arduino ??? In this tutorial I am gonna explain the basics of Arduino for the beginners. I am writing this tutorial because I got a lot of requests from the engineers in which they ask questions like what is Arduino ? What's the difference between Arduino and PIC? How to use Arduino? etc etc. So I thought of writing this topic. It's a very basic tutorial so if you are already familiar with this board and know the answer of this simple question What is Arduino ??? then you can skip this tutorial but again you must read it once, may be you get something out of it. :)

I have posted a tutorial on Arduino Projects, in which I gave all the links of Arduino projects and tutorials posted on my blog, that's another reason for posting this tutorial. I am treating that Arduino Projects page as an ebook on Arduino so I am gonna post everything about Arduino as much as I can. And an ebook must have an intro chapter, which will be this one. So, let's get started.

What is Arduino ???

  • Arduino is nothing but a simple microcontroller board which is normally used in engineering projects where there's a need to automate something.
  • You can interface sensors with this board, can drive motors with this board, can plug switches in it etc.
  • In old ages ( not old enough :P ), people used simple switches for turning ON a bulb so like you click the switch and the bulb is ON, it was quite a simple circuit, after that relays are invented and then engineers used 555 timer circuits in order to turn ON lights on some specific time. But the 555 timer circuits are quite big in size, so finally engineers discovered Microcontrollers in which there are simple OUTPUT and INPUT pins, so now if you want to turn on light at some certain time then you just simply plug the blub on output pin of microcontroller and then do some programming and add a timer to automatically turn on the bulb.
  • So, the benefit of microcontroller is the circuit is quite simple and small in size.Moreover, its flexible, suppose you want to change the time of turning ON bulb then what you need to do is simply change the coding and it will be changed, but in 555 timer circuits you need to change the components in order to do so.
  • Now, we know the use of microcontroller and also their benefit but thing is what is Arduino ??? In microcontrollers like PIC or Atmel, there's a small drawback.
  • Suppose you want to work on PIC then you have to first design its basic circuit also need to design a power circuit to supply power to it and after that in order to upload the code in it, you have to buy a programmer/ burner as well. So, first of all you need to write the code for PIC Microcontroller and after that you need to upload code in it using a programmer and then plce PIC microcontroller back into the circuit and test, which is quite lengthy plus also got hectic when you are working on some project because you have to test code again and again.
  • By the way, now advance programmers like PICkit2 and PICkit3 can be plugged on board but still you have to design the basic circuit so coming to bottom line, in order to do project with PIC or Atmel microcontroller you have to do soldering etc.
  • But that's not the case with Arduino Board, Arduino has built in programmer and the basic circuit in it. So what you need to do is simply plug in Arduino with your computer via usb cable, get its software and start uploading code and also start testing.
  • So, you don't need to plug unplug or do anything, simply upload the code and test. Moreover, it also has some very efficient tools using which you can test your output as well quite easily. Arduino board also has the pins on which you can simply plug your devices and can turn them ON or OFF. So, hats off to Arduino team for providing us a simple board which has everything on it.
  • Another advantage of Arduino is that, because of its popularity all the electronic components also have the Arduino libraries which are free and using them you can operate that electronic component quite easily with Arduino. Its open source and hence its developing day by day.

Types of Arduino Boards

  • There's a long range of Arduino boards available online, the basic Arduino board is named as Arduino UNO which is most widely used in projects.
  • Arduino UNO has total 13 digital pins and 6 analog pins which are used for connecting sensors with them.
  • Suppose you have a project in which you want to interface 30 sensors, then what you need to do ?? Now you need to buy another Arduino board named as Arduino Mega 2560. This board has around 70 pins on it which can be used as output or input and hence you can plug your sensors quite easily.
  • Moreover, Arduino have also developed different shields like Arduino Ethernet shield. Using this shield you can provide internet access via Ethernet to your project.
  • Then they have Arduino Wifi shield which is used for providing Wifi access to your project.
  • They have also developed Arduino GSM shield for GSM or GPRS purposes, in short there's a wide range of Arduino boards available online.
  • So which Arduino board you need to buy depends on the requirements of your project.

How to use Arduino ??

  • Now I think you have got the basic idea of what is Arduino ? and why is it so popular ? So now lets have a look at how to use Arduino.
  • When you order for your Arduino board, you will get a package similar to the image below:
  • Along with this box, you will also have the USB cable, now take your Arduino board out of this box and plug the cable in it, connect the Arduino with your computer and you are ready to start working on it.
  • In order to connect Arduino with your computer you have to install the Arduino drivers in Windows.
That's all for today, hope I have conveyed some knowledge and you now know the basics of Arduino i.e. what is Arduino ? and why to use Arduino.
Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir