Cov txheej txheem:
- Kauj ruam 1: Av qeeg
- Kauj ruam 2: Cov ntaub ntawv
- Kauj Ruam 3: Cov Lus Qhia Ceev ntawm V = I*R
- Kauj ruam 4: LED Polarity
- Kauj Ruam 5: Teeb Tus Kws Tshaj Lij Qaum Ntuj
- Kauj Ruam 6: Rub tawm.Ino
- Kauj ruam 7: Txaus siab rau
Video: Basic Arduino Earthquake Detector: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Tiny9 tau rov qab los thiab niaj hnub no peb tab tom yuav ua kom yooj yim Arduino ntes av qeeg.
Thov mus ntsib kuv cov lus qhia cuam tshuam nrog Tiny9's LIS2HH12 hauv qhov txuas hauv qab no txhawm rau teeb tsa lub cuab yeej yog li txhua yam koj yuav tsum ua yog ntxiv 3 tus tiv thaiv thiab 3 Lub Teeb Emitting Diodes (LEDs)
3 Axis Accelerometer
Cov lus qhia no tau txiav txim siab pib qib nrog qee qhov kev paub nrog Arduino software.
Yog tias koj xav tau yuav lub ntsuas hluav taws xob mus rau ib qho ntawm cov chaw no:
Amazon
*Cov lus qhia no tsis cuam tshuam txog txhua qhov ua tau lossis raug hloov pauv nrawm rau av qeeg hauv qhov nplua nuj
Kauj ruam 1: Av qeeg
Daim duab no yog google tshawb nrhiav ntes av qeeg. Thaum kuv tseem yog menyuam yaus Kuv nyob dhau ntawm 1994 Northridge av qeeg. Kuv tsis nco qab ntau txog qhov av qeeg hauv ntiaj teb no dua li cov hauv qab no:
-Lub tsev tau tawg nyob ib nrab thiab ib nrab tam sim no tau nqis mus rau nws.
-Ib qho ntawm phab ntsa hauv kuv chav pw muaj lub qhov rau nws mus rau tom qab.
-Kuv plam qhov kuv nyiam cov khoom ua si rattle thaum lub sijhawm. Nws muaj cov hlaws dai nyob rau hauv qhov uas koj tuaj yeem pom nce thiab nqis.
-Sidewalk cement hla txoj kev cia li tig rov qab.
-Txoj kev muaj lub "roob" me me ua los ntawm nws.
Needless hais av qeeg loj tsis lom zem.
Peb tsis tau muaj av qeeg loj (Loj dua 5.0) nyob rau yav qab teb California ib ntus tab sis ib hnub no peb yuav ua. Yog li cia tsim lub Av Qeeg ntes !!!
Kauj ruam 2: Cov ntaub ntawv
Peb xav tau:
-Cov teeb tsa los ntawm LIS2HH12 qhia tau
3 x 690 ohm resistors
-1x Ntsuab LED
-1x LED daj
-1x Liab LED
-Optional: Hlau Stripper
Kauj Ruam 3: Cov Lus Qhia Ceev ntawm V = I*R
Hauv Hluav Taws Xob Hluav Taws Xob koj muaj qhov sib npaug V = I * R uas ua rau koj lub neej txhua hnub.
V = Voltage (Volts, V)
Kuv = Tam sim no (Amps, A)
R = Kuj (Ohms)
Hauv Circuit Court qhov sib npaug no yeej tsis tau ua txhaum. Yog li yog tias kuv txuas 5V qhov chaw rau 690 Ohm resistor thiab tom qab ntawd mus rau LED rau hauv av, qhov tam sim no hauv Circuit Court yuav yog qhov no:
Piv txwv LED voltage poob = 2.5V
(Source - LED) = Tam sim no * Kuj
5V-2.5V = Kuv * 690 Ohms
Kuv = 2.5V/690 Ohms = 3.62 milliAmps lossis 3.62 mA
Raug LEDs tsis nyiam tshaj 10mA-20mA lossis lawv yuav hlawv tawm.
Kauj ruam 4: LED Polarity
LEDs muaj qhov sib txawv uas cia tus neeg paub txoj hauv kev nws yuav tsum tau muab tso rau qhov tso cai tam sim no ntws los ntawm nws.
Tam sim no dhau los ntawm Anode ntawm LED mus rau Cathode ntawm LED. Nws tsis tuaj yeem mus rau lwm txoj kev. Yog tias muab tso rov qab nws yuav tsis ua haujlwm lossis tawg yog qhov hluav taws xob tshaj nws qhov tshwj xeeb.
Yog tias tsis txaus tam sim no yuav tsis muaj lub teeb ci los ntawm LED.
Sab ntev ntawm Red LED yog + Anode thiab Sab luv nws yog - Cathode sab.
Kauj Ruam 5: Teeb Tus Kws Tshaj Lij Qaum Ntuj
Cov kauj ruam ntawm kev teeb tsa 3x 690 resistors thiab 3 LEDs.
1. Muab 690 ohm resistor los ntawm D4 (Kab 55) ntawm arduino nano mus rau kab 37 ntawm lub khob cij
2. Muab lub Liab LED Anode tso rau sab saum toj ib nrab ntawm lub khob cij ntawm kab 37 thiab Cathode qhov chaw hauv txoj kev tsheb ciav hlau xiav (GND)
3. Muab 690 ohm resistor los ntawm D3 (kab 54) ntawm arduino nano mus rau kab 38 ntawm lub khob cij
4. Muab lub Teeb LED Anode daj tso rau saum ib nrab ntawm lub khob cij ntawm kab 38 thiab Cathode qhov chaw hauv txoj kev tsheb ciav hlau xiav (GND)
5. Muab 690 ohm resistor los ntawm D2 (kab 53) ntawm arduino nano mus rau kab 39 ntawm lub khob cij 6. Muab lub Ntsuab LED Anode tso rau ib sab saum toj ntawm lub khob cij ntawm kab 39 thiab Cathode qhov chaw hauv txoj kev tsheb ciav hlau xiav (GND)
7. Nco ntsoov tias tsis muaj cov xov hlau, cov neeg tawm tsam, lossis cov coj LED raug luv ua ke los ntawm kev sib tsoo lossis koj tuaj yeem ua rau koj lub hauv paus puas tsuaj.
Kauj Ruam 6: Rub tawm. Ino
Rub tawm Tiny9_LIS2HH12_Earthquake_mon.ino cov ntaub ntawv los ntawm no: github
Kauj ruam 7: Txaus siab rau
Tam sim no koj yuav tsum tuaj yeem xa koj li.ino rau hauv koj li arduino nano.
Dab tsi yuav tshwm sim yog tias muaj av qeeg me me Cov LED daj yuav ci tuaj.
Yog tias muaj av qeeg loj loj Red Led yuav taws teeb.
Thaum kuaj pom me me lossis av qeeg loj koj yuav tsum rov pib dua lub arduino yog tias koj xav tua lub LEDs.
*Cov duab kos no tsis cuam tshuam txog txhua qhov ua tau lossis hloov pauv qhov nrawm rau av qeeg hauv qhov nplua nuj.
Pom zoo:
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Tweeting Earthquake Sensor: 4 Kauj Ruam
Tweeting Earthquake Sensor: Txoj haujlwm no muaj cai, Tweeting Earthquake Sensor yog txoj haujlwm uas muaj lub hom phiaj ceeb toom rau tus neeg siv thaum nws pom tshee lossis av qeeg. Siv lub qaij hloov, nws yuav ntsuas tau zoo yog tias muaj av qeeg kev co tshwm sim nyob rau lub sijhawm ua ntej