You are on page 1of 1
fHome 7 Blog Engineering Tools > JLCPCBS2PCBs BFreePCE @ Tukey PCB Assembly 9 PCBONLI en Introduction to Arduino Nano Hi Frendst | hope you are doing he. Today, 1 am going to ave you @ detailed Introduction to Arduino Nano. is 9 Micccanvoller board doveloved by Ardvinoce and based on ‘Atmeoe520p | imeoat68 ‘Acduino boards aro widely used in robotics, embedded systems, and electronic projects where automation is an essential pat of the system. Those boards were introduced for the students and people who come with no technical background ‘Any kind of support and help is readily available by tho Arduino communty that 1s too easy to approach and sots you fre from depending on othors that may cost you bunch of dollars. | have ‘so desioned ths video tutorial on Arduino Nano basics: re Ger our Core eeeey pore cr Ces Pin # 12 Coeap In today’s tutorial, ty to dscuss each and everything related to Arduino Nano i. its main features, Pinout, working, applications etc. So let's get started Paes deere a + pe-o19 Dota input utp Ps 2 Mw nang inp Cup Ps. 1 Pe Wath Meio PUR) Pas 4 Pre 00 .PIn# 170) ‘sera Conmuncaen Ps, 7 Pine t3 Bun LED fr Testing. > If you are planning to learn Arduino Nano Programming, thon you must have a look at Introduction to Arduino IDE. You should also have a look at tase other Arduino Hoard, you might Nha them interesting as ‘well Compare their features and find the most suitable ono for your project. Here's the list of other Arduino boards? » Aedulno UNO » Arduino Pro Mini » Arduino Mega 2560 » Archine Due > Aaduino N » Arduino Livoad » Arduino YUN Introduction to Arduino Nano > Arduino Nano is 2 small, compatble, Hoxible and breadboard inendly Microcontroller boar, developed by Arduino. in Ktaly, based on ATMegaS28p ( Arduino Nano V3.x) / Atmogaté6B (Arduino Nano 33%) > Itoomes with exactly the same functionality asin Arduino UNO but quite in smal size. > Itcomes with an operating voltage of SV, however, the input vollage can vary from 7 to 12¥, + Arduino Nene Pinout contains 14 digital pins, 8 analog Pins, 2 Reset Pins & 6 Power Pins > Each of these Digital & Analog Pins are assigned wth multiple tunctons but their main functon isto be configured as input er outpu > They are acted as put pins when they are interfooad with sensors, but if you are driving ‘some foad then use thom as output >» Functions tke pinklode() and digitaWnto) are used to contol the operations of dial pins ‘while onslogRead() is used to control analog pins. The analog pins come wi a total resolution of 10bits which measure the valve from zero to bv. > Arduino Nano comes with a crystal osilator of frequency 16 NIH. I is used to procice a lock of precise equency using constant voltage Thoto is one limitation using Arduino Nano io. it doesnt come with DC power jack, moans ‘you can not supply extemal power source through s battery. This board dovsnt use standard USB for connection with a computer, instead, kt comes with Mini USB support » Tiny size and breadboard friendly nature meke this device an ideal choice for most of the applications whore @ 926 ofthe electronic components ar of great concer, > Flasn memory &6 16K or 32KB that all depends on the Aumega board |e Atmogat68 comes with 46KB of flash memory while Aimega328 comes with a fash memory of 32KB. Flesh ‘memory & used for sloring code. The 2KB of memory out of foal ash memory is used for 2 ootoader Arduino Nano eta LL a Cs Orem >» The SRAM can vary from 1KB or 2KB and EEPROM is 512 byles or TKE! for Atmagat6e 4nd Aimanai20 respectively, >» This boatd is quite similar to ether Arduino boards available in tho market, but tho smal size ‘makes this board stand out from others, » Following figure shows the specfations of Arduino Nano Board Mirocortrallar eT TTT ‘Operating Valngs| w Tnpat Walage Digna 70 Pine = Pa Conor aaRaT BRE ax Corre Ra a Fach Memon EE ysl Olle He USAR = Arduino Nano Specifications sr. theEnginarneProlets omy > It programmed using Ardune IDE which is an Integrated Development Environment that ‘uns both affine and online. > No prior arrangements are raqured to run the board, Al you need is board, mini USB cable and Arduino IDE sofware installed on the computer. USB cable is used to transfer the program trom computer tothe board > No separate burner Is required to compile and bum the program as ts Board comes wth & bultin boot ioader. Following fgure shows the pinout of Arduino Nano Board ‘Arduino Nano Pinout ee) RED) > Each pin on the Nana board comes with a specific function associated with it ‘> We can se0 the anslog pins that can be used as an analog to digtal converter whore Ad land AS pins ean also be used for I2C cammuneation. Similarly, there are 14 digital pins, out of which 6 pins aro used for gonorating PWM. v. BV. Its 2 regulated power supply voltage of the board that IS used to powor the controler and other 0 ponents placed on the board. 33. This s @ minimum vattage generated bythe voltage regulator on the board GND. Thase are the ground pins on the board. Thare ara multiple ground pins on the board that can be interfaced accardingly when more than one ground pin is required. Reset. Reset pin Is added on the board that resets the board. 1s very helpful when cunning program goes too complex and hangs up the board. LOW value to the reset pin wll reset the controler. Analog Pins. Thore are 8 analog pins on the board marked as AO — A7. These pins are used to ‘measure the analog voltage rangina between 0 to 5 Analog Pins Rx, Tx. These pins are used for serial communication where Tx represents the transmission of data while Rx represents the data receiver. 13, This pin used to tum on the buitin LED, AREF. This pin is used as a reference voltage forthe input volage PWM. Six pins 3569.10, 11 can be used for providing 8-it PWM (Pulse Width Modulation) ‘utp tis @ method used for goting analog resis with digtal sources SPI, Four pins 10(8S),11(MOS)),120MISO),13{SCK) are used for SPI (Serial Peripheral Interface) SPI is an interface bus and mainly used to transfer data between microcontralles and other Porpneras tke Sensors, registers, and SD card Extemal Interrupts. Pin 2 and 3 are used as extemal interupts which are used in case of emergency wiien we need to stop the main program and call important instructions at that point. ‘The main program resumes once interrupt instruction is called and executed. 12. 2¢ communication is developed using Ad and AS pins whore Ag represents tho serial data line (SDA) which caries the data and AS represents the serial clock line (SCL) which is @ clock Jn the devices on an signal, generated by the master devioe, used for data synchronization be ree bas The Nano devieo comes with an ably to sot up a communication with othor controlirs and computers. The serial communication is carried out by the dtl pins like pin O (Rx) and pin 1 (Px) whare Fx Is used for recaiving data and Tx 1s used for the tansmssion of data. The serial monitor is added on the Arduino Software which is used to transmit textual data to oF from the board. FTDI drivers are also included in the sofware which behave as a virtual com port to tho sonware, ‘» The Tx and Rx pins come with an LED which Binks as the data 's wansmited botwoon FTDI ‘and USB connection tothe computer > Arduino Sofware Serial Library i used for carving outa serial communication between the board and the compu. > Apart from serial communication the Nano board also support 12 and SPI communication, The Wire Library inside the Arduino Software is accassed to use the [2C bus > The Arduino Nano is programmed by Arduino Sotware caled IDE whien Is a common software used for almost all types of board available. Simply download the sofware and Select the board you are using. There are two options to program the controler ie ether by the bootloader that 'S added in the sofware which sols you too trom tha use of external ‘bumer to compile and burn the program into the controller and another option is by using ICSP (In-circult serial programming header). » Arduino board software i equally compatible with Windows, Linue or MAC, however, Windows are prefered to uso, Thore are two ways to reset the board Le. electronically or programmatically, In order to reset the board electrical, you need to connect the reset pin ofthe board with any of digital pins on the contiller Don't forget to acid 1K or 2K Ohm resisor while seting up this connection, Now, use the digtal pin as an output and Keep It HIGH before th reset. Once the resol is roquilod, set this dita pin fo LOW. This method is very useful bocause using it sonds @ hardware reset signal to the controller once the digital pin is set to LOW. You can use the following program to reset the cantrlle electronically cen: (Once you unload the program, open your Aino Serial Monitor that shows output as follows. jereey Sie v ‘Apolher metiod we can use to reset the board is by software only without using any hardware pin. Nano board comes with a bultin function known as resetFuncl). The board will reset automaticaly as wo define this function and then call. Without using any hardware pin you can Upload the folowing program to reset the board programmatically, ‘As you open the Arduino Serial Terminel you wil got the output below areas i However, this method comes with some listatins. Ones the board is connected to the computer, the board will be reset wach time the connection is laid out betwen the board and the computer So, t's prefered to reset the controler elgtranicaly using a aga pn Nai > Bath Arduino Uno and Arduino Nano come with same functionally with tte diferance in terms of PCB layout, size and form factor > Reduino Uno Is a mirocentoler board based on Almega228 and comes with 14 digital IO pins out of which 6 are PWM. There are 6 analog pins incorporated on the board. This board comes with everything required to support the microcontroller tke USB. connection, Powor Jack, 16MH2 oscillator, reset butlon and ICSP header You dont requte extia peripheral with the board to make it work for automation. + itis @ complete ready to use device that requires no pier technical sks to get @ hands-on ‘experience with it You can power it by using DC power jack, battery or simply plug to the computer using a USB cablo to got started > Asduino Nano is small and compact as compared to Arduino Uno. It lacks the DC power Jack and comes with Mini USB support instead of regular USB. Also, Nano board comes win two extra analog pins L6. & pins as comparad to 6 analog pins in Uno board. Nano ‘board is Bresdocard friendly while Uno board lacks this property. > However, both devices run at SV, come with a current rating of A0mA, and 1GMIHZ of the clock frequency. abana ta Ted Ur Aine Tay ATES TSE [ Rnegeseap Go amen [TOUR eat aE 2 aa Conof in aga eee eek SAT 3 Difference between Arduino Uno and Arduino Nano in: ThangineringP reject com >» Embedded System ‘> Automation and Robotics > Home Automation and Defense Systems » Virual Realty Applications That’ al for today. I hope you have got clear idea about Nano board. However, i sil you feel skeptical or have any question, you can approach me in the comment section below I'd love to halp you accaraing to best of my knowledge and expertise, Foo! fe to Keop us updated with your valuable feedback and suggestions, they help us provide you quality work that rosonalos ‘wth your requirements and allows you to Keep coming back for what we have to offer. Thanks for reading the arise JLCPCB ~ Prototype 10 PCBs for $2 (For Any Color) COnine orders Daly Chinas Largest PCB Prototype EF How to Get PCB Cash Coupen from JLCPCB: https:/bit.lyi2GMCH9w ‘Author: Adnan Ageel He is 2 blogger and tecnica war who loves fo explore new fogs out of cosy, He belevs in consent hard work hones) and passin tha re essental ingests fo uninee te umate success. He doesnt brag about ms wing StS But Ms exCteNcD soos Inetowor Introduction to Arduino Uno Introduction to POS System 4Comments. Foto McAdnan, Tank you for this tutorial. | ound that pinout diagram for erduino nano contains an eror, in right Side: it must be upside down (on top is D12 in right ofthe mini usb, than 011 and $0 on, and botlom Is Txt). This affect pitures 1 and 4 (tos Hamu shoanaineerinanrojcts com: Syea Zain Nasir Hi bro, ‘Thanks for mentioning it We have corrected the mistake and upload the new correct image Thanks. Steven smitey | have loaded program and i rans correctly on the nana when the usb is alached. Aftor loading the samo program, power off the nano ‘nd use 5 v power supply, the red led on the nano ights, but the program does not function Is there a step i am missing? Mo. mizanur ranman Tanks for sharing this great info abour Arduino Nana. Explained with fow. Leave a Reply crear connote ‘Top PCB Design Service ‘48 oursQuick Turn >> JLCPCB.COM a Qmicnaznow Programming Coto

You might also like