Cov txheej txheem:
- Kauj Ruam 1: Lub Hom Phiaj
- Kauj Ruam 2: Kev hloov kho tshiab rau MCU
- Kauj Ruam 3: Cov Khoom Siv Hluav Taws Xob
- Kauj ruam 4: Kho vajtse hloov khoom dua tshiab
- Kauj ruam 5: Bootloader
- Kauj Ruam 6: Tib Neeg Kev Sib Tham
- Kauj ruam 7: Tus Pin Configuration
- Kauj Ruam 8: Qhov Kawg
Video: Txhua Hauv Ib Lub Tshuab Microcontroler Board: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv qhov kev tsim ntawm txhua-hauv-ib lub microcontroller board lub hom phiaj yog kom ua haujlwm tau zoo dua li Arduino, tom qab kwv yees li 100 teev ntawm kev tsim Kuv tau txiav txim siab los qhia nws rau zej zog, Kuv vam tias koj txaus siab rau kev rau siab thiab txhawb nqa nws (Cov lus nug lossis cov ntaub ntawv yuav raug txais tos).
Kauj Ruam 1: Lub Hom Phiaj
ib txoj haujlwm twg muaj qhov xav tau sib txawv: cov ntsuas hluav taws xob, tus ua haujlwm thiab suav nrog, txoj hauv kev yooj yim tshaj plaws yog nrog lub microcontroller zoo ib yam li Arduino, qhov no kuv siv ib qho ntawm PIC16F ntau Microcontroler txij li kuv paub zoo dua.
Cov ntaub ntawv PIC16F1829:
Kev lag luam;)
Sab hauv 32 MHz
UART lossis USB interface (ch340)
SPI lossis I2C x2
Timers (8/16-ntsis) x4 x1
10-ntsis ADC x12
Kuv x18
thiab ntau yam ntxiv (cov ntaub ntawv hauv cov ntawv)
Muaj ntau pob khoom sib txawv tab sis thaum ua cov khoom lag luam uas tsis yog xuas tes ua PCB qhov tsawg tshaj plaws kuj yog qhov pheej yig tshaj
Kauj Ruam 2: Kev hloov kho tshiab rau MCU
lub microcontroller xav tau lub capacitor thiab kho vajtse teeb tsa rau tus pin rov pib dua, tab sis tsis txaus
- Cov Khoom Siv Hluav Taws Xob
- Kho vajtse hloov khoom dua tshiab
- Bootloader
- Tib neeg Interface
- Tus Pin Configuration
Kauj Ruam 3: Cov Khoom Siv Hluav Taws Xob
- kev tiv thaiv kev tiv thaiv ntawm Fais Fab Khoom (MOSFET-P)
Kuv ua kom zoo dua ntawm sab hauv diode ntawm mosfet tsav thiab thaum qhov tshwm sim Qhov Rooj Voltage txaus txaus kom muaj RDSon qis heev link_info
-tus tswj hluav taws xob (VCO) tus tswj hwm kuv siv LD1117AG thiab pakaging TO-252-2 (DPAK) tib yam rau lm7805 tab sis pheej yig dua thiab LDO
- cov ntxaij lim dej muaj peev xwm (100n)
- Fuse rau USB zog
los tiv thaiv ntau tshaj 1A
- Ferrite lim rau USB zog
nyob rau hauv kev xeem
Kauj ruam 4: Kho vajtse hloov khoom dua tshiab
rau lub hom phiaj dav kuv txiav txim siab ntxiv:
- Soft-Start Resetif lwm yam yog tswj, Nrog ncua hauv qhov pib pib nws tsis pib lub microcontroller, tom qab lub zog thiab ruaj khov qhov hluav taws xob muaj kev nyab xeeb los tswj lwm yam
tus pin rov pib dua tsis kam lees, qhov no rov pib dua MCU thaum nws yog 0V, RC Circuit (tiv thaiv lub zog tiv thaiv) ua rau cov mem tes ntev dua thiab cov diode tso lub capacitor thaum VCC yog 0V
N-Channel Mosfet AO3400A
vim tias tus qauv microcontroller tsis tuaj yeem muab ntau dua 20mA lossis 3mA rau tus pin ntxiv rau lub zog txwv tag nrho kev siv rau 800mA thiab mosfets tuaj yeem siv 5V rau 3.3V hloov pauv kev sib tham.
OP-AMP LMV358A
txhawm rau ua kom lub zog tsis muaj zog heev, ua rau tsis muaj kev tiv thaiv thiab ntsuas kom nkag siab tam sim no, thiab lwm yam …
Kauj ruam 5: Bootloader
lub bootloader muab los sau cov lus qhia, tab sis hauv cov ntsiab lus nws lub luag haujlwm yog thauj cov program.in Arduino Ib qho piv txwv muaj lwm lub microcontroller nrog kev txhawb nqa ib txwm USB, thaum muaj tag nrho PICs bootloader yog PICKIT3 txawm tias peb muaj CH340C (nws yuav tsis yog bootloader, nws yuav yog USB rau Serial microcontroler hu ua UART).
PICKIT3 -> bootloader ntawm ICSP (Hauv -Circuit Serial Programming)
CH340C -> Serial USB kev sib txuas lus
txhua yam tab tom txhim kho, tab sis bootloader ua haujlwm.
Kauj Ruam 6: Tib Neeg Kev Sib Tham
- USB txhawb
CH340C yog lub cim xeeb USB rau Serial hloov pauv
Standart Kev teeb tsa ntawm cov lej ntawm 9600bauds, 8bits, 1 nres me ntsis, tsis muaj qhov sib npaug, tsawg kawg qhov tseem ceeb xa ua ntej thiab tsis thim rov qab
- Pib dua khawm
siv nyob rau hauv Soft-Start Reset Circuit kom rov pib dua lub microcontroler, tab sis ICSP RST yeej
-User Khawm
raug 10k txhawm rau rub tawm hauv tus pin tus pin
- 3 hli xiav leds x8 5V - 2.7 Vled = 2.3 Vres
2.3 Vres / 1500 Rres = 1.5 mA (koj tuaj yeem tau txais qhov ci ntau dua)
2.3 Vres * 1.5 mA => 4 mW (tsawg dua 1/8W)
Kauj ruam 7: Tus Pin Configuration
Kev daws teeb meem nrog qhov chaw me me, yog los qhia tus txheej txheem txheej thiab muab lawv sib dhos ua ke rau ntawm lub rooj tsavxwm, ob chav kab pins thiab sib thooj tuab ntawm lub rooj tsavxwm, zoo ib yam li pci txuas txuas
tab sis qhov chaw nruab nrab tus pin rau tus pin yog 100mils = 2.55mm
qhov deb yog kwv yees li 2 hli = 2.55 - 0.6 (tus pin)
kuj yog qhov tuab tuab ntawm lub rooj tsavxwm yog 1.6 uas yog
qhov no yog piv txwv nrog 2 cov laug cam ntawm 1 hli
Kauj Ruam 8: Qhov Kawg
Txhua feem uas kuv tau koom ua ke tau raug kuaj cais nrog lwm cov khoom (TH) thiab cov qauv ua qauv, Kuv tsim nws nrog cov txheej txheem easyEDA thiab xaj hauv JLC thiab LCSC (kom qhov kev txiav txim los ua ke ua ntej koj yuav tsum tau xaj hauv JLC thiab ib zaug xaj) nrog tib ntu koj ua qhov kev yuav khoom hauv LCSC thiab ntxiv)
Nws yog kev tu siab uas kuv tsis muaj daim duab thiab kuv tsis muaj peev xwm ua pov thawj nws ua ke, rau lub sijhawm nws yuav xaj xaj rau Suav thiab ua txhua yam ntaub ntawv, tab sis nws yog rau cov lus qhia hauv qab no txij li nws npog cov qauv tsim ntawm no, Cov lus nug koj tuaj yeem tso nws hauv cov lus.
Thiab qhov no yog nws, thaum qhov kev txiav txim tuaj txog kuv yuav muab nws tso, sim ua ke, tshaj tawm cov teeb meem, hloov tshiab, ntaub ntawv, phiaj xwm, thiab tej zaum yuav ua yeeb yaj kiab.
ua tsaug, nyob zoo thiab txhawb nqa!
txuas: easyEDA, YouTube, pom tseeb qhia
Pom zoo:
Tsim Ib Lub Tshuab Saib Xyuas Lub Zog Siv Lub Tshuab Hluav Taws Xob: 5 Kauj Ruam (nrog Duab)
Tsim Cov Khoom Siv Hluav Taws Xob Siv Lub Tshuab Hluav Taws Xob: Hauv feem ntau cov lag luam, peb xav txog Lub zog los ua lag luam. Daim nqi pom nyob hauv peb cov ntawv lossis email thiab peb them nws ua ntej hnub tso tseg. Nrog qhov tshwm sim ntawm IoT thiab cov cuab yeej ntse, Lub zog tab tom pib ua qhov chaw tshiab hauv kev lag luam 'bala
Code thiab Xeem Lub Tshuab computer hauv Tshuab Lus: 6 Kauj Ruam
Code thiab Ntsuas Lub Tshuab Hauv Tshuab Lus: Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav ua li cas txhawm rau ntsuas thiab ntsuas lub khoos phis tawj program hauv hom lus tshuab. Hom tshuab yog hom lus ib txwm muaj ntawm cov khoos phis tawj. Vim tias nws tau tsim los ntawm cov hlua ntawm 1s thiab 0s, nws tsis yooj yim los ntawm tib neeg. Ua rau
Lub Plawv Ntawm Lub Tshuab (Lub Tshuab Laser Micro-Projector): 8 Kauj Ruam (nrog Duab)
Lub Plawv Ntawm Lub Tshuab (Lub Tshuab Laser Micro-Projector): Cov Lus Qhia no yog tus ua tiav ntawm sab ntsuj plig rau qhov kev sim ua ntej uas kuv tau ua ob lub iav tsom iav tsom iav ua ke los ntawm 3D luam tawm ntu thiab solenoids.Qhov sijhawm no kuv xav mus me me thiab muaj hmoo txaus kom pom qee qhov kev lag luam vwm
DIY-Rov ua dua lub kiv cua hauv pem teb rau hauv Kev Teeb Duab Teeb Duab/txhua-hauv-ib Teeb: 11 Kauj Ruam
DIY-Rov ua dua lub kiv cua hauv pem teb rau hauv Kev Hloov Kho Lub Teeb/txhua-hauv-ib lub teeb: Yog li kuv nyuam qhuav nyuam qhuav ntxuav lub caij nplooj ntoo hlav thiab tuaj hla cov kiv cua hauv pem teb uas muaj nws lub cav hlawv tawm. Thiab kuv xav tau lub teeb rooj. 2+2 thiab kuv tau ua tswv yim me ntsis thiab tuaj nrog lub tswv yim los hloov lub kiv cua mus rau hauv 20inch dav lub teeb hloov kho. Nyeem rau s
Hauv Txhua Lub Caij Nyoog, Txhua Hnub So, LED Earrings: 8 Kauj Ruam (nrog Duab)
Hluav Taws Xob Txhua Lub Caij, Txhua Hnub So, LED Earrings: OK, yog li peb tab tom yuav ua qee lub ntsej muag zoo nkauj zoo nkauj Qhov no tsis yog qhov haujlwm pib, thiab kuv xav qhia cov uas xav ua qhov no, pib nrog cov haujlwm me me thiab ua haujlwm koj li txuj ci txog qhov no.So thawj .. Yam peb yuav xav tau. (PARTS) (1) L