Top Banner
www.AwesomePCB.com How to program in most easy way Arduino Mini or Arduino Pro Mini with Arduino UNO and ArduShield – without the cables. Step by step tutorial, with no steps to skip by Awesome PCB. Step 1 - What do we need? Step 2 – Preparing Arduino UNO Step 3 - Connecting Arduino boards with ArduShield Step 4 – Setup Arduino IDE Step 5 – Programming and veryfiacation Step 6 – Extra feature ArduShield Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 1
14

How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

May 14, 2018

Download

Documents

duongthien
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

How to program in most easy way Arduino Mini or Arduino Pro Mini with Arduino UNO and ArduShield – without the cables.

Step by step tutorial, with no steps to skip by Awesome PCB.

Step 1 - What do we need?

Step 2 – Preparing Arduino UNO

Step 3 - Connecting Arduino boards with ArduShield

Step 4 – Setup Arduino IDE

Step 5 – Programming and veryfiacation

Step 6 – Extra feature ArduShield

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 1

Page 2: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

We all know that Arduino Mini and Pro Mini do not provide us USB interface on board. Therefore programming require additional USB/RS232 interface which is connected to TX(1) and RX(0) line of the Arduino board.

What if we do not have this type of converter, but we have most popular Arduino UNO board and their derivative. Usualy we can connect Arduino UNO and Mini or Pro Mini with cables, but there isan easier way to do it without any cables.

For this propose you can use ArduShield. Universal shield that allowed you to program Arduino Mini and Pro Mini with Arduino Uno on board.

ArduShield also allowed us to have instant access for pins Arduino UNO, Leonardo, Mini, Pro Mini, Nano, Micro, Galileo, Yun, Zero on bread board.

For full detail check our new Indiegogo campaign.

Step 1 What do we need?1. Arduino Mini or Pro Mini2. Arduino UNO 3. ArduShield4. USB connector (type B)5. Bread board (optional)6. Arduino IDE7. Fine flat screwdriver

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 2

Page 3: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Step 2Preparing Arduino UNO

In order to aviod conflict betwean 2 atmega during programming stage, we need toremove Atmega328P-PU from the stand Arduino Uno.

This can be done with help of fine flat screwdriver.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 3

Page 4: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Insert a screwdriver between the microcontroller and the stand, and alternately lift once on the one hand, and once on the other.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 4

Page 5: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 5

Page 6: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Step 3Connecting Arduino boards with ArduShieldConnect ArduShield with Arduino Uno board.

Put the ArduShield on the Arduino Uno.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 6

Page 7: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

and press down gently up to the point where it stops.

Prepare Arduino Mini.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 7

Page 8: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Put Arduino Mini on the top of the ArduShield and press down gently up to the point where it stops.

Step 4Setup Arduino IDENow when you are ready with hardware, it's time to configure the Arduino IDE.Open Arduino IDE.

Go to top toolbar and open File > Examples > 01.Basics > Blink

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 8

Page 9: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

This example is classic Arduino sketch which blink LED on pin 13.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 9

Page 10: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Now go to top toolbar Tools > Board > Arduino Mini

Go to top toolbar Tools > Port > COM16 (Arduino Uno)Be aware that your serial port (COM16) can be different one – depend on instalation.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 10

Page 11: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Step 5Programming and verification

Up load to (CTRL + U)

or

After successfully uploading a program to Arduino Mini level of digital pin 13 shoud change with frequency ~1sec. LED shoud blink on the Arduino Uno board, because it is connected via ArduShield. In case of that no need for additional hardware to check results.(Arduino Mini has only power supply LED – no LED on pin 13).

Step 6Extra feature ArduShield

We all know that when we are plaing with Arduino Mini or Pro Mini we do not haveaccess for all of the pins because they have this wird raster or placement part of the pins.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 11

Page 12: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

In case of Arduino Mini pin 9 will be short circuit with A4 and A5 on bread board if we will solder those pins

and in case of pin 8, this pin will will be short circuit with pins A6 and A7.

In case of Arduino Pro Mini pins A4, A5, A6 and A7 and not in raster 0.1inch versus pins in line.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 12

Page 13: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Basically we are losing functionality of pins A4, A5, A6 and A7.

These problems can be solved easily with ArduShield, which give us access for A4, A5, A6 and A7 pins on bread board.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 13

Page 14: How to program in most easy way Arduino Mini or Arduino ... · How to program in most easy way Arduino Mini or Arduino ... Step by step tutorial, with no steps to skip by Awesome

www.AwesomePCB.com

Another nice thing about ArduShield is that when we are dealing with the prototype, which requires access to a greater amount of pins in column we can get this access by ArduShield by saving space on bread board.

Here is the compare Arduino Micro with ArduShild.

Basicaly ArduShield allowed you to transfer in easy way most popular Arduino board directly to bread board.

For the more great feature of ArduShield check our running campaign on www.Indiegogo.com.

Instructable_How to program Arduino Mini or Pro Mini with Arduino UNO_rev01.pdf 14