Cov txheej txheem:
- Kauj Ruam 1: EEPROM yog dab tsi?
- Kauj ruam 2: Ntshuam Lub Tsev Qiv Ntawv
- Kauj Ruam 3: Teem Thawj Chij
- Kauj ruam 4: Hloov kho Chaw
- Kauj ruam 5: Txaus siab rau
Video: Arduino EEPROM Chaw Pib Pib: 5 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob Zoo Sawv Daws, Txhua Arduino muaj lub cim xeeb me me hu ua EEPROM. Koj tuaj yeem siv qhov no los khaws cov chaw rau koj txoj haujlwm uas qhov kev xaiv raug xaiv yuav raug khaws cia ntawm lub zog mus thiab lawv yuav nyob rau lwm lub sijhawm koj ua lub zog Arduino. Kuv muaj qhov ua kom txias uas yuav qhia koj li cas koj tuaj yeem pib teeb tsa qhov txiaj ntsig zoo ntawm koj thawj zaug ua si kom nyob ib puag ncig kom paub seb yuav ua li cas.
Kauj Ruam 1: EEPROM yog dab tsi?
EEPROM yog lub cim xeeb me me khaws cia, nws qhov txiaj ntsig tau khaws cia txawm tias thaum Arduino pawg thawj coj saib tsis muaj zog. Qhov no ua haujlwm zoo li lub zog me me yog li koj tuaj yeem khaws koj cov kev txwv rau lub sijhawm tom ntej koj ua lub zog ntaus ntawv. Nyob ntawm seb hom Arduino board, koj yuav muaj qhov sib txawv ntawm qhov muaj nyob ntawm txhua qhov, yog li piv txwv li Uno muaj 1024 bytes, Mega muaj 4096 bytes thiab LilyPad muaj 512 bytes.
Nws yog ib qho tseem ceeb kom nco ntsoov tias txhua EEPROMs muaj tsawg tus lej ntawm kev mus los. Atmel qhia txog lub neej nyob ib puag ncig ntawm 100 000 sau/rho tawm mus rau EEPROM ntawm Arduino. Qhov no yuav zoo li sau ntau, tab sis nws tuaj yeem yooj yim mus txog qhov txwv no yog tias koj nyeem thiab sau hauv lub voj. Thaum qhov chaw tau sau thiab tshem tawm ntau zaus nws tuaj yeem pib dhau los ua qhov tsis ntseeg tau. Nws yuav tsis rov qab cov ntaub ntawv raug, lossis xa tus nqi los ntawm tus nyob ze me ntsis.
Kauj ruam 2: Ntshuam Lub Tsev Qiv Ntawv
Txhawm rau siv lub cim xeeb no, peb xub suav nrog lub tsev qiv ntawv muab los ntawm Arduino. Lub tsev qiv ntawv muab ob txoj hauv kev: nyeem thiab sau rau qhov ua raws. Txoj haujlwm nyeem tau lees paub qhov chaw nyob uas peb xav nyeem los ntawm, thaum sau ua haujlwm lees paub ob qhov chaw nyob thiab tus nqi uas peb xav sau.
Hauv peb qhov piv txwv, lub hom phiaj yog kom muaj kev teeb tsa kev teeb tsa npaj rau txhua qhov pib ntawm Arduino, yog li peb pib los ntawm kev txhais cov kab uas peb yuav siv rau kev khaws cia thiab txheeb xyuas qhov chaw nyob rau txhua qhov chaw peb xav khaws. Hauv lub nti uas peb muaj 1024 bytes muaj, qhov chaw nyob yuav nyob ntawm 0 txog 1023.
Kauj Ruam 3: Teem Thawj Chij
Qhov ua kom yuam kev rau qhov pib teeb tsa lub hauv paus tus nqi rau kev teeb tsa yog siv ib qho ntawm cov chaw nyob ua tus cim qhia seb puas yog lossis tsis tau teeb tsa tau pib. Kuv tau siv qhov chaw nyob kawg rau qhov no vim nws feem ntau tsis siv rau lwm yam. Kev ua haujlwm loadSettings yuav xub txheeb xyuas qhov chaw no yog tias tus nqi khaws cia muaj "T" tus cim thiab yog tias tsis yog, nws yuav mus teeb tsa los ntawm kev teeb tsa, sau thawj qhov txiaj ntsig rau txhua tus ntawm lawv. Thaum ua tiav, nws yuav tam sim no teeb tsa tus nqi ntawm qhov chaw uas peb taug qab qhov pib teeb tsa mus rau "T" tus yam ntxwv thiab lub sijhawm tom ntej thaum peb siv zog ntawm Arduino, peb yuav tsis pib qhov txiaj ntsig ntxiv, tab sis hloov pauv nyeem cov ntaub ntawv khaws tseg rau hauv peb array.
Kauj ruam 4: Hloov kho Chaw
Txog kev hloov kho qhov muaj txiaj ntsig peb tuaj yeem siv los sau ua haujlwm raws li peb muaj nws ntawm qhov pib, tab sis txoj hauv kev zoo dua yog siv qhov kev hloov kho tshiab uas tau muab. Lub luag haujlwm no ua dab tsi yog nws xub tshuaj xyuas yog tias tus nqi peb tab tom sim khaws yog tib qho uas twb muaj lawm hauv EEPROM thiab yog nws yog tom qab ntawd nws tsis hloov tshiab. Los ntawm kev ua li ntawd, nws sim txo tus naj npawb ntawm kev sau ua haujlwm txhawm rau txuas ntxiv lub neej ntawm EEPROM.
Kauj ruam 5: Txaus siab rau
Kuv vam tias Phau Ntawv Qhia no tau pab koj thiab tias koj tau tswj kom kawm tau qee yam. Cov peev txheej muaj nyob ntawm kuv nplooj GitHub thiab qhov txuas hauv qab no. Yog tias koj muaj lus qhia thov tso lawv tawm hauv cov lus thiab tsis txhob hnov qab sau npe yuav ua rau kuv li YouTube channel rau ntau cov vis dis aus zoo sib xws.
Pom zoo:
Yooj Yim Cov Chaw Siv Cov Ntaub Ntawv Hauv Chaw Siv Hauv / Arduino / PfodApp: 6 Cov Kauj Ruam
Yooj Yim Cov Ntaub Ntawv Tseem Ceeb Siv Hauv Hauv/Arduino/PfodApp: Rau Plotting Cov Ntaub Ntawv tawm tsam Hnub/Sijhawm siv tsuas yog Arduino's millis () pom qhov qhia no Android mobile thiab ntes nws rau
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: 7 Cov Kauj Ruam (nrog Duab)
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: Leej twg tsis nyiam twv txiaj? Sib tw thiab Sib ntaus hauv Ntiaj Teb Virtual ntawm Chaw Ua Si thiab Xbox !! Yog li, coj qhov kev lom zem rau lub neej tiag tiag Kuv tau ua Cov Lus Qhia no uas kuv yuav qhia koj li cas koj tuaj yeem siv ib qho Chaw Ua Si Chaw Taws Teeb Chaw Taws Teeb (Wired
Nab hab sej rau Tsis Yog-Pib Pib Pib: 7 Kauj Ruam
Nab hab sej rau Tsis -Yog li Pib Pib: Nyob zoo, zaum kawg, yog tias koj tau mob siab rau, peb tau kov ntawm qhov pib ntawm nab nab - luam tawm, thaum thiab rau loops, nkag & tso tawm, yog, thiab pib ntawm easygui. kuj yog kev faib dawb pub dawb ntawm easygui thiab pycal-kuv tus kheej module.this nyeem yuav suav nrog: ntau dua
Pib Pib Tsim Lub Chaw Saib Xyuas PM: 3 Kauj Ruam (nrog Duab)
Pib Tsim Lub Tsev Saib Xyuas PM: Kuv tshwj xeeb txaus siab rau huab cua huab cua ntau ntau, vim kuv nyob hauv Suav teb thiab thaum kuv lub nroog, Shenzhen, tej zaum yog ib lub nroog huv tshaj plaws hauv Suav teb, nws tseem muaj nws cov hnub tsis zoo.Yog li, kuv xav tsim kuv tus kheej los piv rau ib nrab ntawm kaum ob cua
Ntxiv Qhov Pib Pib Suab rau Google AIY Cov Khoom Siv Suab: 6 Cov Kauj Ruam (nrog Duab)
Ntxiv Qhov Pib Pib Suab rau Google AIY Lub Suab Khoom: Cov ntawv qhia no yooj yim zoo nkauj. Kuv tau txaus siab heev rau Google AIY Lub Suab Khoom, tab sis zoo li ntawm kuv li Google Tsev ib txwm muaj suab nrov uas lawv ua kom paub tseeb tias lawv nquag mloog. Qhov no tsis yog teeb tsa los ntawm lub hauv paus ntawm ib qho piv txwv tha