Cov txheej txheem:

Rory Robot Plant: 5 Kauj Ruam (nrog Duab)
Rory Robot Plant: 5 Kauj Ruam (nrog Duab)

Video: Rory Robot Plant: 5 Kauj Ruam (nrog Duab)

Video: Rory Robot Plant: 5 Kauj Ruam (nrog Duab)
Video: Who belongs in a city? | OluTimehin Adegbeye 2024, Hlis ntuj nqeg
Anonim
Rory Robot Plant
Rory Robot Plant
Rory Robot Plant
Rory Robot Plant

Rory yog tus neeg saib zoo nkauj nyob rau hauv daim ntawv ntawm cov nroj tsuag, cuam tshuam nrog qee qhov kev nkag los ntawm lub ntsuas cua, ua suab paj nruag thiab ntes ib tus tib neeg txav mus los, ntxiv rau, txhawm rau thaij duab thaum koj xaj nws ib yam.

Nws kuj tseem saib xyuas txog tsob ntoo me me hauv lub lauj kaub, ceeb toom rau kuv nrog qib dej, av noo thiab ntsuas kub hauv suab tib neeg.

Kauj ruam 1: Yuav tsum kho vajtse

Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse
Yuav tsum tau kho vajtse

1. Arduino UNO

2. SD Card Reader module

3. Micro SD daim npav

4. LM386 Suab Amplifier

5. 10uf Capacitor (2 Nos)

6. 100uf Capacitor (2 Nos)

7. 1K, 10K Resistor

8. PIR sensor

9. Hacked webcam

10. KY-038 Suab Sensor

11. LDR lub teeb nyob ntawm tus tiv thaiv

12. DHT11 av noo thiab ntsuas kub

13. Hws noo sensor

14. Kev Txuas Hluav Taws Xob

15. Cov qhob cij

16. 8*16 LED matrix module

Kauj ruam 2: Npaj Nrog Koj Cov Ntaub Ntawv WAV Suab

Npaj Ua Ntej Nrog Koj Li WAV Cov Ntaub Ntawv
Npaj Ua Ntej Nrog Koj Li WAV Cov Ntaub Ntawv
Npaj Ua Ntej Nrog Koj Cov Ntaub Ntawv WAV Suab
Npaj Ua Ntej Nrog Koj Cov Ntaub Ntawv WAV Suab
Npaj Ua Ntej Nrog Koj Li WAV Cov Ntaub Ntawv
Npaj Ua Ntej Nrog Koj Li WAV Cov Ntaub Ntawv
Npaj Ua Ntej Nrog Koj Cov Ntaub Ntawv WAV Suab
Npaj Ua Ntej Nrog Koj Cov Ntaub Ntawv WAV Suab

Txog kev ua suab nrov los ntawm SD Card siv Arduino, peb xav tau cov ntaub ntawv audio hauv.wav hom vim tias Arduino Board tuaj yeem ua cov suab hauv ib hom tshwj xeeb uas yog hom ntawv wav. Txhawm rau ua Arduino mp3 player, muaj ntau daim mp3 thaiv uas muaj uas koj tuaj yeem siv nrog Arduino. Los yog lwm qhov los ua cov ntawv mp3 hauv Arduino, muaj cov vev xaib uas koj tuaj yeem siv los hloov cov ntaub ntawv audio ntawm koj lub khoos phis tawj rau hauv cov ntaub ntawv tshwj xeeb WAV.

Arduino SD daim npav module

+5V Vcc

Gnd nco

Pin 12 MISO (Master in Slave out)

Tus Pin 11 MOSI (Tswv Qhia Tawm Qhev Hauv)

Pin 13 SCK (Synchronous Moos)

Pin 4 CS (Chip Xaiv)

1. Nyem rau “Online Wav Converter” nkag mus rau hauv lub vev xaib.

2. Arduino tuaj yeem ua cov ntaub ntawv WAV hauv cov qauv hauv qab no. Koj tuaj yeem ua si ib puag ncig nrog cov teeb tsa tom qab, tab sis cov teeb tsa no tau sim ua qhov zoo tshaj plaws.

Kev daws teeb meem 8 ntsis

Tus Qauv Zauv 16000 Hz

Suab Channel Mono

PCM hom PCM tsis kos npe 8-ntsis

3. Hauv lub vev xaib nyem rau "xaiv cov ntawv" thiab xaiv cov ntawv, koj xav hloov pauv. Tom qab ntawd pub rau hauv cov teeb tsa saum toj no. Thaum ua tiav nws yuav tsum saib qee yam zoo li qhov no hauv daim duab hauv qab no

4. Tam sim no, nyem rau ntawm "Hloov Cov Ntaub Ntawv" thiab koj cov ntaub ntawv audio yuav raug hloov pauv mus rau WAV cov ntaub ntawv hom. Nws tseem yuav raug rub tawm thaum qhov hloov pauv tau ua tiav.

5. Thaum kawg, format koj daim npav SD thiab txuag koj.wav audio file rau hauv. Xyuas kom koj format nws ua ntej koj ntxiv cov ntawv no. Tsis tas li, nco ntsoov lub npe ntawm koj cov ntaub ntawv audio. Ib yam li ntawd, koj tuaj yeem xaiv ib qho ntawm koj plaub lub suab thiab khaws lawv nrog cov npe 1, 2, 3 thiab 4 (Cov npe yuav tsum tsis hloov pauv). Kuv tau hloov pauv txog 51 lub suab lus thiab tau khaws cov qauv hauv qhov txuas hauv qab no:

github.com/AhmedAzouz/AdruinoProjects/blob/master/a-hi-thereim-rory-madeby1551946892.wav

6. Qauv Cai

#suav nrog SimpleSDAudio.h

void teeb tsa () {

SdPlay.setSDCSPin (4); // sd card cs pin

yog (! sdplay.init (SSDA_MODE_FULLRATE | SSDA_MODE_MONO | SSDA_MODE_AUTOWORKER))

{

thaum (1);

}

yog (! sdplay.setFile ("music.wav")) // suab paj nruag lub npe ntawv

{

thaum (1);

}}

void voj (tsis muaj dab tsi)

{

SdPlay.play (); // ua suab paj nruag

thaum (! sdplay.isStopped ()); {}

}

Kauj Ruam 3: Npaj Ua Ntej Nrog Ntau Lub Cev

Npaj Nrog Multi Sensors
Npaj Nrog Multi Sensors
Npaj Nrog Multi Sensors
Npaj Nrog Multi Sensors
Npaj Nrog Multi Sensors
Npaj Nrog Multi Sensors

Hws noo sensor:

Koj yuav siv lub ntsuas hluav taws xob HL-69, npaj tau online hauv ob peb duas las. Qhov ntsuas ntawm lub ntsuas ntsuas pom cov dej noo nyob hauv cov av ib puag ncig los ntawm kev hla tam sim no los ntawm cov av thiab ntsuas qhov tsis kam. Cov av ntub ua hluav taws xob tau yooj yim, yog li nws muab kev tiv thaiv qis dua, thaum cov av qhuav ua tsis zoo thiab muaj kev tiv thaiv siab dua.

Lub sensor muaj ob ntu

1. Ob tus pin ntawm lub sensor yuav tsum txuas rau ob tus pin cais ntawm tus tswj (txuas cov xov hlau feem ntau yog muab)

2. Lwm sab ntawm tus tswj muaj plaub tus pin, peb ntawm qhov txuas mus rau Arduino.

· VCC: Rau lub zog

A0: Kev tso tawm analog

· D0: Cov zis digital

· GND: Hauv av

DHT11 Kub & Vaum:

DHT11 Kub & Vaum Sensor nta qhov ntsuas kub & av noo sib txuam nrog cov ntsuas ntsuas digital tso tawm. Los ntawm kev siv cov txheej txheem tshwj xeeb digital-teeb liab-nrhiav thiab ntsuas kub & av noo-paub thev naus laus zis, nws ua kom ntseeg tau zoo thiab ruaj khov mus sij hawm ntev zoo. Qhov ntsuas no suav nrog tiv thaiv-tiv thaiv cov av noo tivthaiv thiab NTC ntsuas qhov ntsuas kub, thiab txuas nrog rau qhov ua tau zoo 8-ntsis microcontroller, muab qhov ua tau zoo tshaj plaws, teb tau sai, tiv thaiv kev cuam tshuam, thiab raug nqi.

LDR lub teeb nyob ntawm tus tiv thaiv:

LDR yog hom tshwj xeeb ntawm cov tshuaj tiv thaiv uas tso cai rau cov hluav taws xob siab dhau los ntawm nws (tsis muaj kev tiv thaiv) thaum twg muaj lub zog siv hluav taws xob ntau, thiab dhau qhov qis qis (tiv taus siab) thaum nws tsaus ntuj. Peb tuaj yeem ua kom zoo dua ntawm LDR cov cuab yeej no thiab siv nws hauv peb DIY Arduino LDR sensor qhov project.

KY-038 Suab Sensor:

Lub suab ntsuas tuaj yeem siv rau ntau yam, ib qho ntawm lawv tuaj yeem tig teeb thiab qhib los ntawm kev npuaj teg. Niaj hnub no txawm li cas los xij peb tab tom yuav siv sib txuas lub suab ntsuas mus rau qhov teeb ntawm LED teeb uas yuav ntaus nrog suab paj nruag, npuaj teg lossis khob.

PIR Sensor:

Passive infrared sensor yog lub tshuab hluav taws xob ntsuas ntsuas infrared (IR) lub teeb ci los ntawm cov khoom hauv nws qhov kev pom. Lawv feem ntau siv hauv PIR-based motion detectors.

Txhua yam khoom uas muaj qhov kub siab tshaj pes tsawg tsis muaj cua sov tso rau hauv daim ntawv hluav taws xob. Feem ntau, qhov hluav taws xob no tsis pom rau tib neeg lub qhov muag vim tias nws tawg ntawm lub ntsej muag lub ntsej muag, tab sis nws tuaj yeem kuaj pom los ntawm cov khoom siv hluav taws xob tsim los rau lub hom phiaj no.

Kauj Ruam 4: Circuit thiab Code

Circuit thiab Code
Circuit thiab Code

Kauj ruam 5: Hacked Webcam

Hacked Webcam
Hacked Webcam
Hacked Webcam
Hacked Webcam

Tag nrho txoj haujlwm tau tswj hwm los ntawm daim ntawv thov windows uas pab tau txais cov lus thiab ceeb toom, nrog rau lub peev xwm txais cov duab los ntawm lub vev xaib thiab khaws nws.

Pom zoo: