How to program Arduino Pro Mini using Arduino UNO, Arduino Nano and TTL converter | Step by step instructions
How to program Arduino Pro Mini
Hello, welcome back to another tutorial from SriTu Hobby. In this tutorial, we will learn how to program an Arduino Pro-mini board using the Arduino UNO, Arduino Nano, and TTL converter. Also, through this tutorial, I will explain step by step how to program a Pro-mini board using all three of these methods. The LED blink example is used for this.
What is the Arduino Pro Mini?
It can be simply described as the smallest and most powerful board in the Arduino family. Also, this board is made by incorporating the same microcontroller called ATmega328P which is included in the Arduino UNO board. Also, everything that can be done by the Arduino UNO board can be done through this. We can buy this Pro Mini board in the market at a low cost. Therefore, using this board we can created projects low cost-effective and more effective.
Also, this board does not have a programmer and a USB port. So, the assistance of another device is required for programming. For this, we can use the three methods mentioned above. We will talk about these later. This board can be purchased in two types depending on the power to be supplied. They are as follows.
3.3v Input
Microcontroller — ATmega 328p
Operating Voltage — 3.3v
Input Voltage — 5v
Digital pins — 12 pins(6 PWM pins)
Analog pins — 8 pins
DC current per I/O pins — 40mA
Flash memory — 32KB
SRAM — 2KB
EEPROM — 1KB
Clock speed — 8Mhz
Not include programmer
5v Input
Microcontroller — ATmega 328p
Operating Voltage — 5v
Input Voltage — 5-12v
Digital pins — 12 pins(6 PWM pins)
Analog pins — 8 pins
DC current per I/O pins — 40mA
Flash memory — 32KB
SRAM — 2KB
EEPROM — 1KB
Keep this in mind when you work with the Arduino pro-mini. OK, let’s learn how to program the Pro Mini board step by step using the methods mentioned above.
1. Arduino UNO with Pro Mini
This can be done in two ways using the Arduino UNO board.
Now, select board and port. Afterward, Upload this code to the pro- mini-board. Now if you want you can remove the Arduino UNO board from the Pro-mini board and give it a separate 5v power supply for the pro-mini board and test the program we uploaded.
Now, select board and port. Afterward, Upload this code to the Pro Mini board. (Press the reset button on the pro-mini board once while the program is uploading) Now if you want you can remove the Arduino Nano board from the Pro-mini board and give it a separate 5v power supply for the pro-mini board and test the program we uploaded.
3.TTL converter with Pro Mini
What is the TTL converter?
This is design by inserting a programmer with a USB port. Also through this, we can put a program into any microcontroller. Serial communication methodology has been used for that. Also, we can get 5v and 3.3v potentials using this TTL converter.
PIN structure of this TTL converter
So, let’s program the pro-mini board using a TTL converter. The required components are given below.
Secondly, connect these components. For that, use the circuit diagram below.
Step 3
Thirdly, now create the required program to upload to the Pro Mini board. For that, I used the LED blink example.
void setup() {
pinMode(2, OUTPUT);//define arduino pin
}
void loop() {
digitalWrite(2, HIGH);//LED on
delay(1000);//delay
digitalWrite(2, LOW);//LED off
delay(1000);//delay
}
Step 4
Now, select board and port. After, upload this code to the Pro Mini board. (Press the reset button on the pro-mini board once while the program is uploading) Now if you want you can remove the TTL converter from the Pro-mini board and give it a separate 5v power supply for the pro-mini board and test the program we uploaded.
OK, enjoy this tutorial, The full video guide is given below. So, we will meet in the next tutorial.
Hello and welcome back. In this project, we will learn how to make a WIFI control Truck with RoboHeart electronic kit. This kit mainly includes the Toy truck and RoboHeart…
Hello, welcome back to another interesting tutorial from the SriTu Hobby. In this tutorial, we will learn how to make a multi-functional robot using the Arduino platform. That is, this…
Hello, welcome back. In this tutorial, we will learn what is a PID controller and how does it work with an Arduino platform. It also explains how the PID controller…
Water level indicator using Nodemcu and ultrasonic sensor Hello, welcome back to the IoT-based tutorial from SriTu Hobby. Today we are going to talk about how to make a…