Cov txheej txheem:
Video: Yuav Ua Li Cas Kub thiab Teeb Pom Kev Logging - Proteus Simulation - Fritzing - Liono Maker: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nyob zoo qhov no yog Liono Maker, Nov yog kuv li YouTube Channel raug cai. Nov yog qhib Source YouTube Channel.
Nov yog Qhov Txuas: Liono Maker YouTube Channel
Nov yog daim vis dis aus txuas: Temp & light Intensity Logging
Hauv qhov kev qhia no peb yuav kawm paub yuav Ua Li Cas Ua Kom Kub thiab Teeb Pom Kev Logging nrog Arduino UNO thiab Micro SD-Card Module. Lub hauv paus tseem ceeb yog LDR uas yog siv los ntsuas kev siv lub teeb thiab lwm qhov yog LM35 uas yog siv los ntsuas kub. Ob lub teeb liab sib piv no raug xa mus rau Arduino tus pin Ao thiab A1. SD Card tab tom ua txoj haujlwm tseem ceeb hauv txoj haujlwm no uas tau nkag mus. kev sau cov ntaub ntawv lossis cov ntaub ntawv kaw tseg yog txheej txheem uas peb sau peb cov ntaub ntawv hauv peb cov ntaub ntawv ces peb pom kab kab hauv Excel. Cov lus qhia ua ntu zus xav tau txhua lub sijhawm los sau rau hauv daim npav SD yog;
1_SD.open ("filename", FILE_WRITE);
2_file.println (cov ntaub ntawv);
3_file.close ();
Cov ntaub ntawv ntawm daim npav SD tuaj yeem nyeem tau thiab cov ncauj lus nthuav tawm ntawm tus saib xyuas. Serial.print () thiab Serial.write () yog siv los tso saib cov ntsiab lus ntawm cov ntaub ntawv.
Kauj ruam 1:
1_SD-Card:-
Daim npav SD (Ruaj Ntseg Digital) tuaj yeem siv rau khaws cov ntaub ntawv thiab txiav cov ntaub ntawv. Piv txwv suav nrog khaws cov ntaub ntawv ntawm lub koob yees duab digital lossis lub xov tooj ntawm tes thiab cov ntaub ntawv nkag mus kaw cov ntaub ntawv los ntawm cov ntsuas. Micro SD daim npav tuaj yeem khaws 2GB ntawm cov ntaub ntawv thiab yuav tsum tau muab ua raws li FAT32 (Cov Ntaub Ntawv Tso Npe). Daim npav micro SD ua haujlwm ntawm 3.3V, yog li tsuas yog daim npav micro SD daim npav nrog 5V txog 3.3V qib hluav taws xob hloov pauv nti thiab 3.3V tus tswj hluav taws xob tuaj yeem txuas nrog Arduino 5V cov khoom.
Micro SD module sib tham nrog Arduino siv Serial Peripheral Interface (SPI). SPI txuas cov pins ntawm micro SD module suav nrog MOSI, MISO, SCK pins thiab SS tus lej qhia tus lej xaiv (CS), uas txuas nrog Arduino pins 11, 12, 13, thiab 10, feem.
SD-Card cuam tshuam nrog Arduino UNO:
GND ------ NCO
5 Volt ------- VCC
Pin 12 -------- MISO
Pin 11 -------- MOSI
Pin 13 ------- SCK
Pin 10 -------- SCS
Cov ntaub ntawv tsuas yog sau rau hauv daim ntawv hauv SD daim ntawv raws li cov ntawv file.close () qhia; yog li ntawd, txhua qhov file.println (cov ntaub ntawv) kev qhia yuav tsum ua raws los ntawm file.close () kev qhia thiab ua ntej los ntawm SD.open ("filename", FILE_WRITE) cov lus qhia. SD.open () muaj nuj nqi teeb tsa ntawm FILE_READ, yog li qhov xaiv FILE_WRITEis xav tau los sau rau hauv cov ntawv.
Cov lus qhia ua ntu zus xav tau txhua lub sijhawm los sau rau hauv daim npav SD yog
SD.open ("filename", FILE_WRITE);
file.println (cov ntaub ntawv);
file.close (); cov.
2_LM35:-
LM35 yog precession Integrated Circuit Kub sensor, nws qhov hluav taws xob tso tawm txawv, raws li qhov ntsuas kub nyob ib puag ncig nws. Nws yog IC me me thiab pheej yig uas tuaj yeem siv los ntsuas qhov kub nyob qhov twg ntawm -55 ° C txog 150 ° C.
Muaj peb ceg ntawm Lm35;
1-Vcw
2-tawm
3 -nug
Lm35 yog qhov ntsuas kub tshwj xeeb, siv los ntsuas qhov kub thiab txias. Nws thawj lub davhlau ya nyob twg txuas nrog VCC mus rau 5volt Arduino tus pin thiab lub davhlau ya nyob twg thib ob yog Tawm txuas nrog Analog tus pin, uas yog txhais hauv coding. Lub davhlau ya nyob twg thib peb txuas nrog Gnd, uas yog Gnd.
3_LDR:-
Cov duab tiv thaiv kab mob (cov ntawv luv LDR rau Lub Teeb Txo Kev Tiv Thaiv, lossis lub teeb nyob ntawm tus tiv thaiv, lossis lub xov tooj ntawm tes) yog qhov tsis tiv thaiv uas txo qis kev ua haujlwm nrog kev hwm kom tau txais lub teeb ci (lub teeb) ntawm cov khoom siv tiv thaiv nto. Qhov tsis kam ntawm tus yees duab resistor txo nrog kev nce hauv qhov teeb meem teeb pom kev zoo; hauv lwm lo lus, nws nthuav tawm photoconductivity.
LDR cuam tshuam nrog Arduino UNO:
Nws ib lub davhlau ya nyob twg txuas nrog 5volt thiab lub davhlau ya nyob twg thib ob txuas nrog 4.7k resistor. Qhov thib ob kawg ntawm 4.7k resistor yog hauv av. LDR nws tus kheej yog tus tiv thaiv thiab hom kev teeb tsa no yog siv los ntsuas & ntsuas hluav taws xob, qhov no yog cov txheej txheem faib hluav taws xob. Cov davhlau ya nyob twg feem ntau txuas nrog analog pin ntawm Arduino (tus pin# tau hais tseg hauv coding). Kuv tab tom qhia cov duab.
Kauj ruam 2:
Proteus Simulations:-
Hauv qhov kev qhia no peb siv Proteus Software, uas yog siv los sim peb qhov project (Temp & Light Intensity logging). Ua ntej tshaj, qhib koj li Proteus software siv cov khoom siv thiab khoom siv los ua koj daim duab kos duab. Tom qab ua tiav Circuit Court peb yuav tsum simulate nws. rau lub hom phiaj no peb xav tau upload Arduino coding hex file hauv Arduino Property. Txoj cai nyem rau ntawm Arduino thiab mus rau Arduino Cov cuab yeej theej & paste hex cov ntaub ntawv qhov chaw lossis ncaj qha xaiv koj cov ntawv tom qab ntawd upload nws. qhov thib ob yog txhawm rau xa daim npav SD daim ntawv, rau lub hom phiaj no xaiv 32 GB thiab mus rau qhov chaw cov ntaub ntawv thiab tom qab ntawd theej thiab muab cov ntawv no lossis tso ncaj qha los ntawm kev xaiv los ntawm cov ntawv sib txawv. hauv qab no yog txoj hauv kev los upload koj cov ntaub ntawv: Luam & Muab tshuaj txhuam SD daim npav qhov chaw / Cov ntaub ntawv npe.
tom qab ua tiav ob txoj haujlwm no koj yuav tsum tau txheeb xyuas qhov Circuit uas koj tau ua yog tias muaj qhov yuam kev no hauv koj thov kho nws ua ntej simulation.
Muaj khawm ua si nyob rau sab laug ntawm Proteus software schematic page. nias nws thiab koj Simulation tau pib.
/* Cov hauv qab no yog cov lus qhia rau SD daim npav los sau cov ntaub ntawv ntawm cov ntawv.
Cov lus qhia ua ntu zus xav tau txhua lub sijhawm los sau rau hauv daim npav SD yog;
1_SD.open ("filename", FILE_WRITE);
2_file.println (cov ntaub ntawv);
3_file.close (); */
tom qab cov lus qhia no Arduino code siv sijhawm qeeb (5000); tom qab ntawv sau cov ntawv nyeem tshiab thiab ntxiv rau cov txheej txheem no mus. lub davhlau ya nyob twg virtual qhia cov txiaj ntsig raws li hauv qab no.
SD Card OK
cov ntaub ntawv1
cov ntaub ntawv 2
cov ntaub ntawv 3
cov ntaub ntawv 4
cov ntaub ntawv 5
koj tuaj yeem hloov koj cov lus teb qeeb los sau koj cov ntaub ntawv hauv lub sijhawm luv. koj tuaj yeem pom cov lus teb no ntawm cov ntaub ntawv cov ntaub ntawv.
Kauj ruam 3:
Cov Sijhawm Sijhawm Cov Ntaub Ntawv Kab Kab hauv EXCEL:-
Microsoft Excel tau siv los ua kab kab ntawm cov ntaub ntawv ntsuas kub thiab cov ntaub ntawv siv qhov sib xws hauv qhov haujlwm no.
Ua ntej tshaj, peb yuav tsum qhib Excel thiab txhaj (mus rau Cov Ntaub Ntawv thiab xaiv koj cov ntawv txt) koj cov ntaub ntawv hauv Excel. cais koj qhov kub thiab lub teeb siv cov ntaub ntawv kab. mus rau qhov ntxig thiab ntxig kab kab. Kuv tab tom qhia kuv cov ntaub ntawv ua tiav kuj yog Excel cov ntaub ntawv thiab Cov Sijhawm Sijhawm cov ntaub ntawv Kab kab thiab cov ntaub ntawv.
cov kab lus no qhia peb raws li qhov ntsuas kub hloov pauv thiab tom qab ntawd cov tshuaj tiv thaiv duab-resistor (LDR) kuj hloov pauv.
Kauj ruam 4:
Ua tiav Cov Ntaub Ntawv siv hauv txoj haujlwm no: -
Nov yog kuv qhov YouTube txuas, qhov no yog qhov qhib qhov channel. peb tab tom muab txhua yam cuam tshuam nrog peb txoj haujlwm thiab khoom siv hauv peb tes num, cov ntaub ntawv txheeb ze thiab lwm yam.
Kuv tab tom qhia kuv cov ntaub ntawv tiav & duab hauv zip file, uas muaj;
1_Fritzing cov ntaub ntawv
2_proteus simulation cov ntaub ntawv
3_Arduino coding ntaub ntawv
4_Arduino coding HEX cov ntaub ntawv
5_SD daim npav ntawv
6_data cov ntaub ntawv
7_Excel cov ntaub ntawv suav nrog kab kab, lwm yam
Pom zoo:
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: 5 Kauj Ruam
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: Lub DHT11 sensor tau siv los ntsuas kub thiab av noo. Lawv yog cov khoom siv hluav taws xob nrov tshaj plaws.Qhov DHT11 cov av noo thiab ntsuas kub ua rau nws yooj yim ntxiv cov av noo thiab ntsuas kub rau koj li DIY cov phiaj xwm hluav taws xob. Nws yog rau
Pom Qhov Pom Pom Pom Pom Lub Koob Yees Duab (TfCD): 15 Kauj Ruam (nrog Duab)
Pom Qhov Pom Pom Pom Pom Lub Koob Yees Duab (TfCD): Cov kev pabcuam paub uas tuaj yeem paub txog kev xav, ntsej muag ntawm tib neeg lossis cov khoom yooj yim tam sim no tseem nyob rau theem pib ntawm kev txhim kho, tab sis nrog kev kawm tshuab, thev naus laus zis no tau nce zuj zus. Peb tuaj yeem cia siab tias yuav pom ntau ntxiv ntawm cov khawv koob no hauv
Lub Teeb Pom Kev Pom Kev Pom Zoo/ Handheld Photograpy Teeb: 7 Cov Kauj Ruam (nrog Duab)
Intimate Video Light/ Handheld Photograpy Light: Kuv paub koj xav li cas. Los ntawm "intimate," Kuv txhais tau tias teeb pom kev nyob ze rau qhov xwm txheej teeb pom kev nyuaj-tsis tas yuav rau "xwm txheej zoo." (Txawm li cas los xij, nws tuaj yeem siv rau qhov ntawd ib yam nkaus …) Raws li New York City tus kws yees duab-lossis
Motion Controlled Outlet - Los ntawm Lub Teeb Pom Kev Pom Kev Pom Teeb: 6 Cov Kauj Ruam
Motion Controlled Outlet - Los ntawm Lub Teeb Pom Kev Pom Kev: Xav txog tias koj yog ib tus neeg dag-lossis-coj mus rau lub tsev txaus ntshai tshaj plaws ntawm qhov thaiv. Tom qab dhau mus tag nrho cov dab, dab thiab lub qhov ntxa koj thaum kawg tau mus rau txoj kev kawg. Koj tuaj yeem pom cov khoom qab zib hauv lub tais ua ntej ntawm koj! Tab sis tam sim ntawd gho
Teeb pom kev pom lub teeb pom kev zoo (LED) Nrog C Stamp Microcontroller: 5 Kauj Ruam
Teeb pom kev rau lub teeb pom kev zoo (LED) Nrog C Stamp Microcontroller: Nov yog Thawj Qhov Kev Tsim Qauv thiab Kev Ua Haujlwm los ntawm CS310XXX (μ C 101) Cov Ntawv Qhia Qhia Los ntawm A-WIT Technologies, Inc. Hauv qhov kev qhia no, peb yuav pom Lub Teeb Emitting Diode (LED) nrog C Stamp Microcontroller. Cov C & n