Cov txheej txheem:
- Kauj ruam 1: Qhov & Cov Cuab Yeej
- Kauj ruam 2: Tsim Circuit Court
- Kauj Ruam 3: Tsim lub Sensor Sib Dhos
- Kauj ruam 4: Teem Nws
- Kauj ruam 5: Txoj Cai
- Kauj ruam 6: Txhua yam ua tiav
Video: : 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Kauj ruam 1: Qhov & Cov Cuab Yeej
Qhov: ~ 2 x Servo Motors - Local Electronics Store ~ 4 x LDR's - Local Electronics Store ~ 4 x 10k Resistors - Local Electronics Store ~ Arduino Uno - Sparkfun.com ~ 2 x 50k Variable Resistor - Local Electronics StoreTools: ~ Soldering Iron - Sparkfun.com ~ Solder Wire - Sparkfun.com ~ Jumper Wires - Sparkfun.com ~ Protoboard - Local Electronics Store Txhua qhov chaw yuav raug nqi koj tsawg dua 30 $ (Tsis suav nrog arduino thiab txhua yam cuab yeej)
Kauj ruam 2: Tsim Circuit Court
Lub Circuit yog qhov yooj yim zoo sib txuas plaub LDR rau analog pins 0, 1, 2 thiab 3 feem ntawm 10k resistor txuas ob lub servos rau digital pins 9 thiab 10 feem. Txuas ob qhov sib txawv resistors rau analog pins 4 thiab 5. a Saib cov duab lawv yeej pab tau tiag. Saib daim duab kawg rau daim duab qhia chaw (Nws yuav yog qhov phem tshaj uas koj tau pom dua).
Kauj Ruam 3: Tsim lub Sensor Sib Dhos
Txhawm rau tsim lub ntsuas hluav taws xob sib dhos ua ob daim duab plaub ntawm daim duab, txiav qhov ntev los ntawm nruab nrab ntawm thawj daim duab los qhia. Txiav ib daim luv los ntawm nruab nrab ntawm daim ntawv ntawv thib ob thiab tom qab ntawd txiav ob qho ntawm lawv thiab kho lawv kom zoo. kab xev Nws yuav tsum zoo li tus ntoo khaub lig 3D nrog 4 ntu.. Peb yuav tsum tso peb plaub lub LDR nyob rau hauv plaub ntu ntawm tus ntoo khaub lig no. Saib cov duab lawv yeej pab tau.
Kauj ruam 4: Teem Nws
Nrhiav lub hauv paus (Nescafe lub raj mis hauv kuv rooj plaub) thiab lo koj lub nrig nrig servo rau nws tom qab ntawd mus rau lub rotor ntawm thawj servo txuas thib ob servo. To lub rotor ntawm qhov thib ob servo txuas lub sensor sib dhos uas peb tau ua yav dhau los. coj nws tawm hauv lub hnub thiab nws yuav tsum tau kho nws tus kheej mus rau lub hnub yog tias sab hauv tsev nws yuav ua nws tus kheej mus rau qhov chaw ci tshaj plaws ntawm lub teeb hauv chav. Ua tibzoo saib cov duab lawv pab tiag tiag.
Kauj ruam 5: Txoj Cai
Nov yog cov cai rau koj lub hnub ci taug qab neeg hlau: #suav nrog // suav nrog Servo lub tsev qiv ntawv Servo kab rov tav; // kab rov tav servo int servoh = 90; // sawv ntsug kab rov tav servo Servo ntsug; // ntsug servo int servov = 90; // sawv ntsug servo // LDR tus pin txuas // lub npe = analogpin; int ldrlt = 0; // LDR sab saum toj sab laug int ldrrt = 1; // LDR top rigt int ldrld = 2; // LDR down left int ldrrd = 3; // ldr nqis rigt void teeb () {Serial.begin (9600); // servo sib txuas // name.attacht (tus pin); kab rov tav.attach (9); ntsug.attach (10); } void loop () {int lt = analogRead (ldrlt)); // sab saum toj sab laug int rt = analogRead (ldrrt); // sab saum toj sab xis int ld = analogRead (ldrld); // nqis sab laug int rd = analogRead (ldrrd); // down rigt int dtime = analogRead (4)/20; // nyeem potentiometers int tol = analogRead (5)/4; int avt = (lt + rt) / 2; // nruab nrab tus nqi sab saum toj int avd = (ld + rd) / 2; // nruab nrab tus nqi nqis int avl = (lt + ld) / 2; // nruab nrab tus nqi sab laug int avr = (rt + rd) / 2; // nruab nrab tus nqi txoj cai int dvert = avt - avd; // txheeb xyuas qhov sib txawv ntawm nce thiab nqis int dhoriz = avl - avr; // txheeb xyuas qhov sib txawv og sab laug thiab rigt yog (-1*tol> dvert || dvert> tol) // kos yog tias qhov sib txawv nyob hauv qhov ua siab ntev ntxiv hloov lub kaum ntsug {yog (avt> avd) {servov = ++ servov; yog (servov> 180) {servov = 180; }} lwm yog (avt <avd) {servov = --servov; yog (servov <0) {servov = 0; }} vertical.write (servov); } yog (-1*tol> dhoriz || dhoriz> tol) // kos yog tias qhov sib txawv nyob hauv qhov ua siab ntev ntxiv hloov kab rov tav {yog (avl> avr) {servoh = --servoh; yog (servoh <0) {servoh = 0; }} lwm tus yog (avl <avr) {servoh = ++ servoh; yog (servoh> 180) {servoh = 180; }} lwm tus yog (avl = avr) {// tsis muaj dab tsi} horizontal.write (servoh); } ncua (sijhawm); }
Kauj ruam 6: Txhua yam ua tiav
Vam tias txoj haujlwm no txhawb nqa kev sim ntxiv. Arduino pawg thawj coj saib muaj ntau yam tsis txaus ntseeg, pheej yig, thiab nkag tau rau txhua tus neeg nyiam ua haujlwm. Nov tsuas yog ib qho ntawm ntau txoj haujlwm yooj yim uas tuaj yeem tsim kho siv arduino. Khaws xav txog!. Tsis txhob hnov qab ua raws ntau ntxiv. Rau txhua qhov lus nug hu rau kuv ntawm no yog kuv li E-mail ID [email protected]
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Ua Si Cov Khoom Ua Si Ua Tau Zoo!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Siv Hluav Taws Xob Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
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
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: 7 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: Nyob zoo txhua tus! Cov lus qhia no tau yug los ntawm lub laptop faib ua ib nrab, yuav los ntawm ib tus phooj ywg. Thawj qhov kev sim ntawm txoj haujlwm no yog kuv Lego Digital Photo Frame, txawm li cas los xij, yog ib tus neeg mob siab rau Siri thiab Google Tam sim no, Kuv txiav txim siab coj nws mus rau qhov tshiab