Cov txheej txheem:
- Kauj Ruam 1: Phaj Nrog Core Arduino
- Kauj ruam 2: STM32F746G DISCOVERY
- Kauj Ruam 3: Arduino Due X STM NUCLEO-L476RG
- Kauj ruam 4: Dhrystone
- Kauj Ruam 5: STM32L432KC X Arduino Nano
- Kauj Ruam 6: STM32L432KC
- Kauj Ruam 7: Nruab Core Arduino rau daim npav STM32L4
- Kauj Ruam 8: Nruab ST -Txuas - Qhov Kev Pab Cuam Cov Ntaub Ntawv
- Kauj Ruam 9: Chaw Nyob Json
- Kauj ruam 10: Boards: Board Manager
- Kauj Ruam 11: Cov Tsev Qiv Ntawv: Tus Thawj Saib Xyuas Tsev Qiv Ntawv
- Kauj ruam 12: Rub tawm PDF
Video: Qhov tsis txaus ntseeg STM32 L4!: 12 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Kuv xav pib kab lus no piav qhia tias tsab ntawv L (ntawm L4) txhais tau tias Tsawg (lossis, qhov tseeb, Ultra Low Power). Yog li, nws siv lub zog me me thiab qhia tias vim li cas qhov STM32 no zoo kawg! Nws siv microamps thiab muaj cov txheej txheem sab hauv uas tuaj yeem txheeb xyuas cov nuj nqis ntawm txhua ntu ntu. Qhov no tso cai rau kev tswj hwm kev siv hluav taws xob zoo heev, thiab nrog kev ua haujlwm siab.
Kuv twb tham txog qhov microcontroller hauv daim vis dis aus, "Txoj hauv kev yooj yim tshaj plaws rau program microcontroller!" Hauv cov vis dis aus, kuv tau qhia yuav ua li cas rau nruab STM32 L4 nrog MBED. Tab sis thaum tshawb fawb ntau ntxiv txog nws, Kuv pom qee yam uas cov chaw tsim khoom STMicroelectronics tsis qhia tawm. Nws tau siv Core Arduino hauv lub nti, uas ua rau muaj kev paub dhau los ntawm Arduino IDE.
Hauv daim duab no, peb muaj ob qho qauv ntawm L4. STM32L432KC zoo ib yam rau Arduino Nano thiab STM32L476RG, uas muaj IOs sib npaug rau Arduino Uno. Yog li, thaum ua haujlwm nrog ob qhov hloov pauv ntawm cov tswj hwm lub zog loj no, Kuv yuav qhia koj yuav ua li cas teeb tsa Arduino Core hauv STM32 tsev neeg. Tsis tas li, kuv yuav piav qhia cov yam ntxwv tseem ceeb ntawm STM32 Cov Khoom Siv.
Kauj Ruam 1: Phaj Nrog Core Arduino
Kuv tso cov npe ntawm no txog ntau haiv neeg. Txawm li cas los xij, peb yuav ua haujlwm nrog STM32L432KC thiab STM32L476RG.
STM32F0
- Nucleo F030R8
- Nucleo F091RC
- 32F0308 DISCOVERY
STM32F1
- BluePill F103C8 (Kev txhawb nqa yooj yim, tsis muaj USB)
- MapleMini F103CB (Kev txhawb nqa yooj yim, tsis muaj USB)
- Nucleo F103RB
- STM32VLDISCOVERY
STM32F2
Nucleo F207ZG
STM32F3
- Nucleo F302R8
- Nucleo F303K8
- Nucleo F303RE yog
STM32F4
- Nucleo F401RE yog
- Nucleo F411RE yog
- Nucleo F429ZI yog
- Nucleo F446RE yog
- STM32F407G-DISC1
STM32F7
STM32F746G-DISCOVERY
STM32L0
- Nucleo L031K6
- Nucleo L053R8
- B-L072Z-LRWAN1
STM32L1
Nucleo L152RE yog
STM32L4
- Nucleo L432KC Cov
- Nucleo L476RG yog
- NUCLEO-L496ZG-P Cov
- NUCLEO-L496ZG-P Cov
- B-L475E-IOT01A
Kauj ruam 2: STM32F746G DISCOVERY
Tsuas yog ua piv txwv, Kuv qhia cov ntsiab lus ntawm STM32F746G DISCOVERY, uas kuv xav txog tsiaj nyaum. Kuv twb tau xaj cov nti no, thiab kuv vam tias yuav tham txog nws sai sai no.
Yam ntxwv:
STM32F746NGH6 microcontroller nrog 1 Mbytes ntawm Flash nco thiab 340 Kbytes ntawm RAM hauv BGA216 pob
- On-board ST-LINK / V2-1 txhawb USB lub peev xwm rov suav dua
- Mbed-enabled (mbed.org)
- USB muaj nuj nqi: virtual COM chaw nres nkoj, huab hwm coj cia, thiab debug chaw nres nkoj
- 4.3-nti 480x272 xim LCD-TFT nrog lub vijtsam kov tau
- Lub koob yees duab txuas
- SAI audio codec
- Suab kab hauv thiab kab tawm jack
- Lub tso suab hais lus tso suab
- Ob lub ST MEMS microphones
- SPDIF RCA cov tswv yim txuas
- Ob lub khawm (tus neeg siv thiab rov pib dua)
- 128-Mbit Quad-SPI Flash nco
- 128-Mbit SDRAM (64 Mbits siv tau)
- Txuas rau daim npav microSD
- RF-EEPROM tus ntxhais txuas
- USB OTG HS nrog Micro-AB txuas
- USB OTG FS nrog Micro-AB txuas
- Ethernet txuas raws li IEEE-802.3-2002
- Tsib qhov kev xaiv fais fab:
ST Txuas / V2-1
- USB FS txuas
- USB HS txuas
- VIN los ntawm Arduino txuas
- Sab nraud 5 V los ntawm qhov txuas
Fais fab mov tso tawm forex lwm daim ntawv thov:
3.3 V lossis 5 V
Arduino Uno V3 txuas
Kauj Ruam 3: Arduino Due X STM NUCLEO-L476RG
Nov yog kev sib piv nrog Arduino Due, uas yog ARM Cortex-M3. Kuv tau siv tus qauv no hauv cov yeeb yaj kiab: Nema 23 Stepper Motor nrog Tsav TB6600 nrog Arduino Due, thiab SpeedTest: Arduinos - ESP32 / 8266s - STM32, nrog STM NUCLEO -L476RG, uas yog ARM Cortex -M4 Ultra Low Power, thiab nyob hauv daim duab ntawm sab xis.
Arduino Dua:
Microcontroller: AT91SAM3X8E
Kev Ua Haujlwm Voltage: 3.3V
Kev tawm tswv yim Voltage (pom zoo): 7-12V
Kev tawm tswv yim Voltage (txwv): 6-16V
Digital I / O Pins: 54 (ntawm 12 muab PWM tso tawm)
Analog Input Pins: 12
Analog Output Pins: 2 (DAC)
Tag Nrho DC Tso Tawm Tam Sim No ntawm txhua kab I / O: 130 mA
DC Tam Sim No rau 3.3V Pin: 800 mA
DC Tam Sim No rau 5V Pin: 800 mA
Flash nco: 512 KB txhua qhov muaj rau cov neeg siv daim ntawv thov
SRAM: 96 KB (ob lub txhab nyiaj: 64KB thiab 32KB)
Moos Ceev: 84 MHz
Ntev: 101.52 hli
Dav: 53.3 hli
Qhov hnyav: 36 g
STM NUCLEO-L476RG:
STM32L476RGT6 hauv LQFP64 pob
ARM®32-ntsis Cortex®-M4 CPU
Adaptive real-time accelerator
(ART Accelerator ™) tso cai 0-tos lub xeev ua tiav los ntawm Flash nco
80 MHz max CPU zaus
VDD los ntawm 1.71 V txog 3.6 V
1 MB Flash
128 KB SIB
TSI (3)
I2C (3)
UAS (3)
UA (2)
LUAG (1)
GPIO (51) nrog kev muaj peev xwm cuam tshuam sab nraud
Capacitive sensing nrog 12 raws
12-ntsis ADC (3) nrog 16 raws
12-ntsis DAC nrog 2 raws
FPU lossis Chav Nyob Ntab
* Kuv hais qhov no tshwj xeeb FPU ntawm STM NUCLEO-L476RG, uas txhais tau hais tias lub nti ua cov lej trigonometric nrog qhov xav tau ceev. Qhov no tsis zoo li Arduino Due, uas xav tau cov txheej txheem caj ces los ua qhov ntawd.
Kauj ruam 4: Dhrystone
Dhrystone yog lub khoos phis tawj ntsuas lub khoos phis tawj tsim nyob rau xyoo 1984 los ntawm Reinhold P. Weicker, uas yog lub hom phiaj los ua tus sawv cev ntawm (tus lej) cov txheej txheem txheej txheem. Dhrystone tau dhau los ua tus sawv cev ntawm kev ua haujlwm tag nrho (CPU). Lub npe "Dhrystone" yog lub txim ntawm qhov sib txawv piv txwv txheej txheem hu ua Whetstone. Nov yog qhov ntsuas los ntawm qee qhov kev ua haujlwm dav dav.
Txoj haujlwm no nyob ntawm no txhawm rau suav qee yam hauv cov microcontrollers hauv Arduino. Thiab qhov tshwm sim ntawm ob qhov kev sim kuv tau ua, ib qho nrog Dhrystone thiab lwm qhov los ntawm SpeedTest video, muaj raws li hauv qab no:
Arduino Them Nyiaj: US $ 37.00
Dhrystone Benchmark, Version 2.1 (Hom Lus: C)
Kev pib ua tiav, 300, 000 sau los ntawm Dhrystone
Kev ua tiav xaus
Microseconds rau ib qho dhau Dhrystone: 10.70
Dhrystones Ib Thib Ob: 93, 431.43
VAX MIPS ntsuam xyuas = 53.18 DMIPS
Kev xeem xeem Fernandok
Tag nrho lub sijhawm: 2,458 ms
- Tsis muaj FPU
- Dhrystone software ntawm Arduino
www.saanlima.com/download/dhry21a.zip
STM NUCLEO-L476RG: US $ 23.00
Dhrystone Benchmark, Version 2.1 (Hom Lus: C)
Kev pib ua tiav, 300, 000 sau los ntawm Dhrystone
Kev ua tiav xaus
Microseconds rau ib qho dhau Dhrystone: 9.63
Dhrystones ib Thib Ob: 103, 794.59
VAX MIPS ntsuam xyuas = 59.07 DMIPS
Kev xeem xeem Fernandok
Tag Nrho Lub Sijhawm: 869 ms 2.8x FASTER
- PI txog 40Mbit / s, USART 10Mbit / s
- 2x DMA (14 raws)
- Mus txog 80 MHz / 100 DMIPS nrog ART Accelerator
Kauj Ruam 5: STM32L432KC X Arduino Nano
Sab laug laug yog STM32L432KC, uas STMicroelectronics tso tus Arduino Nano zoo ib yam hauv daim duab ntawm sab xis.
Kauj Ruam 6: STM32L432KC
Ultra-low-power Arm® Cortex®-M4 32-ntsis
MCU + FPU, 100DMIPS, txog 256KB Flash, 64KB SRAM, USB FS, analog, suab
Mus txog 26 IOs sai dua, zam rau 5V
- RTC nrog HW daim ntawv qhia hnub, tswb, thiab ntsuas ntsuas
- Mus txog 3 qhov muaj peev xwm nrhiav tau raws
- 11x Timers: 1x16-ntsis ua haujlwm siab tswj lub cav
1x 32-ntsis thiab 2x 16-ntsis lub hom phiaj dav dav, 2x 16-ntsis yooj yim, 2x lub zog qis 16-ntsis timers (muaj nyob rau hauv Nres hom), 2x watchdogs, SysTick timer
Nco:
- Txog 256 KB Flash, cov cai muaj cai nyeem ntawv tiv thaiv
- 64 KB SRAM suav nrog 16 KB nrog kho vajtse sib npaug
- Quad SPI nco interface
Cov khoom siv analog zoo ib yam (cov khoom siv ywj pheej)
- 1x 12-ntsis ADC 5 Msps, mus txog 16 khoom nrog kev kho vajtse ntau, 200 μA / Msps
- 2 raws ntawm 12-ntsis DAC tso zis, siv hluav taws xob tsawg
- 1x lub tshuab ua haujlwm nrov nrog PGA built-in
- 2x piv rau ultra-low zog cuam tshuam
- 1x UPS (serial audio interface)
- 2x I2C FM + (1 Mbit / s), SMBus / PMBus
- 3x USARTs (ISO 7816, LIN, IrDA, modem)
- 1x LPUART (Nres 2 sawv)
- 2x SPI (thiab 1x SPI Quad)
CAN (2.0B nquag)
- Ib tus xov tooj raws tu qauv tus tswv SWPMI I / F.
- IRTIM (infrared interface)
- 14-channel DMA maub los
- Random Number Generator
Kauj Ruam 7: Nruab Core Arduino rau daim npav STM32L4
- Nruab ST-Txuas program uas sau tseg
- Json Chaw Nyob
- Boards: Tus Thawj Tswj Daim Npav
- Tsev qiv ntawv: Tus Thawj Saib Xyuas Tsev Qiv Ntawv
Kauj Ruam 8: Nruab ST -Txuas - Qhov Kev Pab Cuam Cov Ntaub Ntawv
Rub tawm cov ntawv ntawm https://www.st.com/en/development-tools/stsw-link0…. Tsuas yog sau npe, rub tawm, thiab teeb tsa lub cuab yeej.
Kauj Ruam 9: Chaw Nyob Json
Ntawm cov khoom, suav nrog qhov chaw nyob hauv qab no:
github.com/stm32duino/BoardManagerFiles/ra…
Kauj ruam 10: Boards: Board Manager
Hauv Arduino Board Manager, teeb tsa STM32 Core, uas yog kwv yees li 40MB.
Kauj Ruam 11: Cov Tsev Qiv Ntawv: Tus Thawj Saib Xyuas Tsev Qiv Ntawv
Thaum kawg, nruab cov tsev qiv ntawv.
Kuv tus kheej nyiam pab pawg STM32duino.com, uas muaj ntau qhov piv txwv, qee qhov uas kuv tau teeb tsa. Kuv kuj tau rub tawm FreeRTOS, uas kuv nyiam heev. Kuv pom nws nrawm thiab ntseeg tau. Kuv kuj tau teeb tsa (tab sis tseem tsis tau sim) LRWAN. Kuv yuav qhia sai sai rau koj seb nws puas zoo lossis tsis yog.
Kauj ruam 12: Rub tawm PDF
Pom zoo:
Phau Ntawv Tsis Txaus Ntseeg Nrog Qhib Qhov Qhib: 11 Kauj Ruam (nrog Duab)
Phau Ntawv Tsis Txaus Ntseeg Nrog Xauv Lub Pob Xauv: Thaum nws los txog rau zais peb yam tsis pub lwm tus paub. Peb ib txwm zais hauv lub raj mis lossis hauv lub thawv uas zoo.! xav hauv qhov ntawd hauv qhov kev qhia no kuv tab tom qhia h
Cov Neeg Tsis Txaus Ntseeg Phab Ntsa hauv Tus Kheej (Sau Koj Tus Kheej Cov Lus!): 8 Kauj Ruam (nrog Duab)
Cov Neeg Tsis Txaus Ntseeg Phab Ntsa hauv Tus Kheej (Sau Koj Tus Kheej Cov Lus!): Kuv tau lub ntsiab lus ua qhov no tau ntau lub hlis tom qab pom kev qhia siv Christmas teeb (nws zoo heev tab sis dab tsi yog lub ntsiab lus uas tsis qhia ib qho lus, puas yog?). Yog li kuv tau ua Tus Neeg Tsis Zoo Phab Ntsa qee lub sijhawm dhau los thiab nws coj kuv mus ntev
Qhov tsis txaus ntseeg ESP32 Wrover Los Ntawm Espressif: 8 Kauj Ruam
Qhov Tsis Txaus Ntseeg ESP32 Wrover Los Ntawm Espressif: Hnub no, Kuv yuav qhia koj txog ESP32 Wrover Kit, uas yog tus qauv uas txawv dua li ESP32 Kuv ib txwm siv (chav dej). Wrover yog pawg thawj coj txhim kho uas muaj ntau yam ntxwv thiab yog ib puag ncig zoo heev. Kuv yuav qhia koj ib qho piv txwv ntawm qhov program
AR Portal mus rau Qhov Tseeb Los Ntawm Cov Neeg Tsis Txaus Ntseeg: 10 Kauj Ruam (nrog Duab)
AR Portal mus rau Qhov Hloov Los Ntawm Cov Neeg Tsis Txaus Ntseeg: Cov Lus Qhia no yuav dhau los ntawm kev tsim qhov kev hloov pauv kev muaj tiag mobile app rau iPhone nrog lub portal uas coj mus rau qhov siab dua los ntawm Stranger Things. Koj tuaj yeem nkag mus hauv lub portal, taug kev ncig, thiab rov qab los. Txhua yam nyob hauv tsev
Saib zoo li koj tus yeeb ncuab: Tsim cov cim uas tsis meej pem, tsis txaus ntseeg thiab tsis sib luag !: 6 Cov kauj ruam (nrog Duab)
Saib zoo li koj tus yeeb ncuab: Tsim cov cim uas tsis meej pem, Tsis txaus ntseeg thiab tsis sib luag!: Hauv cov lus qhia no koj yuav kawm Tsim Camouflage. Hauv cov phiaj xwm yav dhau los Kuv tau tsim nyog thiab ua kom zoo ntau yam txheej txheem kom ua raws tsoomfwv lossis cov npe tuam txhab. Kev siv cov txheej txheem uas tau hais tseg hauv cov kauj ruam hauv qab no yuav tso cai rau koj mus ib ntus