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. | Components | Distributor | Link To Buy | |
1 | Battery 12V | Amazon | Buy Now | |
2 | LEDs | Amazon | Buy Now | |
3 | Resistor | Amazon | Buy Now | |
4 | Arduino Pro Mini | Amazon | Buy Now |
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:
Now, let’s see the Arduino Pro Mini library V3.0 in Porteus.
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
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.
If you want the details of this process, you must see How to Add a New Library File in Proteus .
Note: The procedure to add the same library to Proteus 8 is the same.
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.
It’s time to test the workings of this microcontroller in Porteus.
This will not work until we program the Arduino pro Mini in Arduino IDE.
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.
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.
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w