Home - Blog

Arduino Nano Pinout: Specificaties, pincodes en programmeren

Technologie gaat hand in hand met robotica en elektronica. In het midden van al deze staat de elektronische printplaat, en de meest voorkomende printplaat in de elektronische wereld is de Arduino -printplaat. Mensen denken ook dat aduino’s microcontrollers zijn, en het zijn echter printplaten met meerdere componenten, waaronder de microcontroller. Integendeel, de Arduino Nano Pinout als een gedrukte printplaat heeft verschillende componenten in zichzelf, en dat maakt het nog interessanter om over te leren.

Wat is een Arduino Nano Pinout

Arduino Nano is een kleine ATMEGA328P -microcontroller -processor seriële spaanplaat met afmetingen van 4,5 cm bij 1,8 cm. Arduino Nano is inderdaad populair in plaats van de Arduino Uno vanwege de vele overeenkomsten. 

Het belangrijkste verschil is dat Arduino UNO een plastic dual-in-line pakket (PDIP) printplaat vormt en 30 pins heeft, terwijl Arduino Nano een plastic quad flat pack (TQFP) gebruikt en 32 pins heeft. Arduino Nano gebruikt Type-B micro-USB in feite, terwijl Arduino Nano een DC Power Jack heeft.

Arduino Nano Pinout 1

(Ook bekend als PDIP (plastic dip))

Arduino Nano Pinout 2

(Dunne pin vierkant plat pakket (TQFP))

Vervolgens heeft Arduino Nano de voorkeur boven Arduino Uno vanwege zijn kleine omvang, prijs en speciale functies, omdat ze beide vergelijkbare functionaliteiten hebben.

Arduino Nano Pinout 3

(Arduino Nano vooraan, achterkant en zijaanzicht)

Kenmerken van Arduino Nano

ATMEGA328P Microcontroller wordt geleverd met een ingebouwde bootloader, waardoor het gemakkelijker is om het bord met uw code te laten flitsen. De Power MicroController is van de 8-bit AVR (audio/video-ontvanger) -familie.

Bedrijfsspanningssignaal van 5V.

Voeding via VIN of VCC kan variëren tussen 7V en 12V.

 32KB CPU Flash -geheugen werd door 2KB gebruikt door de bootloader.

16MHz kloksnelheid of kristaloscillator.

2KB SRAM -geheugen.

1KB EEPROM -geheugen

Arduino Nano Pinout heeft 30 pins. Acht analoge pinnen, 14 digitale pennen, 6 power pins en 2 reset pins.

19mA stroomvoorziening verbruik.

40MA DC per I/O -pin.

Het kleine formaat van de Arduino Nano Pinout kan passen bij standaardbreadboards, waardoor het de eerste keuze is voor veel toepassingen.

Ondersteunt SPI-communicatie (seriële perifere interface), USART (universele synchrone/asynchrone ontvanger/zender) en inter-geïntegreerde circuits (IIC) communicatie.

Arduino Nano Pinout 4

Basic SPI Bus Voorbeeld)

Gebruikt Type-B Micro USB, in tegenstelling tot Arduino Uno.

In-circuit seriële programmering (ICSP) maakt de programmering voor microcontroller mogelijk zonder te worden losgekoppeld van de printplaat.

Arduino Nano Pinout 5

 (RJ11 Turn ICSP PIC -programmeur)

Arduino Nano -specificaties

Arduino NanoSPECIFICATIE
MicrocontrollerAtmega328p 
CPU Flash -geheugen32 kb (2 kb gebruikt door bootloader) Flash -geheugen
Architectuur / processorAVR 8-bit
SRAM2 kb
Eeprom1 kb
Kloksnelheid16 MHz kloksnelheid
Bedrijfsspanningsbron5V
Analoge I/O -pinnen8
Ingangsspanning7V-12V
DC -stroom per I/O -pinnen40 ma
Digitale I/O -pinnen22
Puls-breedte modulatie (PWM) uitgang6
Energieverbruik19 ma
PCB -maat1,8 cm x 4,5 cm
USBType-B Micro USB
ICSP -headerJA
CommunicatieIIC, SPI Communication, Usart
Gewicht7 gram
ProgrammeerbaarArduino IDE

Arduino nano pinout arrangement

In dit gedeelte worden de functies van de pennen in de onderliggende hardware uitgelegd en we zullen de alternatieve taken van de pins in detail bespreken.

(Arduino nano -functiepennen arrangementen)

TX / D1 PIN is een digitale I / O -pin die verantwoordelijk is voor de verzending van seriële gegevens van de Arduino Nano PCB. Hence it’s a serial port.

RX / D0 pin is a digital I/O pin responsible for receiving serial data into the Arduino Nano PCB. Hence it’s one of the serial communication pins and a serial port.

2 Reset pins and one Reset button that resets the microcontroller and the Reset button to active LOW.

Pin D2 and D3. These are digital I/O pins used to interrupt the microcontroller program in case of an emergency or when a more important function needs execution and the running program needs stopping.

D0 to D13 Serial Clock (SCK) pins. These are all the 14 Digital Input-Output pins (I/O) of the Arduino Nano pinout. In addition the pins configuration is as per the application requirements using the functions pinMode(), digitalRead(), and digitalWrite(). Digital IO pins also have an internal pull-up resistor that ranges from 20Ω to 40Ω and are not connected by default. Subsequently, the Digital IO pins can also source 40 mA of power supply current to power the microcontroller.

D3, D5, D6, D9, and D11 pins for Pulse width Modulation. Hence they control the motor in terms of speed, LED brightness, and many more functions that need modulation.

A0 to A7 pins. These are eight Analog input pins, and analog inputs have an 8-bit analog-to-digital converter (ADC) feature. In addition, it is read with the analogRead() function, which also reads values from specified analog pins.

D10 Signal and Systems (SS), D11 Master Out Slave In (MOSI), D12 Master In Slave Out (MISO), and D13 Serial Clock (SCK) pins. 

Consequently, these are the Digital pins that are used in (Serial Peripheral Interface) SPI communication.

Inbuilt LED (13). This Digital pin controls the internal LED embedded on the circuit board, turning it on or off whenever required.

A4 (SDA), A5 (SCA) pins. These are Analog pins for Two-Wire Interface (TWI) or  Inter-Integrated Circuit (I2C) communication.

AREF is an Analog voltage-to-Digital Conversion (ADC) reference.

VIN, one of the power pins, is the power supply input voltage pin used when also connecting to an external power source (7V – 12V input voltage level) tower microcontroller.

3v3 is the minimum voltage generated by the inbuilt Nano board voltage regulator.

5V is the regulated power supply voltage used by the Nano board to power its components.

GND pin is the ground pin on the nano board.

How to Power the Arduino Nano

You will need to power Arduino Nano up to run your first application. Powering up the Arduino Nano circuit board and its power consumption modes are also discussed in this section. These power modes can keep your Arduino circuit board safe, specifically from power damage.

(Arduino Nano powered using mini USB)

Mini-B USB cable Connector – Connect the mini USB cable power jack to the pin and let it draw power from any source from which a connection occurs.  On the one hand, this option also allows you to draw power from any device that specifically supports USB connector micro USB.

VIN pin – 6-20V unregulated external power supply specifically passes through the pin to the board to power it. Afterward, the power goes through regulation by the Nano board to 5V voltage suitable for the power circuit board’s operation by a board voltage regulator.

– equally important, If you have a regulated power supply source of 5V, here is where the power connection occurs. Hence, this source also supplies the power to the circuit board directly; hence any external power source overload or external interrupts can specifically damage the Arduino microcontroller board.

Difference Between Arduino Uno and Arduino Nano

In contrast, Arduino UNO and the Arduino Nano have significant differences in tech specs. Hier zijn echter enkele van de hieronder besproken verschillen.

(Arduino Nano en Arduino Uno lagen naast elkaar)

– Arduino Uno is daarentegen groter dan de Arduino Nano met 6,9 cm x 5,3 cm, terwijl de Arduino Nano 1,8 cm x 4,5 cm heeft.

-Arduino Nano heeft daarentegen een TQFP (Plastic Quad Flat Pack) bordpakket, terwijl Arduino Uno-bord PDIP (Plastic Dual-In-Line Package) bordpakket heeft.

-In tegenstelling tot Arduino Nano heeft 32 pennen, terwijl Arduino Uno 30 pins heeft. De twee extra pinnen op de Arduino Nano zijn voor ADC -functies.

 -Arduino Uno heeft daarentegen een DC Power Jack en een gewone USB-kabel, terwijl Arduino Nano een Mini-B USB-poort gebruikt; Daarom kan het vermogen krijgen van de reguliere Mini-B USB-verbinding. Vervolgens staat het ook communicatie toe via USB.

Hoe Arduino Nano te programmeren

(Arduino Nano-opstelling op een breadboard)

In deze sectie zullen we bespreken hoe we de Arduino kunnen programmeren en ook de programma’s uitvoeren.

De eerste stap is om de Arduino IDE en gerelateerde stuurprogramma’s zoals de Megaavr -kern te downloaden. Later, zodra het Arduino IDE -bord is geïnstalleerd, verbindt u het Arduino -bord met de computer met de USB -poort. Het zal LED’s krachten.

Kies ondertussen in de Arduino -software het juiste type Arduino -bord dat u gebruikt. Ga naar de ingebouwde voorbeelden van code. Laad vervolgens de voorbeeldcode van uw computer naar het bord op de bovenste balk van de Arduino -software. Onmiddellijk wanneer het proces is voltooid, begint de ingebouwde LED van Arduino te knipperen. Nadien kun je de Arduino observeren en zien dat je opdrachten worden uitgevoerd. Daarom, als u de voorbeeldcode voor het Arduino -bord hebt om te knipperen, zult u achteraf zien wat het Nano -bord doet. 

Overzicht

Samenvattend zijn de toepassing en bekendheid van Arduino Nano grotendeels gebaseerd op de functies en functionaliteiten die in dit artikel worden besproken. Bovendien heeft Arduino Nano gebruik in veel toepassingen, zoals het volgen van gebaren en elektronische ingebouwde sensoren. 

Kortom, we hebben ook vastgesteld dat Arduino -programmering kan variëren in uitgebreidere programma’s. Bovendien zijn SPI -communicatie en seriële communicatie op pennen ook behandeld. Neem in het geval van een technisch of vraag contact met ons op. We zijn altijd verheugd om naar uw feedback te luisteren.

Hommer Zhao
Hallo, ik ben Hommer, de oprichter van WellPCB. Tot nu toe hebben we meer dan 4.000 klanten wereldwijd. Voor vragen kunt u gerust contact met mij opnemen. Bij voorbaat bedankt.

Diensten