Arduino Mega 2560 Library for Proteus V3.0

Hello readers! I hope you are doing great. Today, we are discussing the latest library for proteus. In the tutorial, we will look at the Arduino Mega 2560 library for Porteus V 3.0, which is one of the most versatile and useful microcontrollers from the Arduino family. We have shared the previous versions with you before this; these were the Arduino Mega 2560 library for Proteus and the Arduino Mega 2560 library for Proteus V2.0. The current version is better in structure and does not have a link to the website so you may use it in your projects easily. 

Here, I will discuss the detailed specifications of this microcontroller. After that, I will show you the procedure to download and install this library in the Proteus and in the end, we’ll create a mini project using this microcontroller. Here is the introduction to the Arduino Mega 2560:

Where To Buy?
No.ComponentsDistributorLink To Buy
1BuzzerAmazonBuy Now
2Arduino Mega 2560AmazonBuy Now

Introduction to the Arduino Mega 2560 V3.0

The Arduino Mega 2560 belongs to the family of Arduino microcontrollers and is one of the most important devices in embedded systems. Here are some of its specifications:

Specification

Value

Microcontroller

ATmega2560

Operating Voltage

5V

Input Voltage (recommended)

7-12V

Input Voltage (limit)

6-20V

Digital I/O Pins

54 (of which 15 provide PWM output)

Analog Input Pins

16

DC Current per I/O Pin

20 mA

DC Current for 3.3V Pin

50 mA

Flash Memory

256 KB (8 KB used by bootloader)

SRAM

8 KB

EEPROM

4 KB

Clock Speed

16 MHz

LED_BUILTIN

Pin 13

Length

101.52 mm

Width

53.3 mm

Weight

37 g


Now that we know the basic features of this device, we can understand how it works in Proteus. 

Arduino Mega 2560 V3.0 Library for Proteus

This library is not present by default in Porteus. The users have to download and install it in the Porteus library folder. Click on the following link to start the downloading process:

Arduino Mega 2560 V3.0 for Proteus

Adding Proteus Library File

  • If the downloading process is complete, you can see a zip file in the downloading folder of your system. Click on it.

  • Extract the zip folder at the desired location. 

  • Along with some other files, you can see there are two files with the following names in the zip folder:

  • ArduinoMega3TEP.IDX

  • ArduinoMega3TEP.LIB

  • You have to copy these two files only and go to the folder of the given path:
    C>Program files>Lab centre electronics>Proteus 7 Professional>Library

Note: The procedure to install the same package in Proteus Professional 8 is the same.

Arduino Mega 2560 Library V3.0 in Proteus

Now, the Arduino Mega 2560 V3.0 can be run on your Proteus software. Open your Proteus software or if it was already opened, restart it so the libraries may load successfully. 

  • Click on the “P” button on the left side of the screen and it will open a search box for devices in front of you.

  • Here, type “Arduino Mega 2560 V3.0,” and it will show you the following device:

  • Double-click on it to pick it up.

  • Close the search box and click on the name of this microcontroller from the pick library section present on the left side.

  • Place it in the working area to see the structure of the Arduino Mega 2560 V3.0.

If you have seen the previous versions of this microcontroller in Proteus, you can see that the latest version has some changes in it. The design and colour are closer to the real Arduino Mega 2560. Moreover, it does not have a link to the website and the pins are more realistic. 

Arduino Mega 2560 V3.0 Simulation in Proteus

The workings of the Arduino Mega 2560 V3.0 library can be understood with the help of a simple project. Let’s create one. For this, follow the steps given here:

  • Go to the “pick library” again and get the speaker and buttons one after the other.
  • Arrange the speaker with pin 3 of the Arduino Mega 2560 V3.0 placed in the working area.
  • Similarly, place the button on pin 2 of the microcontroller. The screen should look like the following image:

  • Now, go to terminal mode from the leftmost and place the ground terminals with the components.

Now, connect all the components through the connecting wires. Here is the final circuit:

Now, it's time to add code to the simulation.

Code for Arduino Mega 2560 V3.0

  • Start your Arduino IDE.
  • Create a new project by going into sketch>new sketch.
  • Delete the present code from the project.
  • Paste the following code into the project:

const int buttonPin = 2;    // Pin connected to the button

const int speakerPin = 3;   // Pin connected to the speaker

int buttonState = 0;        // Variable to store the button state

boolean isPlaying = false;   // Variable to track whether the speaker is playing

void setup() {

  pinMode(buttonPin, INPUT);

  pinMode(speakerPin, OUTPUT);

}

void loop() {

  // Read the state of the button

  buttonState = digitalRead(buttonPin);

  // Check if the button is pressed

  if (buttonState == HIGH) {

    // Toggle the playing state

    isPlaying = !isPlaying;

    // If playing, start the speaker

    if (isPlaying) {

      digitalWrite(speakerPin, HIGH);

    } else {

      // If not playing, stop the speaker

      digitalWrite(speakerPin, LOW);

    }

    // Add a small delay to debounce the button

    delay(200);

  }

}

  • You can get the same code from the zip file you have downloaded from this tutorial. 

  • Click on the "verify" button present on the above side of the code. 

  • Once the loading is complete, click on the “upload” button present just at the side of the verify button. It will create a hex file in your system. 

  • From the console of loading, search for the address of the file where the code is saved. 

  • In my case, it looks like this:

Copy this path to the clipboard. 

Add the Hex File in Proteus

  • Once again, go to your Proteus software. 

  • Click on the Arduino Mega 2560 to open its control panel. 

  • Paste the path of the hex file in the place of the program file:

  • Hit the “OK” button to close the window.

Arduino Mega 1280 V3.0 Simulation Results

  • Once you have loaded the code into the microcontroller, you can now run the project. 

  • At the bottom left side of the project, you can see different buttons, click on the play button to run the project. 

  • Before clicking on the button of the project, the project looks like the following:

  • Once the button is pressed, you will hear the sound from the speaker. Hence, the speaker works with the button. 

If all the above steps are completed successfully, you will hear the sound of the speaker. I hope all the steps are covered in the tutorial and you have installed and run the Arduino Mega 2560 v3.0 in Proteus, but if you want to know more about this microcontroller, you can ask in the comment section.


Arduino Mega 1280 Library for Proteus V3.0

Hello friends! I hope you are doing great. Today, we are discussing the latest version of the Arduino Mega 1280 library for Proteus. This can be used in both versions (Proteus 7 and Proteus. We have shared the previous versions, which are the Arduino Mega 1280 library for Proteus and the Arduino Mega 1280 library for Proteus V2.0 with you. With the advancement in the version, these microcontrollers have a better structure and the design is closer to the real microcontrollers. 

In this article, I will discuss the introduction of the Arduino Mega 1280 in detail. Here, you will learn the features and functions of this microcontroller. Then, we’ll see how to download and install this library in Proteus. In the end, we’ll see a mini project using the Arduino Mega 1280 V3.0. Let’s move towards our first topic:

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2ResistorAmazonBuy Now
3LCD 20x4AmazonBuy Now

Introduction to the Arduino Mega 1280 V3.0

  • The Arduino Mega is a microcontroller board that is based on the ATmega 1280. It has a large structure and provides more I/O pins.
  • It has the following memory features:
  • 128KB of flash memory to store the programs in it.
  • 8KB of SRAM for dynamic memory allocation
  • 4KB of EEPROM for data storage
  • It has 54 digital pins, of which 14 are used as PWM outputs.
  • It has 16 analogue input pins
  • This microcontroller uses the ATmega16U2 microcontroller for USB-to-serial conversion
  • It has compatibility with Arduino IDE where it is programmed with C++ just like other Arduino boards.
  • One must know that the Arduino Mega 1280 V3.0 is an open-source microcontroller and it is a robust platform for building and experiencing a vast range of electronic projects.

Now, let’s see the Arduino Mega 1280 library V3.0 in Porteus. 

Arduino Mega 1280 V3.0 Library for Proteus

The download and installation process for Arduino Mega 1280 is easy. The Proteus software does not have this library by default. To use it, the first step is to download it from the link given below:

Arduino Mega 1280 V3.0 for Proteus

Adding Proteus Library File

  • The downloading does not take much time. Once it is complete, it can be seen in the download folder on your system.

  • You will see a zip file when it is extracted to a particular path of your choice. 

  • There are two files in the folder named:

    • ArduinoMega3TEP.IDX

    • ArduinoMega3TEP.LIB

  • Copy these files and paste them into the folder with the following path:
    C>Program files>Lab centre electronics>Proteus 7 Professional>Library

Note: The same process is applicable to Proteus 8 professional if you are using that.

Arduino Mega 2560 Library V3.0 in Proteus

  • If all the above steps are completed successfully, the Proteus has to start/restart so that it may load all the files.
  • The Arduino Mega 1280 V3.0 is present in the libraries so click on the “P” button at the left side of the screen to pick it from the libraries. It will open a search box in front of you.
  • Type “Arduino Mega 1280” there and you will see the following options in front of you:

  • Double-click on its name to pick it.
  • Now, click on the picked Arduino Mega and place it on the working area to see its structure:

You can see it has many pins and the structure and design are closer to the real Arduino Mega. There is no link to the website on this microcontroller and it has more details about the pins on it. These points are different from the previous versions. 

Arduino Mega 1280 V3.0 Simulation in Proteus

The Arduino Mega 1280 has many features and it is used in a great number of projects. But, as a beginner, we’ll check the work with the help of a simple project. In this project, we’ll use the LED with Arduino Mega 1280 V3.0 and print the message of our own choice. Follow the steps to perform this example:

  • Go to the pick library once again and write “LCD 20X4 TEP” there. Pick it to use it.
  • Similarly, pick the potentiometer by searching “POT-HG” in the search box.
  • Now, get the “Button” from the same search box.
  • Place the components of the project in the working area by following the pattern given here:

Go to the terminal mode from the left side of the screen, and then choose the default pins for the clean circuit. 

Set and label the pins according to the image given here:

The circuit is fine but it can’t be run without coding.

Code for Arduino Mega 1280 V3.0

  • Fire up your Arduino IDE.

  • Create a new sketch for this project. 

  • The upper side has a drop-down menu, choose Arduino from there. 

  • Delete the default code. 

  • Paste the following code into it:

#include

//Setting the LCD pins

LiquidCrystal lcd(13, 12, 11, 10, 9, 8);

const int buttonPin = 0;

boolean lastButtonState = LOW;

boolean displayMessage = false;


void setup() {

  pinMode(buttonPin, INPUT);

  //Printing the first message

  lcd.begin(20, 4);

  lcd.setCursor(1, 0);

  lcd.print("Press the button to see the message");

}


void loop() {

  int buttonState = digitalRead(buttonPin);

// Using if loop to create the condition

  if (buttonState != lastButtonState) {

    lastButtonState = buttonState;


    if (buttonState == LOW) {

      displayMessage = true;

      lcd.clear();

      lcd.setCursor(1, 0);

      //Printing the message on screen when buttin is pressed

      lcd.print("www.TheEngineering");

      lcd.setCursor(4, 1);

      lcd.print("Projects.com");

    } else {

      displayMessage = false;

      lcd.clear();

      lcd.setCursor(1, 0);

      lcd.print("Press the button to see the message");

    }

  }

}

  • The same code is also present in the zip file of the Arduino Mega 1280 V3.0 library folder you have downloaded. 

  • Click on the tick mark to run the code. It will take some moments to be loaded.

  • Once the loading is complete, click on the upload button to get the hex file address.

  • In the loading process, you have to search for the path to the hex file. In my case, it looks like the following image:

Add the Hex File in Proteus

  • Go to the proteus where we have created our project.

  • Double-click on the Arduino Mega 1280 V3.0 module.  It will open its properties panel in front of you. 

  • Paste the address of the hex file into the section named “Program File.".

  • Hit the “OK” button and close the window.

Arduino Mega 1280 V3.0 Simulation Results

  • There are some buttons at the bottom left corner of the screen. Out of these, you have to click the play button to run the project. 

  • If all the above procedures are completed successfully, you will see the output on the screen. 

  • When the button is opened, the LCD shows the message that you have to push the button to see the message.

  • Click on the button, and now you can see the message on the LCD. 

If all the above steps are completed successfully, you will see that you have used the Arduino Mega 1280 V3.0 to show the required message on the LCD. This microcontroller can be used in different complex projects and can provide the basic working according to the code. Now, you can try different projects on your Proteus. I hope you have installed the microcontroller successfully. Yet, if you are stuck at any point, you can ask in the comment section.

Arduino Pro Mini Library for Proteus V3.0

Hello friends! I hope you are doing great. Today, we are presenting another version of the Arduino Pro mini library. We have seen the Arduino Pro Mini library for Proteus and the Arduino Pro Mini library for Proteus V2.0 with you. As expected, the Arduino Mini Library for Proteus V3.0 has a better structure and size that make it even better than the previous ones. We will go through the details of the features to understand the library. 

In this article, I will briefly discuss the introduction of Arduino Pro Mini V3.0. You will learn the features of this board and see how to download and install this library in Proteus. In the end, I will create and elaborate on a simple project with this library to make things clear. Let’s move towards our first topic:

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2LEDsAmazonBuy Now
3ResistorAmazonBuy Now
4Arduino Pro MiniAmazonBuy Now

Introduction to the Arduino Pro Mini V3.0

In the vast range of microcontrollers, the Arduino Pro mini stands as the most powerful and compact member of the Arduino family. With the advancement in the version, the better functionalities and easy working of this microcontroller have been seen. Here are some important features of this microcontroller:

  • It has a compact size; therefore, it is named so. It has an even smaller size than the Arduino Mini. The minimalist design allows this board to adjust in compact spaces.
  • It has a simple structure and can be used with uncomplicated circuits.
  • The Arduino Pro Mini V3.0 also uses the ATmega328P, as the Arduino UNO does. It is the reason why it is considered a perfect balance between the small size and the powerful structure of the other basic Arduino microcontrollers.

  • It can be operated at different voltage levels, making it versatile for different types of projects. It can be operated at a wide range between 3.35V and 12V. This makes it ideal for battery-oriented projects as well as for large projects.
  • It has a smaller size but it is designed to accommodate 22 pins, which are:
  • 14 digital pins
  • 8 analogue pins
  • It has a large community; therefore, there is a great scope for this board and users can easily get the help of the experts.

Now, let’s see the Arduino Pro Mini library V3.0 in Porteus. 

Arduino Pro Mini Library for Proteus V3.0

By default, the Proteus does not have any Arduino Pro mini library. This can be used in Proteus by installing it manually. For this, download the library through the link given next:

Arduino Pro Mini Library for Proteus V3.0

Adding Proteus Library File

  • Once the downloading process is complete, you can see a zip folder with the same name in your download folder. Double-click on it or extract the file to the current folder with any other method. Remember the path to this extracted file. 

  • Now, go to the required path and open the folder named “Proteus Library Files.”. 

  • Here, you will find the following files:

    • ArduinoProMini3TEP.IDX

    • ArduinoProMini3TEP.LIB

  • These folders have to be placed in the library folder of Proteus so that we can have them in Proteus. 

  • For this, follow the path C>Program files>Lab centre electronics>Proteus 7 Professional>Library. Simply paste both of these into the folders of other libraries.

Note: The procedure to add the same library to Proteus 8 is the same. 

Arduino Pro Mini Library V3.0 in Proteus

  • If you have followed the above procedure successfully, the Arduino Pro mini V3.0 will work in your Proteus. If the software was already open, restart it. Otherwise, open your Proteus software. 

  • Click on the P button on the left side of the screen. This will prompt you to enter the search box.

  • Here, search for “Arduino Pro Mini V.30,” and if you have installed it successfully, you will see it in the options:

  • Click on the name “Arduino Pro Mini V3.0.”. It will be shown in the Pick Library of your Porteus.

  • Click on the name of this microcontroller and double-click on the working area to fix it there.

  • Look at the structure and pinouts of this Arduino board.

You can see this version has a better structure of pins and is similar to the real Arduino Pro Mini. We have removed the link to the website from this library and created an even smaller Arduino Pro Mini so the users can have a better experience with it. 

Arduino Pro Mini V3.0 Simulation in Proteus

It’s time to test the workings of this microcontroller in Porteus.

Fading LED with Arduino Pro Mini V3.0

  • The components are required for the creation of the whole project. For this, go to the “Pick library” through the same “P” button.
  • In the search box, type LED, grab it and repeat the instructions for the resistor.
  • Set the components in the working area. The proteus must look like the following image:

  • Connect one side of the LED to digital pin 2 of the Arduino Mini.
  • Connect the other side of the resistor with the LED terminal.
  • Double-click on the resistor to change its value. I’ll manually set it to 330 ohms.
  • From the leftmost side of the menu, search for terminal mode.
  • Here, search for the ground terminal and choose it.
  • Connect this terminal to the other end of the resistor.
  • Now, the project is ready to be played:

This will not work until we program the Arduino pro Mini in Arduino IDE.

Code for Arduino Pro Mini V3.0

  • Open your Arduino IDE in your system.
  • Create a new sketch for this project.
  • Select the right board and port. You have to select Arduino UNO from the board menu.

  • Delete the existing code and paste the following one there:

int LED = 2;         // the PWM pin the LED is attached to

int brightness = 2;  // how bright the LED is

int fadeAmount = 5;  // how many points to fade the LED by

void setup() {

  // declaring pin 9 to be an output:

  pinMode(LED, OUTPUT);

}

void loop() {

  // setting the brightness of pin 9:

  analogWrite(led, brightness);

  // changing the brightness for next time through the loop:

  brightness = brightness + fadeAmount;

  // reversing the direction of the fading at the ends of the fade:

  if (brightness <= 0 || brightness >= 255) {

    fadeAmount = -fadeAmount;

  }

  // waiting for 30 milliseconds to see the dimming effect

  delay(50);

}

}

  • You can have the same code in the zip file you downloaded before through this article. Click on the tick mark at the above side of the screen. 

  • Wait for the loading to complete. 

  • Click on the “Upload” button next to the tick mark. The loading will start at the bottom and you will see the hex file in the console. 

  • Search for the whole address of the hex file to copy it.

Add the Hex File in Proteus

  • The previous process created a hex file in your system. You have to redirect Prteus to that file. For this, go to the Protwus software where you have created the project.
  • Double-click on the Arduino Pro Mini V3.0. A dialogue box will appear on the screen.
  • Paste the address of the hex file to the empty section named "Program file".

  • Hit the “OK” button to save the settings.

Arduino Mini V3.0 Simulation Results

  • Now, the project is ready to be played. Hit the play button to start the simulation. 

  • If all the components are set up well and the project does not have any errors, the simulation will be started.

If all the steps are accomplished completely, your project will run successfully. I hope you have installed and worked with the Arduino Pro mini V3.0 without any errors and you can now create complex projects with this. Still, if you are stuck at any point, you can ask in the comment section.


Arduino Mini Library for Proteus V3.0

Hello friends! I hope you are doing great. Today, we are discussing the most upgraded version of the Arduino Mini in Porteus. Before this, we have shared the Arduino Mini library for Proteus and the Arduino Mini library for Proteus V2.0 with you. The Arduino Mini Library for Proteus V3.0 has a better structure and has some other changes that make it even better than the previous ones. This will be clear when you see the details of this library.

In this article, I will briefly discuss the introduction of Arduino Mini. You will learn the features of this board and see how to download and install this library in Proteus. In the end, I will create and elaborate a simple project with this library to make things clear. Let’s move towards our first topic:

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2LEDsAmazonBuy Now
3ResistorAmazonBuy Now
4Arduino Pro MiniAmazonBuy Now

Introduction to the Arduino Mini

The Arduino Mini is a compact board created under the umbrella of Arduino.cc specially designed for projects where the space is limited. 

It was introduced in 2007 and it has multiple variants since then.  

  • This board is equipped with the Atmel AVR microcontroller such as ATmega328P. and is famous for its low power consumption. 

  • It has limited digital and analogue input/output pins and its specifications make it suitable for the IoT, robotics, embedded systems and related industries. 

  • This board has different types of pins that include:

    • 14 digital pins 

    • 8 analogue I/O pins

    • Power pins, including 5V, 3.3V, and VIN (voltage in)

    • Ground pin GND (ground)

Just like other Arduino boards, the Arduino mini is also programmed in Arduino IDE.

Now, let’s see the Arduino Mini library V3.0 in Porteus. 

Arduino Mini Library for Proteus V3.0

You will not see the Arduino Mini library for Proteus V3.0 in Proteus by default. We have designed these libraries and they can be easily installed by following these simple steps.

  • First of all, click on the below link and download the library.

Arduino Nano Library for Proteus V3.0

Adding Proteus Library File

  • Once the file is downloaded, you will see its zip folder in the download folder.
  • Extract the file to the current folder or to your desired location.
  • Now, go to the location of the folder and open the folder named “Proteus Library Files”.
  • Here, you will find the following files:
  • ArduinoMini3TEP.IDX
  • ArduinoMini3TEP.LIB
  • These files have all the required functionalities but we have to paste them in the library folder of the Porteus software.
  • For this, follow the path C>Program files>Lab centre electronics>Proteus 7 Professional>Library and paste both of these with other libraries.
  • If you want the details of this process, you must see How to Add a New Library File in Proteus.

Note: I am using Proteus Professional 7 in this tutorial but users of Proteus Professional 8 can use the same process for the installation of the library. 

Arduino Mini Library V3.0 in Proteus

  • Once the library is successfully installed in the folder if your Porteus software is already open, restart it to successfully load all the packages.
  • Now, Arduino Mini V3.0 is present in your proteus library folder.
  • Click on the “P” button on the left side of the Proteus screen.
  • Now search for "Arduino Mini V3.0 TEP”.
  • The microcontroller will appear in the search bar.
  • The screen will look like the following image:

  • Click on the Arduino Mini V3.0 and add it to your component window on the left side of the screen.
  • Here, on the component window, click on “Arduino mini V3.0” and drop it on the working area.
  • Look at the structure and pinouts of this Arduino board.

This library has a better design than the previous versions of Arduino Mini. You can see its better pinouts & reduced size. The color of this board is nearer to the real Arduino Mini microcontroller board. I have made it even smaller to accommodate in the complex projects easily. This board does not have the link to our website on its face.

Arduino Mini V3.0 Simulation in Proteus

Now, let’s design the simulation using this updated Arduino Mini.

Fading LED with Arduino Mini V3.0

  • Go to the “Pick library” button.
  • Search for LED and resistor one after the other.
  • Connect one side of the resistor to digital pin 9 of the Arduino Mini.
  • Connect the other side of the resistor with the LED terminal.
  • Double-click on the resistor to change its value to 330 ohms. You have to do it manually.
  • Search for the terminal mode on the left side of the screen.
  • Click on it and you will see different components.
  • Choose the “Ground” terminal.
  • Connect this terminal to the other end of the LED.
  • The project must look like this:

Code for Arduino Mini V3.0

  • Open the Arduino IDE.
  • Click on the “Board” section and select the Arduino board from the drop-down menu.
  • Delete the present code of the screen.
  • Paste the following code into it:

int LED = 9;         // the PWM pin the LED is attached to

int brightness = 2;  // how bright the LED is

int fadeAmount = 5;  // how many points to fade the LED by

void setup() {

  // declaring pin 9 to be an output:

  pinMode(LED, OUTPUT);

}

void loop() {

  // setting the brightness of pin 9:

  analogWrite(led, brightness);

  // changing the brightness for next time through the loop:

  brightness = brightness + fadeAmount;

  // reversing the direction of the fading at the ends of the fade:

  if (brightness <= 0 || brightness >= 255) {

    fadeAmount = -fadeAmount;

  }

  // waiting for 30 milliseconds to see the dimming effect

  delay(50);

}

}

  • I will add the same code to the zip file of the library. Now, compile the code through the “Verify” button.
  • Wait for the loading process to complete.
  • Click on the “Upload” button. The loading will start at the bottom and you will see the hex file in the console.
  • Search for the whole address of the hex file to copy it.

Add the Hex File in Proteus

  • Double-click on the Arduino Mini V3.0 module in Proteus and the properties window will appear in front of you.
  • Paste the hex file of the project in the empty section named “Program file”.
  • Hit the “OK” button and close the window.

Arduino Mini V3.0 Simulation Results

  • The play button on the lower left side of the screen is used to start the simulation of the project.
  • If all the components are set well and the project does not have any errors, the simulation will be started.

If you follow all the steps accurately, your project will work fine. You can make the changes in the project with the help of code in the Arduino IDE. As I just want to show you the working of Arduino Mini here, I have chosen one of the most basic projects. But, Arduino Mini can be used for complex projects as well. If you want to ask any questions, you can use the comment box to connect with us.

Arduino Nano Library for Proteus V3.0

Hello friends! I hope you are doing great. In this tutorial, we are discussing the upgraded version of the Arduino Nano. Before this, we discussed the Arduino Nano library for Proteus and the Arduino Nano library for Proteus V2.0. The new version of the Arduino Nano library for Proteus V3.0 has a better structure and is working better. We will discuss it in detail in just a bit. 

In this article, I will discuss the basic introduction of Arduino Nano. We will learn how to download and install this library in Proteus and will create a simple project with this library. Let’s move towards our first topic:

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2LEDsAmazonBuy Now
3ResistorAmazonBuy Now
4Arduino NanoAmazonBuy Now

What is the Arduino Nano?

  • The Arduino Nano was released in 2008 by Arduino. cc and it is an open-source microcontroller board that has a great scope in the embedded industry.
  • This board is baked on a Microchip ATmega328P and is famous for its low power consumption and versatile working.
  • It is equipped with digital and analog input/output pins and its specifications make it suitable for the IoT and related industries.
  • This board has different types of pins that include:
    • 22 digital pins
    • 8 analogue I/O pins
    • Power pins, including 5V, 3.3V, and VIN (voltage in)
    • Ground pin GND (ground)

Now, let’s see the Arduino Nano library V3.0 in Porteus. 

Arduino Nano Library for Proteus V3.0

The Arduino Nano library for Proteus V3.0 is not present in Proteus by default, but it can be easily installed by following these simple steps. 

  • First of all, download the library by clicking on the following link:

Arduino Nano Library for Proteus V3.0

Adding Proteus Library File

  • The file will be downloaded in the zip folder. Extract the file to your desired location.
  • Once extracted, go to the relevant location and open the folder named “Proteus Library Files”.
  • Here, you will find the following files:
  • ArduinoNano3TEP.IDX
  • ArduinoNano3TEP.LIB
  • Now, copy these files and simply paste them into the library folder of Proteus software, where other libraries are already present.
  • For this, follow the path C>Program files>Labcenter electronics>Proteus 7 professional>Library
  • If you are facing any issues with the installation, you can get help from How to Add a New Library File in Proteus.

Note: The procedure to use this library in Proteus 8 Professional is the same. 

Arduino Nano Library in Proteus

  • Once the library is installed, if your Porteus software is already open, you have to restart it so that Proteus may read the functionality of the library.
  • Now, Arduino Nano V3.0 is present in your Proteus software.
  • Click on the “P” button of the library from the left side of the Proteus screen and search for "Arduino Nano V3.0 TEP,” and it will show you the library.
  • The screen will look like the following image:

  • Double-click on the Arduino Nano V3.0 to add it to your component window.
  • Click on the name of the Arduino and then place it on the working sheet to check the look and pinouts of this Arduino Nano V3.0.

This library has a better design than the previous versions. It has better pinouts and its color is nearer to the real Arduino Nano microcontroller board. It is smaller than the previous versions and most important, it does not have the link to our website on its face. I hope you like it. 

Arduino Nano V3.0 Simulation in Proteus

Once you have seen the pinouts, let’s design the simulation using this board. Here, we will create a basic mini-project where we will see the blinking LED on this board. It is one of the best examples of Arduino working for beginners. Follow the steps to create the project:

LED with Arduino Nano V3.0

  • Once again, go to the “Pick library” button and choose LED and resistor.
  • Connect one side of the resistor to any digital pin of Arduino Nano. I am using pin 13.
  • Connect the LED to the other end of the resistor with the help of connecting wires.
  • Double-click on the resistor to change its value to 330 ohms by simply writing the value manually.
  • Go to terminal mode from the left side of the screen. You will see different components; choose the “Ground” terminal.
  • Connect this terminal to the other end of the LED.

Code for Arduino UNO V3.0

  • The code for this board will be written in the Arduino IDE. Start your Arduino IDE and create a new project.
  • If no board is selected, click on the “Board” section and select the Arduino board from the drop-down menu of the boards.
  • Remove the present code in the file and paste the following code into it:

void setup() {

  // initialize digital pin LED_BUILTIN as an output.

  pinMode(LED_BUILTIN, OUTPUT);

}

//The loop function runs over and over again forever

void loop() {

  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)

  delay(1000);                      // wait for a second

  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW

  delay(1000);                      // wait for a second

}

  • The same code is also present in the zip file you downloaded before.
  • Compile the code through the “Verify” button. The loading will start at the bottom of the screen in the console window.
  • Now, click on the “Upload” button to get the hex file.
  • Search for the address of the hex file at the bottom of the screen and copy it.

Add the Hex File in Proteus

  • Double-click on the Arduino Nano V3.0 in Proteus to open its properties panel.
  • Paste the address of the hex file you have just copied from the console of your Arduino IDE.

  • Click on the “OK” button to close the window.

Arduino Nano V3.0 Simulation Results

  • Click on the play button at the bottom of the screen to get the results of the simulation.
  • I am sure your LED will start blinking If you have correctly followed all the instructions.

I hope your project is working fine. You can change the timing of the blinking through the code of the Arduino IDE. As I have said earlier, this is the most basic project. If you are facing any issues regarding this library, you can ask in the comment section.

Arduino UNO Library for Proteus V3.0

Hi friends! I hope you are having a good day. Today, I am presenting the Arduino UNO library for Proteus V3.0. You should have a look at the previous versions of this library i.e. Arduino UNO library for Proteus(V2.0) and the Arduino UNO library for Proteus(V1.0). The warm response of the students to these libraries has motivated them to upgrade the library. The latest version of this library has better design and functionality, which I will discuss in detail with you. 

In this article, we will discuss the basic introduction to the Arduino UNO library, its simulation, and its working. Moreover, we will discuss a small project to show you the functionality of this library. Here is the introduction to the library:

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2LEDsAmazonBuy Now
3ResistorAmazonBuy Now
4Arduino UnoAmazonBuy Now

What is the Arduino UNO?

  • The Arduino UNO was released in 2010 by Arduino. cc and it is a microcontroller board that is mostly used in embedded systems.
  • This board is baked on a Microchip ATmega328P and is equipped with digital and analog input/output pins.
  • This board has 14 digital and 6 analog I/O pins, a type B USB cable,  and can be programmed with the Arduino IDE.

Now, let’s see the Arduino UNO library in Porteus. 

Arduino UNO Library for Proteus V3.0

The Arduino UNO library for Proteus V3.0 can be easily installed by following these simple steps. First of all, download the library by clicking on the following link:

Arduino UNO Library for Proteus V3.0

Adding Proteus Library File

  • The file will be downloaded in the zip folder. Extract the file and open the folder named “Proteus Library Files”.
  • There, you will find the following files:
  • ArduinoUNO3TEP.IDX
  • ArduinoUNO3TEP.LIB
  • Copy these files and paste them into the library folder of Proteus software. For this, follow the path C>Program files>Labcenter electronics>Proteus 7 professional>Library
  • If you are facing any issues with the installation, you can read How to Add a New Library File in Proteus .

Note: The procedure to use this library in Proteus 8 Professional is the same. 

Arduino UNO Library in Proteus

  • Once the library is installed, if your Porteus software is open, restart it to read the functionality of the library.
  • Click on the “P” button of the library and search for "Arduino UNO V3.0 TEP,” and it will show you the library. The screen will look like the following image:

  • Pick the Arduino UNO V3.0 by double-clicking on it.
  • From the component window, click on the name of Arduino and then place it on the working sheet to check the look and pinouts of this Arduino UNO V3.0.

Arduino UNO V3.0 Simulation in Proteus

It is time to check the workings of the Arduino library. Here, we will create the simple project of blinking the LED with an Arduino. It is a basic project and the best example of Arduino working for beginners. Follow the steps to create the project:

LED with Arduino UNO V3.0

  • Go to the “Pick library” button and choose LED and resistor.
  • Connect one side of the resistor to pin 13 (or any) of the Arduino.
  • Connect the LED to the other end of the resistor.
  • Double-click on the resistor and change its value to 330 ohms.
  • Go to the terminal mode from the left side of the screen and choose the “Ground” terminal.
  • Connect this terminal to the end of the LED.

Code for Arduino UNO V3.0

  • Open your Arduino IDE to write the code in it.
  • Select the Arduino board from the drop-down menu of the boards.
  • Create your own code or simply paste the following code into it:

void setup() {

  // initialize digital pin LED_BUILTIN as an output.

  pinMode(LED_BUILTIN, OUTPUT);

}

//The loop function runs over and over again forever

void loop() {

  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)

  delay(1000);                      // wait for a second

  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW

  delay(1000);                      // wait for a second

}

  • Compile the code by clicking on the tick mark. The loading will start at the bottom of the screen.
  • Copy the address of the hex file from the bottom of the screen.

Add Hex File in Proteus

  • There is a need to create a connection between Arduino in Proteus and the Arduino IDE.
  • Double-click on the Arduino UNO V3.0 in Proteus to open the properties panel.
  • Paste the address of the hex file copied from the Arduino IDE.

Arduino UNO V3.0 Simulation Results

  • Click on the run button to get the results of the simulation.
  • If you have correctly followed all the instructions, then the LED will start blinking.

I hope your project is working fine. This is the most basic project, and you can see the Arduino UNO library for Proteus V3.0 has perfect functionality. If you are facing any issues regarding this library, you can ask in the comment section. 

Arduino Library For Proteus V3.0

Hello friends! I hope you are having a good day. Today, I am sharing a new version of Arduino Library for Proteus(V3.0). I have already shared the previous versions of this library i.e. Arduino Library for Proteus(V1.0) and Arduino Library for Proteus(V2.0). This newer version is way better than previous versions because of its realistic design and better performance. I will discuss the comparison in detail in just a bit. This Proteus Library zip file has the following types of Arduino microcontrollers in it:

We will move towards the installation, but before this, let me share the basic introduction of Arduino.

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2ResistorAmazonBuy Now
3LCD 20x4AmazonBuy Now
4Arduino NanoAmazonBuy Now
5Arduino Pro MiniAmazonBuy Now
6Arduino UnoAmazonBuy Now

What is Arduino?

  • Arduino is an open-source family of microcontroller boards that is designed mainly for interactive projects by engineers.
  • It was presented to hobbyists, students, professionals, and developers for the experimentation of electronic and embedded systems.
  • Multiple sensors are interfaced with Arduino microcontrollers, and they can also drive the motors and switches for different circuits.
  • These are flexible, provide the platform for many types of embedded elements, and work as the heart of a project to control the work and automate the flow of the project.

Now, have a look at how to download and install this library in Proteus.

Comparing Arduino V3.0 with Other Versions

The latest version of Arduino is different from the previous ones because of the following reasons:

  • We have removed the website's link from these Arduino boards, as we received a lot of complaints from engineering students regarding it.
  • Reduced the boards' size to fit more components in the space.
  • We have used the original color for these Arduino boards to make them look more realistic and identical to real-world Arduino boards.
  • We have improved the layout of the pins for better wiring/routing.
  • Removed the unnecessary pins i.e. Power Pins & Reset Pin.
  • We have placed the Arduino logo on the boards.

Here are all the V3.0 Arduino boards:

Arduino Library for Proteus V3.0

  • The first step is to download the Proteus library for Arduino. For this, click the below link:

Arduino Library for Proteus

Adding Proteus Library Files

  • Once the download of the zip file is complete, extract the files from the zip folder.
  • Go to the “Library Files” folder, where you will find the following files:
  • ArduinoV3TEP.IDX
  • ArduinoV3TEP.LIB
  • Copy these files and paste them into the folder by following the path C>Program files>Lab centre electronics>Proteus 7 Professional>Library.

In case you don't know how to install the library, you can see How to Install the New Library in Proteus. Moreover, the installation process of this library in Proteus 8 is the same; you simply have to paste the files into the library folder of Proteus 8.

Arduino V3.0 in Proteus

  • Open your Proteus software, and if it was already opened, restart it. Now your Proteus can read the library files.

  • Click on the P button to pick the library from the system and the search bar, and type “Arduino V3.0 TEP”. All six libraries in Arduino V3.0 that you have just installed will be shown to you on the screen. 

  • Choose all of these by clicking them and closing the search window. 

  • Now, if you want to see the design of all of these, click on the name of the library, and then click on the working sheet to place the board.

  • Here is a simple view of all the files in the Arduino V3.0 folder.  

Arduino V3.0 Simulation in Proteus

Now, let us make a simple project with the Arduino UNO V3.0 to show you the workings of these libraries. All other boards can be connected to the components in the same way. So follow the steps to learn the workings:

LCD with Arduino V3.0

Let us create a simulation where the LCD display is controlled using Arduino V3.0. For this, we are using the LCD for Proteus V2.0. If you do not have this, you have to download and install the New LCD library for Proteus V2.0. Follow the instructions below to design the simulation:

  • Go to the pick library and get the following components:
    LCD TEP V2.0 (20X4)

    • POT-HG

    • Button

  • Set all the components on the working sheet. 

  • Go to Terminal mode>Default pin and set them with the components. 

  • Choose the ground and power terminals and connect all the components according to the image:


Code for Arduino V3.0

Open your Arduino IDE and paste the code given next into the Arduino. I have added the same code to the zip file. 

#include

//Setting the LCD pins

LiquidCrystal lcd(13, 12, 11, 10, 9, 8);

const int buttonPin = 0;

boolean lastButtonState = LOW;

boolean displayMessage = false;

void setup() {

  pinMode(buttonPin, INPUT);

  //Printing the first message

  lcd.begin(20, 4);

  lcd.setCursor(1, 0);

  lcd.print("Press the button to see the message");

}


void loop() {

  int buttonState = digitalRead(buttonPin);

// Using if loop to create the condition

  if (buttonState != lastButtonState) {

    lastButtonState = buttonState;

    if (buttonState == LOW) {

      displayMessage = true;

      lcd.clear();

      lcd.setCursor(1, 0);

      //Printing the message on screen when button is pressed

      lcd.print("www.TheEngineering");

      lcd.setCursor(4, 1);

      lcd.print("Projects.com");

    } else {

      displayMessage = false;

      lcd.clear();

      lcd.setCursor(1, 0);

      lcd.print("Press the button to see the message");

    }

  }

}

Add HEX file in Proteus

  • When the code is verified in the Arduino IDE, it will provide the hex file. Simply copy the main path of the hex file. 

  • Go to the Proteus and double-click the Arduino. It will open the properties panel. 

  • Paste the path to the hex file in the program file and click OK. 

Arduino with LCD Output

The code prints the link to the website on it. You can see the LCD gets power only when the button is pressed. 

When the button is unpressed:

When the button is pressed:

I hope you found this article useful. The Arduino library for Proteus V3.0 is more stylish, error-free, and easy to use. I have created other libraries, such as the Raspberry Pi 4, that are useful for embedded engineers. Feel free to ask any questions if you have any confusion.

Top Embedded Proteus Libraries V1.0 for Engineering Students

Hi readers! I hope you are having a creative day. Today, I am sharing the list of the top embedded proteus libraries in V1.0 especially designed for engineering students. Till now, you have seen blogs on different projects, components, libraries, and simulations. Yet, I am sharing the list of the first versions of these embedded libraries that will help the students throughout multiple projects. These libraries are highly useful in multiple domains of engineering, and if you don’t know how to download the new libraries , then you must see the link provided. 

This is the list of all new proteus libraries for engineering students . The zip files are present in the link to the related manual, which has details on how to download, install, and use these libraries. Now, let’s start learning about these libraries. 

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2ResistorAmazonBuy Now
3LCD 20x4AmazonBuy Now
4DHT11AmazonBuy Now
5DHT22AmazonBuy Now
6Flame SensorsAmazonBuy Now
7HC-SR04AmazonBuy Now
8Arduino NanoAmazonBuy Now
9Arduino Pro MiniAmazonBuy Now
10Arduino UnoAmazonBuy Now

Arduino Libraries V1.0

The involvement of microcontrollers like Arduino makes the embedded system more versatile and easy to use. Users can now install the Arduino library for Proteus and design multiple types of embedded system projects. The zip file of the Arduino library contains multiple Arduino versions. Here is the list of Arduino boards designed by TEP:


Geniuno Boards

The Arduino has developed another class of microcontroller named Geniuno that is sold under the umbrella of Genuino Labs. These are Arduino-compatible microcontrollers and have more affordable working mechanisms. These can be used with the Arduino software and hardware platforms and have a variety of models, as you can see in the below link:

Genuino Library for Proteus

Once installed successfully, you can access the following boards:

  • Genuino UNO
  • Genuino Mega 2560
  • Genuino Mega 1280
  • Genuino Mini
  • Genuino Pro Mini
  • Genuino Nano

Embedded Module Libraries

The embedded system libraries are highly useful for engineering students for projects related to the actuation, display, sensing, and communication of data. These libraries act like real components and help the students design real-time projects easily. Here is a list of the embedded libraries that you can download instantly:

LCD Library

There are multiple options to present the output of a circuit in an embedded system, but among these, an LCD is the most presentable and easy to understand. Proteus has multiple built-in libraries, but this LCD library provides the users with the best experience because it is easy to use and its pinouts are clean and easy to design. In the zip file, there are two versions of LCDs:

  1. LCD display (16x2)
  2. LCD display (20x4)

Both of these are extensively used in embedded circuits. Here is the download link for the new LCD:

New LCD Library for Proteus

This library can be easily programmed with Arduino code and hardware for embedded system projects. It is an alphanumeric LCD; therefore, it can show the numbers and alphabets based on the programming in the Arduino software. 

GPS Library

The Global Positioning System library is a useful component that provides versatility in embedded systems. Real-time GPS systems use satellites in space to provide information about the position of a particular object. In Proteus, the GPS allows the user to design projects, such as testing the performance of real GPS-based projects or simulating projects where the position of an object like a vehicle or a person is to be identified. Here is the link to download and install the GPS library:

GPS Library for Proteus

The design of this GPS system resembles the real GPS module. This library provides the system with two pins:

  1. TX pin
  2. RX pin

When the circuit is designed and the simulation starts, the module starts sending the NMEA data to the TX pin. At this moment, this data can be seen in the virtual environment connected to the GPS module. This is just a simulation module, so it does not provide clear longitude and latitude values. Therefore, there are some dummy values, but these are helpful to test the simulations. 

GSM Library

The GSM module is used for communication between the devices within the GSM network. This library allows users to work on projects related to the positioning and communication between the devices. The working of this GSM module is controlled with the help of Arduino software, where it can be programmed according to the requirements. The Arduino has the IDE manager library to be programmed with this module. Here is the download link for this:

GSM Library for Proteus

This library is designed in three colors and the user can choose any one or more than one according to the complexity of the project. 

XBee Library

It is another communication module that is used for wireless communication and configuration. This is a trending topic for engineering projects; therefore, I have designed it. This does not work exactly like the real XBee, but it helps a lot to provide the basic functioning in the simulation. Here is the link to download this library:

XBee Library for Proteus

This has two pins, TX and RX, and these are used to send and receive the data within XBee. The RX is usually connected to the output device, or Arduino, according to the circuit.

Bluetooth Library

The Bluetooth library has been one of the most demanding components of embedded systems for years; therefore, I have designed this to make it easy for students to use in Proteus. These modules are used for Bluetooth connectivity. This is the zip file for the module:

Bluetooth Library for Proteus

This has two modules of Bluetooth, which are:

  1. HC-05
  2. HC-06

Both of these have a similar structure, but their work is a little bit different. These modules have a limited range; therefore, they do not work well where communication is required for long distances. 

DS1307 Library 

This library provides the functionality of a real-time clock (RTC). it is used in projects where the current time is required, so it is a clock in the circuit that can be programmed once and used throughout the project implementation. This is the download link for the zip file in this library:

DS1307 Library for Proteus

Proteus has such libraries by default, but I have designed this library because it is more suitable for embedded projects and has different ways of working. The design is very similar to the real DS1307 library as it has a total of seven pins and a bright red colour with details on it. Out of these seven pins, X1 and X2 are used to add the crystal oscillator. This is used with devices like Arduino and PIC controllers. 

L298 Motor Driver Library

The L298 motor driver is designed to accept standard TTL logic levels and to drive the inductive loads. It is a dual full bridge driver that can bear high voltage and high current. It can drive relays, solenoids, stepping motors, etc. 

The module has been designed with bright colours and has small details just like the real driver. It is designed to control two motors at a time just like the real module. The link to download the zip file is given here:

 L298 Motor Driver Library for Proteus

Two sets of output pins are on the left and right sides used to connect the motors, while the input pins are at the lower right corner. Some other pins are also there to connect this module to the power source. 


SIM900D in Proteus

The main purpose of the SIM900D module is to control the GSM module with the help of a microcontroller so make sure you install all of these. This library has multiple functions that help provide the functionality of sending and receiving SMS messages, setting up the calls, and managing the GPRS data. Here is the link to install and use the SIM900D:

SIM900D in Proteus

It is relatively more complex than other experiments and requires more information about the component to work properly. 

C945 Library for Proteus

The C945 is a transistor library and as you expect, it has three legs named emitter, collector, and base. The first letters of these pins are mentioned on the module, and one must know it is an NPN transistor. It is a general-purpose transistor and is the main component of several electronic components. The installation of this module can be done through the following link:

C945 Library for Proteus

The simplest way to see the workings of this transistor is through the simplest output devices, such as an oscilloscope or LED.  

PC817 Library for Proteus

It is a safety component used with the microcontrollers and prevents the burning of the microcontroller because of the back EMF. It is an optocoupler/optoisolator that is used for the isolation of signals in electronic circuits. It is an important safety component of multiple embedded systems. Here is the download source for this library:

PC817 Library for Proteus

Just like the real PC817, the library has four pins, but to indicate the difference and directions of the pins, I have shown the symbols, so you will see the design is different from the real PC817. 

Embedded Sensors Libraries

Embedded sensors are devices that are used to interact with the physical world by sensing changes in the environment. The students can download multiple types of proteus sensors that are useful for creative engineering projects. These libraries have multiple pins; one is a TestPin through which the user can stimulate the sensor. Some of these are digital sensors, and some are analogue. We have made digital and analogue versions of sensors to provide more versatility in the student’s projects. These are the Version 1.0 of all the sensors:

Ultrasonic Sensor

The ultrasonic sensor is a device that measures distance with the help of sound waves. These send the sound waves in a particular direction and then measure the time it takes for them to strike any object, which is then reflected. The module is designed on the same principles. It is an analogue sensor, and usually, it is controlled with the help of a microcontroller. Here is the download and installation process:

Ultrasonic Sensor Library

This library allows the students to create more creative projects because it can be used for projects like proximity detection, distance measurement, liquid level measurements, etc. 

Flame Sensor Library

Now we are moving towards the specialized sensors particularly important for the Internet of Things (IoT) projects. The flame sensor is a basic need for almost every project of home automation. This sensor provides the signal at the output when it senses the flame. As a result, it can alarm the users, and it may be lifesaving. With the help of this library, it is now possible to test the simulation of such projects in Proteus. Here is the link to download it:

Flame Sensor Library

During the simulation of the project, the indication of flame is done with the testPin and the sensor responds according to the signals at this testPin. 

Vibration Sensor

This sensor detects the vibration and is useful in projects like security management because any vibration in a particular object can be sensed well. These are also used with mechanical products such as heavy machines because the continuous vibration can cause errors in performance or create other issues. This is the link to get this library:

Vibration Sensor Library

It is a digital sensor, and as soon as the input of this sensor is turned HIGH, it indicates the presence of the sensor. 

Capacitive Touch Sensor

The capacitive touch sensor is named so because it can detect the presence of the human finger on an object by sensing the change in the capacitance of the sensor. We know that capacitance is the measure of the ability to save charges, and when the finger touches the sensor, the values of the capacitance change, and as a result, the sensor indicates this change. Here is the link to get this library:

Capacitive Touch Sensor Library

I have made this digital sensor because, in real time, the capacitive sensor is very sensitive and can detect a slight change in the capacitance when the user touches it. 

HeartBeat Sensor

The purpose of these libraries is to enhance creativity and allow students to reach more domains. This is an important sensor in medical science because it counts the heartbeat of humans and provides the results. The starting and ending points of the heartbeat testing are controlled with the help of digital input. Here is the download and install link:

Heartbeat Sensor

The output of this heartbeat sensor can be shown with the help of an LCD or other suitable output devices. Students can use this output in different components of the projects. As a result, the output of the sensor may be used to stimulate other components such as when the heartbeat is high. The results are sent to the user or a document that displays the preventive measures. 

Gas Sensor Library

This is another ideal sensor library for projects like the automation of places. This module senses the presence of harmful gases in the surroundings and is one of the most important sensors for safe living standards. These are used in homes, offices, industries, and other places where there is a risk of gas leakage so they may indicate the danger. This library has a simple structure with all the basic pinouts. Here is the way to download and install the library. 

Gas Sensor Library

I have designed eight sensors for gases ranging from MQ2 to MQ9 because I have followed real gas sensors. The design and working of each of them resemble those of real sensors, as you can see the colour and components are the same. 

Magnetic Reed Switch

This library is particularly suitable for engineering students who have to create projects related to the magnetic field. This library is used to detect the presence of magnetic fields in the surrounding area. Magnetic fields affect the working of sensitive components; therefore, this library can save the whole circuit in some cases. To install this library, follow the link below:

Magnetic Reed Switch Library

Just like the real magnetic reed switch, it has two versions with red and blue colours. The real magnetic reeds have a difference in the number of pins, but I have designed them to work perfectly in the simulation and provided all the necessary features. 

Infrared Sensor Library

The working principle of an infrared sensor is similar to that of an ultrasonic sensor, but here, infrared waves are used to detect any obstacle or object in the way of these waves. A transmitter and a receiver are used in the structure of these sensors. This is a digital library; therefore, there is no need to attach the Arduino to test the basic workings of this library. Check the details of the infrared library through the link given below:

Infrared Sensor Library

This sensor can be used in various projects with a microcontroller because the coding process allows the student to use the output of this sensor for multiple processes. 

IR Proximity Sensor

This is another sensor that uses the waves to measure the distance to the presence of the object at a particular distance. The transmitter sends the infrared radiations to a certain direction and when these strike an object, these reflect to the receiver and it measures the distance between the object and itself through multiple calculations. Here is the link to approach this sensor:

IR Proximity Sensor

I have designed the same sensor in two colours and tried to make it easy to use. This is the digital sensor; therefore, the emission of infrared rays and their receiving time are controlled by the TestPin. 

Infrared Tracker Sensor

This is another infrared sensor that does not simply sense the distance; it measures the movement. The infrared waves are emitted from the sensor when it touches the object; it remembers the values and emits the waves again. In this way, the multiple emissions of the waves and their reflected angles are measured and compared. As a result, it can measure the change in the position of the same objects. Here is the download and install process:

Infrared Tracker Sensor

This is an important sensor that can be used in robotic line followers, security systems, gesture recognition, etc. 

Rain Sensor

The automation of places like homes, agriculture, and security systems are important Internet of Things( IoT) projects, and this is one of the most basic sensors in all the projects related to the same princess. This is a digital sensor and can detect the presence or absence of rain. Here is the link to fetch this sensor:

Rain Sensor Library

The process to use this sensor in the projects is simple and easy, and students wanted to use it in their projects; therefore, I created this to provide them with more options in the Proteus simulation. 

Sound Sensor Library

The sound sensor is one of the most basic sensors in embedded systems and other branches of engineering that catches sound signals and converts them into electrical signals. As a result, these electrical signals are then presented as the output of the sensor. Here is the link to download and install this library:

Sound Sensor Library

This sensor may be part of many interesting and trending engineering projects such as voice recognition, sound level measurement, robotics, etc. 

Soil Moisture Sensor

This is the most basic sensor of the IoT projects related to agriculture, landscape, and related fields. This sensor measures the amount of water in the soil and indicates the values. The basic principle of working with this sensor is to measure the electrical conductivity of the soil because water is the best electrical conductor. As a result, it provides information about the amount of water in the soil. Here is the link to get this sensor:

Soil Moisture Sensor

There are multiple types of such sensors, and the one I designed has the exact design of a soil resistance measurement. It has two probes and is an analogue sensor; therefore, it provides the exact amount of moisture in the soil. 

Analog Vibration Sensor

Just like the digital vibration sensor, this version also measures the vibration in an object, but I have tried to provide a more versatile working method; therefore, I made this analogue vibration sensor. The working of an analog vibration sensor is a little bit complex but it can be used with great versatility. Have a look at the installation process for this sensor:

Analog Vibration Sensor

Projects like musical systems, game controllers, robotics, and other such projects influence vibration. Students can easily design the limits of values using the microcontroller. 

Water Sensor Library

The water sensor is the basic sensor in different engineering projects. Water has the best electrical conductivity, and this sensor works by measuring the electrical conductivity of the water. As a result, it provides the amount of water in a tank or any other container. 

Water Sensor Library

Students are using this sensor in different creative projects such as water leakage detection, pool level monitoring, automatic irrigation systems, etc. 

Analogue PIR Sensor

It is the passive infrared sensor that detects the infrared radiation around it. The main job of this sensor is to sense the IR and then convert these signals into voltage. I have designed the digital PIR sensor as well, but this sensor has more functionalities. The following is the link to download and install this library:

Analog PIR Sensor Library

It has applications in different fields and projects like security systems, motion detection systems, and multiple medical devices. 

Flex Sensor

The flex sensor is used to measure the bend of an object and is useful in multiple fields of mechanical engineering. Another use of this sensor is in the field of robotics where it is used with multiple components and provides basic information about the bend. You can download and install it from the link below:

Flex Sensor Library

This is a digital library, and it simply checks for the presence of a bend in an object containing this sensor. The checking of the basic workings of this sensor does not require a microcontroller, but a simple LED is enough.  

Analogue Flex Sensor

The analogue flex sensor is the second version I have just discussed. This can measure the values of a bend of the component, and it is important information in multiple projects. As a result, this sensor has great scope in multiple fields. Download and install this through the link below:

Analog Flex Sensor Library

Just like other analogue sensors, students can provide the limits of the flex values and automate the project to work on a particular value of flex. 

Magnetic Hall Effect Sensor

This sensor is used to measure the magnetic fields around the sensor. For this, it uses the Hall effect and successfully measures the density of the magnetic field. The basic sensor in this regard is KY-024 and it is used in multiple types of sensors related to the detection and measurement of the magnetic field. I have used the same sensor in this design; you can see it in the link given below:

Magnetic Hall Effect Sensor(KY-024) Library

This library is present in four different colors but the design and other specifications are the same. 

Current Sensor 

This library is particularly useful for embedded systems and robotic projects that measure the total current flowing through the circuit. The electrical and electronic circuits use this module in their projects but require the module in Proteus to test the possibilities. Therefore, I have designed this library, and here is the link to use it in the Proteus simulations:

Current Sensor Library

The drift linear hall sensor in the real current sensor WCS1600 allows it to provide precise and accurate results. In this sensor, I have used the same design and worked to provide the best output. 

pH Sensor Library

The chemical properties of the liquid are important to know when dealing with liquid experiments. Therefore, I decided to create a pH level sensor in Proteus to provide the chance to enhance the domain of projects for engineering students. As it is a simulation, the input will be provided by the user, but this can be designed as a project to show the results on the output device. Here is the download and installation process for this library:

pH Sensor Library

This file has four versions of the pH levels with different colours. A potentiometer has to be connected to the pH sensor, and the programming through the microcontroller will allow you to set the range between 0 and 14 pH levels. This library works the same as the real pH meter and can be used to create a simulation of checking the pH of any liquid project. 

Power Module Libraries

The power electronic systems use multiple power modules to complete their circuits, and we have designed these sensors to complete and test the simulations. All the basic features of real-time power modules and their connection with other components are possible with these libraries. Here is the introduction to each module and their download manuals:

Solar Panel Library

The solar panel is one of the most trending sensors because students are moving towards renewable energy sources, and the solar panel is the need of the time. This library can provide the chance to convert the electrical generation components into solar panels and make the project modern. The download and installation process is mentioned in the link below:

Solar Panel Library

Just like the revolution made in the electrical industry with solar panels, this module has changed the trends in electrical and electronic projects for engineers. 

Lipo Battery Library

Lipo stands for lithium polymer battery, and it has the same workings as the batteries in Porteus but has a different basic structure. The real-time lip batteries are made with lithium-ion technology using a polymer electrolyte and are different from the liquid electrolyte batteries. Click the below link to download and install this library

Lipo Battery Library

Real-time lipo batteries have multiple advantages over normal batteries, such as high specific energy, low self-discharge rate, etc. 

Single Cell Battery

Single-cell batteries are one of the most common sources of portable batteries, and they are used for small electronic projects. Proteus has multiple types of batteries, but these libraries have a better representation of the cells and a better output. Here is the link to check out these batteries:

Single-Cell Battery Library

These designs make the circuit more presentable. The default setting allows these batteries to run on 3.7V, but students can change the voltage level through the properties of these batteries. 

CR2023 Lithium Coin Library

It is a lithium coin battery, and we have seen it in several small electronic projects, such as watches, calculators, and several wearable devices. The real CR2023 comes in different shades of silver. I have created three versions of this battery. You can see these at the link given next:

CR2032 Lithium Coin Library

It has a simple cell, a cell with silver casting and lead, and a cell with golden casting and leads. This provides the students with a chance to enhance the attraction of the project and get to know the workings of the cell at the same time. 

Conclusion

The embedded system requires a lot of components, and we have designed the basic and useful libraries for the engineering students so that they may design and practice real-time simulations of their circuits. These are the first versions of all the sensors, but the team is working on more improvements and functions according to feedback and trying to bring more libraries for you. We will discuss these soon; till then, happy learning.

Top Embedded Proteus Libraries V2.0 for Engineering Students

Hi readers! I hope you are doing great. Today, I am going to share the second version of the top embedded libraries designed for the proteus. Before this, we shared the first version of many libraries that engineering students are using in their projects. The interest of the students in these libraries has motivated us to design even better versions of them. These versions have a more realistic design and error-free working and are ideal for engineering students to use in their simulation in Proteus. 

If you don’t know how to download and use these libraries, then you must learn how to add a new library in Proteus . Moreover, if you are interested in learning the details of all the libraries, you must see the new proteus libraries for engineering students . The installation and application process of these libraries is simple, and we will share all the details through links in this article. So let's know about the first library. 

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2ResistorAmazonBuy Now
3LCD 20x4AmazonBuy Now
4DHT11AmazonBuy Now
5DHT22AmazonBuy Now
6Flame SensorsAmazonBuy Now
7HC-SR04AmazonBuy Now
8Arduino NanoAmazonBuy Now
9Arduino Pro MiniAmazonBuy Now
10Arduino UnoAmazonBuy Now

Arduino Libraries V2.0 for Proteus

Arduino is one of the most important microcontrollers that makes embedded systems more versatile and interesting. Installation of the Arduino board provides the facility to use these boards in multiple types of projects in proteus simulations. Here is the list of the Arduino libraries  V2.0.

Download the zip file and follow the procedure mentioned in these articles to use Arduino in the simulations. 

Sensors Libraries V2.0 in Proteus 

Sensors are the most important components to make the embedded project versatile. Real-time sensors are used to detect changes in the environment and provide the output in different forms. Just like the first version of these sensors, there are multiple pins to connect the sensor to the circuit. The most important one is the TestPin which is used to make changes to the sensors. Here is a list of some sensors with a brief description of each:

Sound Detector Sensor

The sound detector is used to detect any kind of sound frequency and then convert it into electricity. The real-time sound detector has a mic that converts the vibrations of the sound into electrical signals. These signals go through the amplification process, and as a result, these sounds are detected. In proteus, the presence of the sound or the change in the surrounding frequency is indicated by changing the values on the input pin of the detector. Following is the link to download the sound detector library:

Sound Detector Library for Proteus V2.0

Heartbeat Sensor

Embedded systems have applications in all fields, and those who want to create projects in the medical field can use the heartbeat sensor in the simulation to provide versatility and uniqueness to their projects. This sensor is a little bit difficult to deal with as compared to the other sensors on the list, but when the circuit is designed carefully, it can be used in multiple projects. This is an analogue sensor; therefore, the student can set the limits of the heartbeat to indicate any emergencies or alerts. Here is the download link for this:

Heart Beat Sensor Library V2.0 for Proteus

Soil Moisture Sensors

Students seem interested in emerging fields like the Internet of Things (IoT); therefore, we have designed one of the most important sensors for Porteus that will give them chances to work on agricultural automation projects. This is a versatile sensor that can be used in several projects related to agriculture and related fields. The zip file for this sensor has three types of sensors, and version 2.0 has a little bit of a fluctuating design to make it more realistic.

Soil Moisture Sensor Library for Proteus V2.0

These are the analogue sensors, and the design of these sensors is very similar to the real-time moisture detectors. We have chosen the best colours and details for each component to make it more user-friendly. 

PIR Sensor Library

The first version of the PIR sensor was digital; therefore, to provide more room for creativity, here is the second version, which has an analogue sensor with relatively better working. This sensor library has four sensors that are the same in functionality but have different colours to make them attractive. 

Analog PIR Sensor Library for Proteus

The properties of all these sensors can be changed through the property panel. Just like all other analogue sensors, the variable resistor is used at the input pin to change the values of the sensor and get the required output. 

Vibration Sensor Library

The vibration sensor detects the vibration of an object by sensing the change in mechanical energy. The real-time vibration sensors convert the change in mechanical energy into electrical energy that is fed into any type of indicator, such as light or sound. The sensor in the proteus is an analogue sensor that closely resembles, in design, the real vibration sensor. In vibration sensor V2.0, there are four types of designs available for the students. Here is the download link for the zip file:

Vibration Sensor Library for Proteus V2.0

The components in each sensor are the same, but the base and capacitor colours are changed.

LCD Library for Proteus V2.0

There are multiple ways to display the results, and Proteus and the LCDs are the easiest and most effective ways to do so. This version of LCD resembles the real LCD used in embedded projects. The pinouts are more clean, and the size and display are better than any other LCD libraries in Proteus. This version has two sizes of LCD, which are:

  1. LCD 16X2 V2.0
  2. LCD 20X4 V2.0

As a result, when students use it in their simulation, they are able to get the required output with minimum effort. Here is the link to the description for downloading and using the LCD V2.0 in Proteus. 

LCD Library for Proteus V2.0

The installation process for this library is the same as it was for the LCD library V1.0. 

Solar Panel Library for Proteus V2.0

Next on the list is the solar panel library, which helps the students work on more creative projects with renewable energy sources. The solar panel V2.0 has a better design and is easier to design. The students have to simply download the zip file, follow the instructions given in the following link, and connect it to the project. 

Solar Panel Library for Proteus V2.0

There are two designs for the solar panel in this version. Both of these work alike, but students can choose the best design according to their circuit. By default, both of these work on 12V because it is standard, but the user can change the voltage values from the properties panel. 

Conclusion

The embedded system is an important field in engineering, and we have designed the second version of some proteus libraries. These libraries are extremely useful in testing the designed simulations related to multiple fields. The Arduino, solar panel, LCS, and different sensors are loved by the students, and we have made these versions with better design and results. I hope you like it. Stay with us for more useful libraries.

PIR Sensor Library for Proteus V3.0

Hi learner! I hope you are doing great. Today, I am sharing version 3.0 of the PIR sensor library for Proteus. We have already shared V1.0 and V2.0 of the PIR Sensor Library. PIR Sensor V1.0 Library for Proteus adds a digital PIR Sensor in Proteus, while the PIR Sensor V2.0 Library adds an analog PIR Sensor to simulate. These libraries were loved by the users and this motivated us to work more on it.

PIR V3.0 is analog in nature, has an error-free structure and the Pinout structure is better organized. Moreover, the design is improved a little bit and we have omitted the website link from the sensor to make it look professional.

Same as the previous version, this PIR has four pins and the details of each of them will be discussed in detail later. Therefore, don’t worry if you have no experience with the sensors in Proteus. Let's discuss the basic introduction of the PIR sensor:

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2ResistorAmazonBuy Now
3LCD 20x4AmazonBuy Now
4PIR SensorAmazonBuy Now
5Arduino UnoAmazonBuy Now

Introduction to PIR Sensor

  • A passive infrared sensor or PIR is a motion detector that detects the changes in the infrared light radiating from the bodies.
  • When the body moves in the range of the PIR Sensor, the change in the environmental infrared waves is sensed by the PIR.

  • In the PIR Sensor, two pyroelectric sensors are placed behind the lens to detect the change in IR level.
  • PIR Sensors are called “Passive” because they don’t create any infrared light but are only used to detect it.
  • PIR sensors may be digital or analog. In the digital sensor, the output is always in the form of only two conditions ON or OFF (1 or 0) and gives only the detection of motion.
  • On the other hand, analog sensors give the degree of motion.

Here are a few of the Embedded Projects in which we have used PIR sensor, you should have a look:

PIR Sensor Pinout

Generally, the real-time PIR sensor has three pins and these are used for different purposes. It is important to connect all of these correctly to get the output. Here is the description of each pin:

  • The VCC pin is connected to the positive voltage supply, normally +5V.
  • The GND pin is attached to the negative voltage supply.
  • The output pin generates the signal only when the motion is detected.

If these pins are set properly, the circuit works fine. The sensor we have designed has a fourth terminal called TestPin. Proteus is the simulation software therefore, it is not possible to provide the motion. TestPin is used to provide the motion by the user.

PIR Senosr Library in Proteus

We know that Proteus does not have a built-in PIR sensor therefore, we have created this library so that you may use it in the circuits. For this, you have to download and install the PIR Sensor library in your proteus software. Here is the download link for the installation, simply download the zip file.

PIR Sensor Library for Proteus V3.0

Adding Proteus Library Files

  • Once the library is installed, go to the file location and extract the content.
  • Go to the folder named “Proteus Library Files” and open it.
  • Here, you will get two files for the library named:
    • PIRSensorV3.0TEP.IDX
    • PIRSensorV3.0TEP.LIB
    • PIRSensorV3.0TEP.HEX
  • Copy these files and paste in the Library folder of Proteus software. You will find it at C drive>Programming files>LabCenter Electronics>Proteus Professional>Library.
  • If you are facing any difficulty in installing the library, you can see the How to install a new library in Proteus.

The zip file has another folder named “Proteus simulations” where you can find the resources of projects containing simple working of PIR Sensor and PIR Sensor interfaced with Arduino UNO and LCD. 

PIR V3.0 in Proteus

Now, open your Proteus software and if was opened already, restart it to index the PIR sensor library with it.

  • Click on the “P” button to pick the components.
  • Write PIR sensor in the dialogue box, it will show you the options to select. I have downloaded the previous versions as well so I am getting all the options:

  • I am choosing all the PIR Sensor V3.0 by clicking on it one after the other. You can choose according to your choice.
  • Now, click on the PIR sensor and double-click on the working area Where you want to place the PIR sensor.
  • All the types of PIR Sensor V3.0 are the same but the color is different to make them more attractive. I am placing all of these on my working sheet to show you the difference.

Here, you can see it has the minimum text on it and the size is smaller than the previous version so that you may fix it in your large and complex projects without any problem. Now, I am deleting two sensors and will work only on the remaining two.

Providing HEX File for PIR Sensor V3.0

This sensor will not work unless you add the HEX file to it. For this, follow the steps given:

  • Double-click the sensor to open the properties panel.

  • Here, click on the folder sign. It will prompt you to the folders of your system. You have to provide the path for the PIRSensorV3.0TEP.HEX you have just extracted from the zip file.

PIR Sensor V3.0 Simultion in Proteus 

Now, we will design two circuits of PIR sensor V3.0. The first will be simply made with the basic components and the other one will have the Arduino UNO interfaced with the LCD so that we may get the more user-friendly results. Let's hover over your Proteus workspace to make the simple PIR circuit.

Components Required

The following Components are required for setting the PIR sensor.

  • PIR sensor
  • Inductor
  • Capacitor
  • Potentiometer

Go to the “Pick library” button type the names of the components one by one and select them.

Setting the PIR Sensor

  • Set the inductor and capacitor with the PIR Sensor’s output pin.
  • Take a potentiometer and set it with the TestPin.
  • Go to the terminal mode and get power and ground terminals. Attach these with the respected elements.
  • To check the output, we have to insert an AC voltmeter from the “virtual instrument mode”.
  • Connect all the components with the help of connecting wires.
  • Now your circuit must look like this:

The real-time PIR sensor does not require the LC circuit but in Proteus, the peak-to-peak values are generated which needs to be converted into RMS values and that's why we used this LC filter.

  • Now, hit the play button to check the values of the PIR sensor.

Interfacing Arduino with PIR Sensor V3.0

Now, if you want to make your project more user-friendly, an LCD is the best option. To link these, I have used the Arduino UNO and through the code, the values of the PIR reading are shown on the LCD. I have interfaced the TEP LCD 20X4 with the Arduino and simply connected the output of PIR with the analog pin of Arduino. The circuit now looks like the following image:

Arduino Code for PIR Sensor

Once your simulation is ready, you have to paste the code into Arduino.exe.Open your software and paste the given code there. 

#include

// initialize the library with the numbers of the interface pins

LiquidCrystal lcd(13, 12, 11, 10, 9, 8);

int SensorPin = A0;

void setup() {

  // set up the LCD's number of columns and rows:

  lcd.begin(20, 4);

  // Print a message to the LCD.

  lcd.setCursor(1,0);

  lcd.print("www.TheEngineering");

  lcd.setCursor(4,1);

  lcd.print("Projects.com");

  lcd.setCursor(0,2);

  lcd.print("Analog Value: ");

  lcd.setCursor(0,3);

  lcd.print("Voltage: ");

}

void loop() {


  int SensorValue = analogRead(SensorPin);   

  float SensorVolts = analogRead(SensorPin)*0.0048828125;   

  lcd.setCursor(14, 2);  

  lcd.print(SensorValue);

  lcd.setCursor(9, 3);  

  lcd.print(SensorVolts);     

  lcd.print(" V");

  delay(1000);

//  sensorValue = analogRead(sensorPin);

//  lcd.setCursor(4,2);

//  lcd.print(sensorValue);

//  delay(1000);

}

The same code is also given in the zip file you have downloaded.

Inserting the HEX File in Proteus 

When the code is run on the Arduino.exe, it provides the HEX file in the compilation details. You have to copy the address of the HEX file and insert it into the Arduino in Proteus. For this, follow these steps:

  • Verify the code by clicking on the check button. The compilation will start if there are no errors.
  • Go to the black compiler window at the lower area of the screen.
  • Copy the address of the HEX file.

Go to the Proteus and double-click on the Arduino to open the properties panel. Now paste the path of the HEX file here. The circuit is now ready to work. If you are stuck at this step, you should have a look at How to get Hex File from Arduino.

PIR Sensor V3.0 Results

Now it's time to run the simulation. So hit the Play button and you will see that the output is shown on the screen.

The analog values can be changed through the potentiometer of the testPin. The analog values of the motion sensor along with the voltages are shown on the LCD.  I hope your circuit worked the same as mine. If you are facing any type of issue, you can contact us.

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