Cov txheej txheem:
- Kauj Ruam 1: Sau Cov Khoom Uas Tsim Nyog
- Kauj Ruam 2: Kho Kho Vajtse
- Kauj Ruam 3: Ntxiv Code rau Arduino Siv UV Nyeem Ntawv
- Kauj Ruam 4: Troubleshooting (yog Xav Tau)
Video: Adafruit SI1145 UV/Pom Lub Teeb/Infrared Sensor - Arduino thiab LCD: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Txoj haujlwm no siv Adafruit SI1145 UV/Pom Pom Lub Teeb/Infrared sensor los xam qhov ntsuas UV tam sim no. UV tsis nkag siab ncaj qha. Theej, nws yog xam raws li muaj nuj nqi ntawm pom pom thiab nyeem infrared. Thaum kuv sim nws sab nraum, nws yog qhov tseeb raws li UV nyeem los ntawm weather.com. Kuv pom qhov project nrog lub ntsiab lus "steampunk" - cov cuab yeej uas tus thawj tub rog caij nkoj yuav xav tau thaum UV raug rau ntawm lub lawj yuav xav tau daim ntawv thov lossis rov thov dua tshiab ntawm lub hnub thaiv.
Kev tsim qauv tag nrho tau npaj los koom ua ke nrog Raspberry Pi huab cua chaw nres tsheb. Hmoov tsis zoo, kuv tseem tsis tau ua tiav qhov kev koom ua ke no. Kuv yuav hloov kho cov lus qhia no nrog cov ntsiab lus ntxiv thaum qhov tshwm sim.
Kauj Ruam 1: Sau Cov Khoom Uas Tsim Nyog
Kho vajtse/Software Yuav tsum tau
- Arduino Uno thiab txuas kab rau USB chaw nres nkoj
- Khoos phis tawj rau program Arduino
- Adafruit Library rau UV sensor (https://github.com/adafruit/Adafruit_SI1145_Library/)
- Liquid Crystal display library (https://github.com/arduino/Arduino/tree/master/libraries/LiquidCrystal)
- LCD zaub. Kuv siv: (https://smile.amazon.com/uxcell-Standard-Character-Backlight-Display/dp/B00EDMMTGY/ref=sr_1_1?ie=UTF8&qid=1481681388&sr=8-1&keywords=lcd+screen+arduino)
- Adafruit SI1145 sensor rau UV/IR/pom lub teeb (https://www.adafruit.com/products/1777) B
- Cov qhob cij
- Txiv neej -rau -txiv neej jumper cables
- 10k Potentiometer
- 220 ohm resistor
- Roj teeb pob (8 AA roj teeb) 6 AA roj teeb
Kauj Ruam 2: Kho Kho Vajtse
Solder UV sensor Txuas Arduino rau USB chaw nres nkoj ntawm lub computer
Txuas LCD zaub rau Arduino
- LCD RS pin - tus lej digital 12
- LCD Pab tus pin - tus lej digital 11
- LCD D4 - tus lej pin 5
- LCD D5 tus pin - tus lej digital 4
- LCD D6 tus pin - tus lej digital 3
- LCD D7 tus pin - tus lej digital 2
Txuas UV sensor module rau Arduino. (Adafruit nplooj ntawv ntawm lub ntsuas suav nrog kev qhia zoo nrog rau cov duab txuas).
- VIN rau fais fab mov - 5V lossis 3V. Kuv teeb lub ntsuas kom siv 3.3V kom lub 5V tuaj yeem siv los ntawm lub vijtsam LCD
- GND rau hauv av.
- SCL ntawm sensor rau SCL ntawm Arduino - tus pin A5.
- SDA ntawm sensor rau SDA ntawm Arduino - tus pin A4.
Hlau 10k potentiometer rau +5V thiab Hauv av nrog cov zis rau LCD tus pin 3
Hlau 220 ohm resister rau lub zog backlight ntawm cov zaub, tus pin 15 rau 5V thiab Pin 16 rau hauv av.
Kauj Ruam 3: Ntxiv Code rau Arduino Siv UV Nyeem Ntawv
Cov ntawv txuas nrog suav nrog cov cai rau Arduino uas yuav pib lub ntsuas thiab ntsuas UV nyeem.
Kauj Ruam 4: Troubleshooting (yog Xav Tau)
Kuv siv cov roj teeb ntim rau lub zog Arduino vim tias 5V lub zog hloov hluav taws xob muab nws lub zog ntau dhau - cov zaub zoo li tsis zoo.
Koj tuaj yeem pom qhov pib ua haujlwm ntawm lub ntsuas pa los ntawm cov duab hauv Arduino. Kev hloov kho me me hauv cov cai tuaj yeem tso cai rau koj los tshuaj xyuas kev nyeem ntawm cov ntawv tso tawm ib yam. Hloov "lcd.print" mus rau "serial.print."
Txaus siab rau!
Pom zoo:
Lub Rooj Tswjhwm Saib qhov pom kev (Tswj Lub Suab Pom Pom Pom Suab): 5 Kauj Ruam
Pawg Thawj Coj Hloov Kho (Tswj Lub Suab Pom Pom Pom Lub Suab): Txhais cov nkauj kom pom lub teeb pom kev zoo nrog qhov kev tsim kho lub teeb pom kev zoo no. Zoo rau DJs, tog, thiab 1: 1 qhia! Hloov kho cov duab hauv qab no
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