Arduino NANO Wiki

11
Jan
Arduino NANO je mikrokrmilnik, ki temelji na mikrokontrolerju Atmel AVR – ATmega328. Ima 14 digitalnih vhodno-izhodnih povezav, 8 analognih vhodov, kot tudi USB priključek za povezavo s računalnikom in napajanje. Velikost je zelo majhna in enostavna za uporabo, kar omogoča enostavno integracijo v različne projekte. NANO ima tudi možnost programiranja preko spletnega vmesnika za razvoj Arduino in drugih programskih jezikov, kot so C in C++. Zato je Arduino NANO odlična izbira za širok spekter projektov, od začetnih do naprednih, in je priljubljen med učenci, učitelji in inženirji.
Gre pravzaprav za večjega brata Arduino UNO v manjši fizični velikosti. Torej ni manj zmogljiv, glede na to, da je manjši.
Arduino UNO | Arduino NANO | Arduino MEGA | |
Mikrokrmilnik | Atmel AVR ATmega328P | Atmel AVR ATmega328P | Atmel AVR ATmega2560 |
Delovna napetost | 5V | 5V | 5V |
Zunanje napajanje | 7-12Vdc | 7-12Vdc | 7-12Vdc |
Spomin FLASH | 32kB (2KB bootloader) | 32kB (2KB bootloader) | 256KB (8KB bootloader) |
Spomin SRAM | 2KB | 2KB | 8KB |
EEPROM | 1KB | 1KB | 4KB |
Hitrost takta | 16MHz | 16MHz | 16MHz |
Digitalni I/O | 14 | 22 | 54 |
od tega PWM | 6 | 6 | 15 |
Analogni vhodi | 6 | 8 | 16 |
USB povezljivost | Da | Da | Da |
DC tok na I/O | 20mA | 40mA | 20mA |
Velikost PCB | 53.4 x 68.6 mm | 18 x 45 mm | 53.3 x 101.52 mm |
Teža | 25g | 7g | 37g |
Vsak od 14 digitalnih vhodov/izhodov na Nano lahko uporablja kot vhod ali izhod, z uporabo funkcij pinMode(), digitalWrite() in digitalRead(). Delujejo na napetosti 5 voltov. Vsak vhod/izhod lahko ponudi ali prejme največ 40mA in ima notranji pull-up upornik (privzeto odklopljen) 20-50 kOhmov. Poleg tega imajo nekateri vhodi/izhodi posebne funkcije:
Nano ima 8 analognih vhodov, vsak od njih pa ponuja 10 bitov ločljivosti (to je 1024 različnih vrednosti). Privzeto merijo od tla do 5 voltov, čeprav je mogoče spremeniti zgornjo mejo njihovega območja z uporabo funkcije analogReference(). Analogni vhodi 6 in 7 ne morejo uporabljati kot digitalni vhodi/izhodi. Poleg tega imajo nekateri vhodi/izhodi posebne funkcije:
Na plošči so še nekaj drugih vhodov/izhodov:
Arduino Nano ima številne možnosti za komunikacijo z računalnikom, drugim Arduinojem ali drugimi mikrokontrolerji. ATmega328 omogoča UART TTL (5V) serijsko komunikacijo, ki je na voljo na digitalnih pinih 0 (RX) in 1 (TX). FTDI FT232RL na plošči prenaša to serijsko komunikacijo prek USB in gonilniki FTDI (vključeni v programsko opremo Arduino) omogočajo virtualni com vhod za programsko opremo na računalniku. Programska oprema Arduino vključuje serijski monitor, ki omogoča preprosto pošiljanje in prejemanje besedilnih podatkov med ploščo Arduino in računalnikom. LED-ji RX in TX na plošči se bodo utripali, ko se podatki prenašajo prek čipa FTDI in USB povezave z računalnikom (ne pa za serijsko komunikacijo na pinih 0 in 1). Knjižnica SoftwareSerial omogoča serijsko komunikacijo na kateremkoli od digitalnih pinov Nano. ATmega328 podpira tudi komunikacijo I2C (TWI) in SPI. Programska oprema Arduino vključuje knjižnico Wire za poenostavitev uporabe I2C vodila. Za uporabo komunikacije SPI prosim preglejte podatkovni list ATmega328.
Arduino Nano lahko programiramo z programsko opremo Arduino (prenos). Izberite “Arduino Duemilanove ali Nano w/ ATmega328” iz menija Orodja > Plošča (glede na mikrokontroler na vaši plošči). ATmega328 na Arduino Nano je že predhodno naprogramiran s bootloaderjem, ki vam omogoča nalaganje novega koda brez uporabe zunanjega strojnega programatorja. Komunicira z uporabo originalnega protokola STK500. Lahko tudi obidemo bootloader in programiramo mikrokontroler preko vstopa ICSP (In-Circuit Serial Programming) z uporabo Arduino ISP ali podobnega.
Piškotek | Trajanje | Opis |
---|---|---|
__stripe_mid | 1 year | Stripe sets this cookie cookie to process payments. |
__stripe_sid | 30 minutes | Stripe sets this cookie cookie to process payments. |
cookielawinfo-checkbox-advertisement | 1 year | Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category . |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
CookieLawInfoConsent | 1 year | Records the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie. |
elementor | never | This cookie is used by the website's WordPress theme. It allows the website owner to implement or change the website's content in real-time. |
PH_HPXY_CHECK | session | This cookie is used to save the information about the current session. |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Piškotek | Trajanje | Opis |
---|---|---|
_gat | 1 minute | This cookie is installed by Google Universal Analytics to restrain request rate and thus limit the collection of data on high traffic sites. |
Piškotek | Trajanje | Opis |
---|---|---|
_ga | 2 years | The _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors. |
_gid | 1 day | Installed by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously. |
CONSENT | 2 years | YouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data. |
Piškotek | Trajanje | Opis |
---|---|---|
VISITOR_INFO1_LIVE | 5 months 27 days | A cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface. |
YSC | session | YSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages. |
yt-remote-connected-devices | never | YouTube sets this cookie to store the video preferences of the user using embedded YouTube video. |
yt-remote-device-id | never | YouTube sets this cookie to store the video preferences of the user using embedded YouTube video. |
yt.innertube::nextId | never | This cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen. |
yt.innertube::requests | never | This cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen. |
Piškotek | Trajanje | Opis |
---|---|---|
m | 2 years | No description available. |
woodmart_recently_viewed_products | session | No description |