Thursday, 18 March 2021

Arduino UNO Library for Proteus V2.0


Arduino Library for Proteus V2.0, Arduino Uno Proteus LibraryHello friends! I hope you’re well today. I welcome you on board. Today, I am going to share an update to our previously designed Proteus Library for Arduino UNO. You should also have a look at its previous version(V1.0) Arduino UNO Library for Proteus. We have been receiving many suggestions & bug reports from engineers(mostly students) about our Proteus libraries, so we have thought to upgrade them for better performance. It’s the first one getting upgraded and in this month, we will be sharing a lot more. It is the more advanced, small-sized and refined version of the previous model.

I’ve given the link below to download this library and shared details on How to use it in your Proteus software to simulate Arduino Uno. If you don’t have Proteus installed on your PC, check this article detailing how to download and install proteus software.

Before we move further, let’s have a brief look at what is Arduino UNO?

What is Arduino UNO?

  • Introduced by Arduino.cc, Arduino Uno is a microcontroller board based on Atmega328 microcontroller and is used in embedded projects.
  • Apart from USB, the board can be powered up using a battery or AC to DC adapter.
  • The current version of Arduino Uno comes with a USB interface, 6 analog input pins, 14 I/O digital ports that are employed to develop connections with external electronic circuits.
  • Out of 14 I/O ports, 6 pins can be used for PWM output.

This was a little insight into Arduino Uno. Let’s now have a look at how to download the Arduino Uno library and use it in your Proteus software. Let’s jump right in.

Arduino Library for Proteus V2.0

  • Initially, you need to download the Arduino UNO Library for Proteus V2.0 by clicking the below button:

[DownloadButton]

  • Extract this zip file and open the folder named “Proteus Library Files”.
  • Inside this folder, you will find these two files:
    • ArduinoUNO2TEP.dll
    • ArduinoUNO2TEP.idx

Place these files in the libraries folder of your Proteus software.

Note:

[DownloadButton link=”https://ift.tt/30WpSCN; title=”Buy Arduino UNO”]

  • Now open the Proteus software and search for the Arduino Uno, as shown in the below figure:

Arduino Library for Proteus V2.0, Arduino Uno Proteus Library

  • Select Arduino Uno V2.0 and click OK, it will be added in your components box.
  • Now place Arduino UNO anywhere on your proteus workspace and it will appear as shown in the below figure:

Arduino Library for Proteus V2.0, Arduino Uno Proteus Library

  • You’ve successfully placed the Arduino Uno board in the proteus workspace.
  • Now, we have to upload the hex file to run our board.
  • To upload the hex file, double click on the Arduino Uno board.
  • As you double click, it will open the Edit Properties Panel, as shown in the following image:

Arduino Library for Proteus V2.0, Arduino Uno Proteus Library

  • In this panel, you can see different properties of the Uno board.
  • You need to click on the textbox named “Upload Hex File” to upload the hex file of your Arduino code.
  • You should have a look at how to get hex file from Arduino software, if you don’t know already.
  • Upload the hex file of your code and click Ok.
  • The clock frequency of the Arduino board is 16MHz by default, as shown in the Properties Panel.

Now let’s design a simulation using this Arduino UNO board so that you get a clear insight on how to use it in proteus.

Arduino UNO LCD Interfacing

  • I have added this simulation file and its Arduino Code in the zip file, which you have downloaded at the start.
  • You can run that simulation but I would suggest you to design it on your own, as you will make mistakes during the process & obviously will learn better.
  • Now, I will interface a 20×4 LCD with the Arduino Uno board.
  • To interface this LCD display, design the circuit as shown below:

Arduino Library for Proteus V2.0, Arduino Uno Proteus Library

  • I’ve connected the data pins of LCD with 8,9,10 & 11 pins of Arduino Uno, while Enable & Reset are connected to Pin 12 & 13 respectively.
  • Next we need to upload the code so compile the Arduino code present in the zip file and get the Hex File.
  • Upload that Hex File in your Arduino UNO Properties panel, as we did in the previous section.
  • Now, click on the RUN button and if everything’s fine, you will get results as shown in below figure:

Arduino Library for Proteus V2.0, Arduino Uno Proteus Library

Summary

  • Download Arduino UNO Library Files.
  • Place Files from “Proteus Library Files”(Folder) in the Library folder of Proteus software.
  • Search for Arduino UNO in Proteus.
  • Place it in the workspace.
  • Open Properties panel & upload the HEX File.
  • Design your circuit & run the simulation.

That’s all for today. Hope you’ve enjoyed reading this article. If you have any questions, you can approach me in the section below. I’m happy and willing to help you the best way I can. Feel free to share your valuable feedback and suggestions around the content we share so we keep coming back with quality content tailored to your needs and requirements. Thank you for reading the article.

The post Arduino UNO Library for Proteus V2.0 appeared first on The Engineering Projects.



No comments:

Post a Comment