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. | 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 |
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.
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.
Arduino Nano Library for Proteus V3.0
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.
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.
Now, let’s design the simulation using this updated Arduino Mini.
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);
}
}
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.