Arduino Mini Unleashed - Arduino Mini for Beginners
by ahmedebeed555 in Circuits > Arduino
1032 Views, 3 Favorites, 0 Comments
Arduino Mini Unleashed - Arduino Mini for Beginners
![IMG_20161011_204431.jpg](/proxy/?url=https://content.instructables.com/FMQ/CQ6F/IYB2DS7L/FMQCQ6FIYB2DS7L.jpg&filename=IMG_20161011_204431.jpg)
Hello and welcome to instructables, I really want to share those new projects I make even they were not so unique but sharing what I make keeps me feeling alive.
So, if you like this instructable please
Leave a comment,
Share with your friends,
Favorite the instructable,
Follow me to see new instructables,
Visit my website
( even if you don't buy any thing - don't worry. I'm not selling any thing - No spam. Only useful stuff )
That's a long To-Do list. Choose what you want. And thanks again for reading my instructable.
So Let's get started.
Recently, I bought Arduino Mini Pro Kit. In this instructable, I'll show you how to use this magnificent Arduino Module.
Here, I'm only showing beginner how to get started with this kit. Keep tuned for the next instructables of projects using Arduino Mini.
You can get this Module from Banggood, ebay, Amazon UK, Amazon FR or Amazon DE
Here is my Channel on Youtube:
AeroArduino
Supplies
Out of the Box
![IMG_20161011_164633.jpg](/proxy/?url=https://content.instructables.com/FDJ/1LRQ/IYB2DS79/FDJ1LRQIYB2DS79.jpg&filename=IMG_20161011_164633.jpg)
![IMG_20161011_164701.jpg](/proxy/?url=https://content.instructables.com/F4T/5LMD/IYB2DS7E/F4T5LMDIYB2DS7E.jpg&filename=IMG_20161011_164701.jpg)
![IMG_20161011_164720.jpg](/proxy/?url=https://content.instructables.com/F1D/MH04/IYB2DS7I/F1DMH04IYB2DS7I.jpg&filename=IMG_20161011_164720.jpg)
![IMG_20161011_204503.jpg](/proxy/?url=https://content.instructables.com/FJW/TIPD/IYB2DS8Z/FJWTIPDIYB2DS8Z.jpg&filename=IMG_20161011_204503.jpg)
The Arduino mini comes with pin header on both sides and on the front. You need to solder these pin headers on the board.
You can find many courses on soldering online.
How to Program
![IMG_20161012_160717.jpg](/proxy/?url=https://content.instructables.com/F83/UFDU/IYB2DSAD/F83UFDUIYB2DSAD.jpg&filename=IMG_20161012_160717.jpg)
![IMG_20161012_160723.jpg](/proxy/?url=https://content.instructables.com/FWP/2OK8/IYB2DSB4/FWP2OK8IYB2DSB4.jpg&filename=IMG_20161012_160723.jpg)
![IMG_20161012_160746.jpg](/proxy/?url=https://content.instructables.com/FO4/2NQN/IYB2DSB7/FO42NQNIYB2DSB7.jpg&filename=IMG_20161012_160746.jpg)
![IMG_20161012_160807.jpg](/proxy/?url=https://content.instructables.com/FDG/KH3A/IYB2DSBE/FDGKH3AIYB2DSBE.jpg&filename=IMG_20161012_160807.jpg)
![IMG_20161012_160829.jpg](/proxy/?url=https://content.instructables.com/FMG/QS0P/IYB2DSBR/FMGQS0PIYB2DSBR.jpg&filename=IMG_20161012_160829.jpg)
![blink.JPG](/proxy/?url=https://content.instructables.com/FZE/5ZWF/IZ6DG5O7/FZE5ZWFIZ6DG5O7.jpg&filename=blink.JPG)
![IDE.JPG](/proxy/?url=https://content.instructables.com/FV3/NWCG/IZ6DG5OQ/FV3NWCGIZ6DG5OQ.jpg&filename=IDE.JPG)
![upload.JPG](/proxy/?url=https://content.instructables.com/FY5/ZFKM/IZ6DG6ED/FY5ZFKMIZ6DG6ED.jpg&filename=upload.JPG)
![IMG_20180426_162854.jpg](/proxy/?url=https://content.instructables.com/FGJ/YUOK/JGGTD1HE/FGJYUOKJGGTD1HE.jpg&filename=IMG_20180426_162854.jpg)
In Arduino IDE choose board Arduino mini pro.
Note:
Arduino mini board has no built in USB interface. So you need to connect it to another board that converts serial communication signals into USB signals.
A good example of such boards is FTD USB.
Another example is foca which I used here and will show the connection to Arduino mini board.
Connect Foca or FTD232 to Arduino mini as follows
FTD232 <------------------> Arduino Mini
3.3v ------------------------ VCC
GND ------------------------ BLK
RXD ------------------------ TXD
TXD ------------------------ RXD
DTR ------------------------- GRN
Hello World
![IMG_20161012_160659.jpg](/proxy/?url=https://content.instructables.com/FWQ/CD00/IYB2DSAB/FWQCD00IYB2DSAB.jpg&filename=IMG_20161012_160659.jpg)
Just like in the programming world. You start your learning process with a program called Hello World That does nothing except printing "Hello World" on the Computer Monitor.
The Blink example is the same analogue in Embedded Systems World.
You can start your programming learning process and checking that all software and hardware are both working correct.
This is done by blinking an LED with a predetermined rate you choose.
Open Arduino IDE and select
Select Tools ----> Board ------> Arduino Pro or Pro Mini
Select File ------> Examples -----> 01.Basics ------> Blink
/*
Blink Turns on an LED on for one second, then off for one second, repeatedly.
Most Arduinos have an on-board LED you can control. On the Uno and Leonardo, it is attached to digital pin 13. If you're unsure what pin the on-board LED is connected to on your Arduino model, check the documentation at http://www.arduino.cc
This example code is in the public domain.
modified 8 May 2014 by Scott Fitzgerald
*/
// the setup function runs once when you press reset or power the board void setup()
{
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT); }
// the loop function runs over and over again forever void loop()
{
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Select Sketch----- > Upload
​Software Serial
![pro-mini-board-01.png](/proxy/?url=https://content.instructables.com/FAR/TMDD/JB3ZSM6W/FARTMDDJB3ZSM6W.png&filename=pro-mini-board-01.png)
https://www.arduino.cc/en/Tutorial/SoftwareSerialExample
In this example, you can use the Arduino Mini as a serial USB device that echos input you give to the keyboard.
Although this is not actually useful, but it enables you to use Arduino Mini Serial capabilities. This can be used to input USB commands to the Arduino Mini circuit application or you can read data from it to your computer on the serial monitor application.
Hardware Required:
Arduino Mini Board
Circuit
There is no circuit for this example. Make sure that your Arduino or Genuino board is attached to your computer via USB to enable serial communication through the serial monitor window of the Arduino Software (IDE).
Code
/* Software serial multple serial test
Receives from the hardware serial, sends to software serial. Receives from software serial, sends to hardware serial.
The circuit: * RX is digital pin 10 (connect to TX of other device) * TX is digital pin 11 (connect to RX of other device)
Note: Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69
Not all pins on the Leonardo and Micro support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
created back in the mists of time modified 25 May 2012 by Tom Igoe based on Mikal Hart's example
This example code is in the public domain.
*/
#include SoftwareSerial mySerial(10, 11); // RX, TX
void setup() { // Open serial communications and wait for port to open: Serial.begin(57600); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only }
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port mySerial.begin(4800); mySerial.println("Hello, world?"); }
void loop() { // run over and over if (mySerial.available()) { Serial.write(mySerial.read()); } if (Serial.available()) { mySerial.write(Serial.read()); } }