Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Txuas Cov Khoom Siv
- Kauj ruam 2: Ntaus Code
- Kauj ruam 3:
- Kauj ruam 4: Pros thiab Cons
Video: Laser Anti-tub sab ntaus ntawv: 4 Cov kauj ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Muaj ntau tus tub sab nyiam mus rau lwm tus neeg lub tsev thiab nyiag lawv cov khoom uas muaj txiaj ntsig heev thaum cov neeg tsaug zog, yog li kuv tsim lub cuab yeej no los daws qhov teeb meem no.
Khoom siv
lub thawv loj*1
lub thawv me*1
tsis kam*3
daim ntawv tsis muaj daim nplaum*1
Arduino Leonardo*1
Piezo buzzer*1
hlau*20≤
Cov cuab yeej los txiav thiab muab tshuaj txhuam*1≤
Laser taw qhia*3
Photoresistance*3
A4 ntawv loj*1
Kauj Ruam 1: Txuas Cov Khoom Siv
Muab tag nrho cov khoom siv hauv lawv qhov chaw raws li daim duab saum toj no
Kauj ruam 2: Ntaus Code
tsis muaj teeb tsa teeb tsa () {// muab koj cov cai teeb tsa ntawm no, kom khiav ib zaug: Serial.begin (9600); // qhib qhov chaw nres nkoj, teev cov ntaub ntawv tus nqi rau 9600 bps} tsis muaj dab tsi voj () {// muab koj cov cai tseem ceeb ntawm no, kom rov ua dua: Serial.print (analogRead (A2)); // luam cov lus Serial.print (""); // luam tawm Serial.println (); yog (analogRead (A2) <700) {rau (int i = 0; i <10; ++ i) {tone (11, 1976, 200); // buzzer lossis hais lus zaus ncua (300); // tos ob peb milliseconds laus (11, 1976, 200); // buzzer lossis hais lus zaus ncua (600); // tos ob peb milliseconds}} Serial.print (analogRead (A3)); // luam cov lus Serial.print (""); // luam tawm Serial.println (); yog (analogRead (A3) <550) {rau (int i = 0; i <10; ++ i) {tone (11, 1976, 200); // buzzer lossis hais lus zaus ncua (300); // tos ob peb milliseconds laus (11, 1976, 200); // buzzer lossis hais lus zaus ncua (600); // tos ob peb milliseconds}} Serial.print (analogRead (A1)); // luam cov lus Serial.print (""); // luam tawm Serial.println (); yog (analogRead (A1) <800) {rau (int i = 0; i <10; ++ i) {tone (11, 1976, 200); // buzzer lossis hais lus zaus ncua (300); // tos ob peb milliseconds laus (11, 1976, 200); // buzzer lossis hais lus zaus ncua (600); // tos ob peb milliseconds}}
Kauj ruam 3:
1. Kaw ob lub thawv
2. Muab tag nrho cov khoom siv ntawm lawv qhov chaw raws li daim duab
3. Xeem nws
Kauj ruam 4: Pros thiab Cons
Pros:
1. Nws daws qhov teeb meem
2. nws nyuaj dua rau cov tub sab nyiag koj cov khoom thaum koj tsaug zog
3. Nws yuav pab cov neeg uas nyob hauv cov tsev me me thiab cia lawv kawm paub tiv thaiv tub sab.
Cons:
1. Nws tsuas ua haujlwm thaum koj nyob hauv tsev
2. Nws tsis muaj txiaj ntsig thaum koj tsis nyob hauv tsev
Pom zoo:
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Cov Ntawv Qhia Ntaus Ntaus (ESP8266-01): 8 Kauj Ruam (nrog Duab)
Cov Ntawv Qhia Ntaus Ntaus (ESP8266-01): 23-01-2018 Firmware Hloov Kho Tshiab siv Instructables API, thiab Arduino Uno nrog cov ntaub thaiv npog network. Txawm li cas los xij, nrog qhov txwv RAM ntawm Arduino Uno, kuv tsis tuaj yeem tau txais
USB Sab Hauv Tsev/Sab Nraud Ntsuas Kub (lossis, 'Kuv Thawj USB Ntaus Ntawv'): 4 Cov Kauj Ruam (nrog Duab)
USB Sab Hauv Tsev/Sab Nraud Tus Kheej (lossis, 'Kuv Thawj USB Ntaus Ntawv'): Nov yog qhov tsim qauv yooj yim uas qhia txog USB ib puag ncig ntawm PIC 18Fs. Muaj ntau pawg piv txwv rau 18F4550 40 tus pin hauv online, qhov kev tsim qauv no qhia pom qhov me me 18F2550 28 tus pin version.Peb PCB siv ntu ntu ntu, tab sis txhua
Yuav Ua Li Cas Siv Lub Tshuab Ntaus Ntaus Ntaus Pob lossis Ua Ob Qhov Rau Koj Lub Stereo: 17 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Siv Lub Tshuab Ntaus Ntaus Ntaus Ntaus lossis Tsim Ob Qhov Rau Koj Lub Stereo.: Kuv xav tau tus ntaus suab paj nruag tshiab mus nrog lub raj amp kuv tab tom tsim. Tus hais lus yuav nyob hauv kuv lub khw yog li nws tsis tas yuav muaj dab tsi tshwj xeeb. Tolex npog yuav yooj yim heev puas yog li kuv tsuas yog txau cov xim dub sab nraud tom qab lub teeb xuab zeb