Qhov Tseem Ceeb - Arduino vs Raspberry Pi
Qhov sib txawv tseem ceeb ntawm Arduino thiab Raspberry Pi yog tias Arduino yog microcontroller txhim kho pawg thawj coj saib thaum raspberry pi yog lub hom phiaj dav dav ntawm lub khoos phis tawj raws li Linux Operating System.
Xaiv Arduino lossis Raspberry Pi nyob ntawm qhov project yuav tsim. Kab lus no tham txog qhov feem ntau Arduino Uno thiab Raspberry Pi B +. Feem ntau, piv rau Arduino, lub zog noj qis dua thiab qhov nrawm dua hauv Raspberry pi.
Arduino yog dab tsi?
Lub Rooj Tswjhwm Saib Xyuas Arduino muaj microcontrollers, programming hardware, USB programming interface, pib dua khawm, fais fab txuas thiab lwm yam. Muaj ntau hom Arduino boards xws li Arduino Uno, Mega, Nano. Qhov feem ntau Arduino board uas yog Arduino Uno muaj ob lub microcontrollers. ATmega328 yog programmed los ntawm tus neeg siv. Lub ATmega16U2 twb tau npaj ua ntej thiab nws yog siv rau kev sib txuas lus USB. IO pins yog siv los txuas rau lub ntiaj teb sab nraud. Muaj cov pins digital thiab analog pins.
Daim duab 01: Arduino
Arduino IDE yog siv los sau cov kev pab cuam rau pawg thawj coj loj hlob. Nws tuaj yeem siv los sau cov lej, sau ua ke, debug thiab thaum kawg txhawm rau xa cov lej mus rau pawg thawj coj. Arduino IDE ua rau txoj haujlwm txhim kho sai thiab yooj yim dua. Cov software no yog ib qho dawb thiab qhib qhov chaw. Cov kev pab cuam sau hauv Arduino IDE zoo ib yam li C cov kev pab cuam. Nws yog ib qho yooj yim rau integrate Arduino nrog kho vajtse siv shields. Cov ntaub thaiv npog no tuaj yeem ncaj qha mus rau Arduino. Ethernet shield yog siv los txuas rau Ethernet. Cov xim LCD ntaub thaiv npog yog siv los cuam tshuam rau cov zaub. Tus programmer tuaj yeem siv cov ntaub thaiv npog ncaj qha thiab hu rau lub tsev qiv ntawv tsim nyog los ua cov haujlwm xav tau.
Raspberry Pi yog dab tsi?
Raspberry Pi khiav ntawm qhov Kev Ua Haujlwm (OS). Nws yog ib txheej ntxiv ntawm software uas ua haujlwm kho vajtse. Hauv Arduino, daim ntawv thov ncaj qha khiav ntawm microcontroller tab sis nyob rau hauv raspberry pi, daim ntawv thov yuav tsum mus dhau OS los tswj kho vajtse.
Muaj ntau yam xws li Raspberry pi A, B, B+. Raspberry Pi B + muaj Broadcom BCM 2836 System ntawm Chip (SoC). Nws muaj cov processors thiab lwm yam khoom sib txuas los ua kom tag nrho lub cev. Tus processor yog Broadcom BCM 2826 ARM raws li processor. ARM processors yog lub hauv paus ntawm feem ntau cov khoom siv IoT. Raspberry Pi tuaj yeem raug programmed siv hom lus xws li Python, C ++.
Daim duab 02: Raspberry Pi
Nws kuj muaj Graphical Processing Unit (GPU). Nws pab ua kom cov duab nrawm. Nws muaj 40 Lub Hom Phiaj Tawm Tawm Tawm Tawm Tawm (GPIO). Muaj 4 USB chaw nres nkoj thiab RJ45 Ethernet chaw nres nkoj. Muaj USB Ethernet Interface IC yog siv los sib txuas lus nrog Ethernet thiab USB chaw nres nkoj. Kuj tseem muaj CSI Lub Koob Yees Duab txuas. HDMI chaw nres nkoj pab txuas lub cuab yeej rau lub monitor. Lub DSI yog ib tug saib interface rau cov lus. Nws yog lwm txoj hauv kev rau HDMI. Lub micro SD daim npav yog nyob rau hauv lub micro SD qhov. Nws nyob tom qab ntawm lub rooj tsavxwm.
Dab tsi yog qhov zoo sib xws ntawm Arduino thiab Raspberry Pi?
Ob Arduino thiab Raspberry Pi tuaj yeem siv los tsim Internet ntawm Yam (IoT) thiab Embedded systems
Qhov txawv ntawm Arduino thiab Raspberry Pi yog dab tsi?
Ardunio vs Raspberry Pi |
|
Arduino yog ib lub rooj tsavxwm microcontroller uas muab lub platform qhib los tsim kho vajtse thiab software ib puag ncig. | Raspberry Pi yog lub khoos phis tawj me me uas tsim los txhawb kev qhia kev paub txog computer hauv cov tsev kawm ntawv thiab hauv cov tebchaws tsim. |
Kev nrawm | |
Kev nrawm ntawm Arduino yog 16MHz. | Kev nrawm ntawm Raspberry Pi yog 900MHz. |
Chaw nyob | |
Arduino muaj qhov chaw nyob qis dua vim nws yog 8 ntsis microcontroller. | Raspberry Pi txhawb qhov chaw nyob loj dua vim nws muaj 32 ntsis processor. |
Input Output Voltage Levels | |
Input Output voltage theem rau Arduino yog 0V thiab 5V. | Input Output voltage theem rau Raspberry Pi yog 0V thiab 3.3V. |
Arduino muaj 32K Flash, 2K SRAM thiab 1K EEPROM. | Raspberry Pi muaj 4GB Flash, 512K SRAM thiab micro SD. |
OS | |
Arduino tsis khiav ntawm OS. | Raspberry Pi khiav ntawm OS. |
Summary – Arduino vs Raspberry Pi
Kab lus no tau tham txog qhov sib txawv ntawm Arduino thiab Raspberry Pi. Qhov txawv ntawm Arduino thiab Raspberry Pi yog tias Arduino yog microcontroller txhim kho pawg thawj coj saib thaum raspberry pi yog lub hom phiaj dav dav hauv lub computer raws li Linux Operating System.