How To Upload To Arduino Pro Mini
Arduino ProMini , as the name indicates , is a miniature version of UNO .It runs on 16 MHz crystal ,ATMEGA328 ,but lacks USB connectivity. There are 5V (16MHz) & 3.3V (8MHz) versions. In this demo I use the 5v version.
There is a voltage regulator on board and so information technology tin can have voltage up to 12VDC. If you're supplying unregulated ability to the board, be certain to connect to the RAW pin and not VCC .
Vcc accepts simply 5v.
The latest version of this board breaks out the ADC6 and ADC7 pins ,also adds footprints for optional I2C pull-up resistors.
To upload code on to pro mini , a USB-TTL adapter is required.There are many types of USB adapters available.The most reliable one that works upwardly to Windows ten is the one built on CP2102 IC .
CP2102 adapters are available in 2 variants .One with half dozen pins that include the DTR , Data Terminal Ready , which handles the RESET required by the promini board.
The other board is commonly bachelor one with five pins.Here RESET must be washed manually on promini while code is uploaded.
Starting time allow united states upload code using the 6 pivot version .
The connections are
PROMINI USB-TTL
DTR —–> DTR
TxO —–> Rx
RxI ——> Tx
Vcc ——> 5v
GND ——> GND
In some Promini boards the DTR pin is printed as GRN.
Plug in the USB board to PC & open the Device Manager . If the driver is installed previously , a COM port will be allotted.Otherwise , download the silicon labs cp2102 driver from here & install.
Open up the Arduino IDE , feed in the COM port allotted.
Select Board as Arduino Pro or Pro Mini , Programmer equally USBasp.
In newer versions of IDE there is pick to select blazon of ProMini board.Under Processor select ATmega328 5v,16MHz
From Examples open the BL;INK sketch
Click on UPLOAD button.
The DTR pin of USB board takes intendance of the RESET & your code will be uploaded to PROMINI without whatsoever transmission reset.
Uploading lawmaking using a 5 pin version , needs a manual RESET on PROMINI.
The connections are
PROMINI USB-TTL
TxO —–> RxD
RxI ——> TxD
Vcc ——> 5v
GND ——> GND
Plug in the USB to PC & note the COM Port allotted.
Open up Arduino IDE .Feed in the COM port , select board as Arduino Pro or Promini & Programmer equally USBASP
From Examples , open the BLINK Sketch
Click on UPLOAD button.
Watch out for the bulletin at the bottom of IDE.
" Compiling Sketch " message appears first.
Then it changes to "Uploading"
As soon as you see "Uploading" message , gently press the RESET Key on Promini.
This should be done instantly , as soon every bit y'all encounter "UPLOADING" message.
If the KEY Press is at the right time , your code will be uploaded successfully.
Y'all tin can likewise use your UNO board to upload code on Promini.
To use the UNO lath , you demand to by pass the bootloader .For this upload an empty lawmaking to UNO or connect the RST pivot to GND
Connecting RST pin to GND bypasses the bootloader & but the serial converter IC located nearly the USB socket is used as USB-TTL.
The connection here is STRAIGHT & non opposite
Tx of Arduino UNO goes to Tx of Promini
Rx of UNO goes to Rx of Promini
Gnd to Gnd
Connect the USB cable to PC & open the IDE.
Select the port where UNO is connected.
Select the board as Arduino Pro or ProMini
Open the Glimmer sketch & UPLOAD.
Sentinel out the message at the bottom of IDE.
Initially "Compiling Sketch " appears.
So the message changes to UPLOADING…
Once you see UPLOADING… message , printing the RESET key on PROMINI.
The lawmaking is now Uploaded successfully.
Back up VIDEO :
Source: https://alselectro.wordpress.com/2017/05/14/arduino-pro-mini-how-to-upload-code/
Posted by: ostlundjoind1977.blogspot.com
0 Response to "How To Upload To Arduino Pro Mini"
Post a Comment