Cov txheej txheem:

Tsob Ntoo Ntawm Lub Neej (Arduino Capacitive Touch Sensor Driving Servo Motor): 6 Cov Kauj Ruam (nrog Duab)
Tsob Ntoo Ntawm Lub Neej (Arduino Capacitive Touch Sensor Driving Servo Motor): 6 Cov Kauj Ruam (nrog Duab)

Video: Tsob Ntoo Ntawm Lub Neej (Arduino Capacitive Touch Sensor Driving Servo Motor): 6 Cov Kauj Ruam (nrog Duab)

Video: Tsob Ntoo Ntawm Lub Neej (Arduino Capacitive Touch Sensor Driving Servo Motor): 6 Cov Kauj Ruam (nrog Duab)
Video: Tsob Ntoo Ntawm Peb Qab Tsib Taug 10/29/2021 2024, Kaum ib hlis
Anonim
Tsob Ntoo ntawm Lub Neej (Arduino Capacitive Touch Sensor Driving Servo Motor)
Tsob Ntoo ntawm Lub Neej (Arduino Capacitive Touch Sensor Driving Servo Motor)
Tsob Ntoo ntawm Lub Neej (Arduino Capacitive Touch Sensor Driving Servo Motor)
Tsob Ntoo ntawm Lub Neej (Arduino Capacitive Touch Sensor Driving Servo Motor)

Txog qhov haujlwm no peb tau ua tsob ntoo muab tsob ntoo uas suav nrog lub peev xwm kov lub zog thiab lub tshuab ua haujlwm servo. Thaum kov lub lev, lub cav servo yuav qhib thiab cov mov (lossis yam koj xav muab tso rau hauv nws) yuav raug tso tawm.

Nov yog cov vis dis aus luv luv ntawm yuav ua li cas! Txaus siab rau!

Cov Ntaub Ntawv Xav Tau:

Rau tsob ntoo qauv:

  • Corrugated cardboard ntawv
  • 4 cov duab ntoo ntoo
  • Cov ntawv yas lossis ib qho hollow ncej
  • Yob tso quav
  • Xim av Crepe Ntawv
  • Daim npog qhov ncauj

Rau Mat:

  • Cov duab los qhia
  • Cov Khoom Siv Hluav Taws Xob (17cm)
  • Npuag ntxiv
  • 2 Cov khoom siv styrofoam mos

Arduino teeb tsa:

  • 1 x Arduino UNO
  • 1 x Servo tsav
  • 7 x Jumper Xov
  • 1 x Breadboard
  • 1 x 1M Resistor

Cloak Costumes:

  • 2 daim Npuag (20 ntiv tes txhua)
  • Tshuab xaws thiab xov
  • Pins kom ruaj ntseg ntaub
  • Ntaub Txiab
  • Xev Xev

Lwm tus:

  • Mov nplej
  • Cov xim zaub mov
  • Hniav nplooj/paj

Kauj Ruam 1: Kev teeb tsa Arduino

Kev teeb tsa Arduino
Kev teeb tsa Arduino
Kev teeb tsa Arduino
Kev teeb tsa Arduino
Kev teeb tsa Arduino
Kev teeb tsa Arduino
Kev teeb tsa Arduino
Kev teeb tsa Arduino

Arduino Txoj Cai

1. Ua ntej txuas rau tus tiv thaiv ntawm lub khob cij me me thiab siv jumper xov hlau, txuas nws rau tus pin 4 thiab tus pin 8 ntawm Arduino.

2. Siv jumper xaim/tus nab kuab txuas los txuas cov ntaub ua hluav taws xob (lossis lwm yam khoom siv hluav taws xob uas koj xav tau los ua lub phaj kov) nrog tus pin 8 ntawm Arduino.

3. Txuas cov xim av (xim dub tshaj plaws) ntawm servo motor mus rau GND, xaim liab (lub zog) mus rau 5V thiab thiab tseem tshuav kab daj rau tus pin 9 ntawm Arduino.

4. Txuas Arduino rau koj lub khoos phis tawj thiab xa cov duab kos.

5. Kov cov ntaub qhwv thiab cov cav servo yuav tsum tau qhib.

Nco tseg: Koj tuaj yeem hloov qhov kos duab raws li qhov koj xav tau "qib siab" qib rau lub peev xwm kov lub zog thiab tseem lub zog txav ntawm servo motor.

Koj tuaj yeem xa mus rau qhov teeb tsa yooj yim uas zoo ib yam li peb li:

www.instructables.com/id/Arduino-Capacitive-Sensor-in-Less-Than-2-Minutes/

Kauj Ruam 2: Ua Tus Qauv Ntoo

Ua Tsob Ntoo Tsob Ntoo
Ua Tsob Ntoo Tsob Ntoo

1. Ua ib lub qhov (vojvoog = 5cm) hauv 3 daim duab ntoo ntoo.

2. Dov daim ntawv yas rau hauv tus ncej thiab ua kom haum rau hauv daim duab los qhia. (Tswv yim: Siv tau daim ntawv styrofoam kom ntseeg tau tias cov ntawv yas haum haum rau hauv daim duab los qhia)

3. Txiav tawm lub qhov loj txaus kom haum cov quav hauv qab hauv qab ntawm cov ntawv yas uas tau dov. (Tswv yim: Cov ntaub tso quav tso quav yuav tsum tuaj yeem qaij ntawm kwv yees li 45 degree)

4. Kaw cov qauv no rau daim ntawv ntawv corrugated, koj tseem tuaj yeem txiav txim siab siv daim npog ntsej muag kom ruaj ntseg daim ntawv ntawv.

5. Txiav ib daim duab peb sab qhib rau pem hauv ntej kom tso quav tso quav.

6. Muab cov ntawv crepe xim av tso rau ntawm daim ntawv los rau ntawm lub cev.

7. Txiav tawm qee tsob ntoo uas siv ntawv xim ntsuab lossis qhwv ib puag ncig cov nplooj ntoo rau kho kom zoo nkauj.

Kauj Ruam 3: Ua Cov Xim Xim

Ua Xim Xim
Ua Xim Xim

1. Muab qee cov nplej nplej tso rau hauv lub hnab zip-lock.

2. Ntxiv qee cov tshuaj pleev xim rau hauv lub hnab thiab co lub hnab.

3. Thaum tag nrho cov nplej muaj xim sib npaug, ncuav nws mus rau qhov chaw kom nws qhuav

4. Rov ua dua txhua yam zaub mov xim.

Kauj Ruam 4: Npaj Mat

Npaj Mat
Npaj Mat

1. Qhwv ib txheej ntawm cov ntaub los ntawm cov hauv paus duab los qhia, ntawm qhov loj me uas haum rau koj qhov haujlwm.

2. Tau txais 2 daim mos mos styrofoam rau lub hauv caug kom so kom txaus thaum txhos caug rau "Tsob Ntoo ntawm Lub Neej".

3. Qhwv cov laug cam styrofoam nrog lwm daim Npuag, tom qab ntawv ua cov ntaub ntawm txheej txheej saum toj kawg nkaus.

Kauj Ruam 5: Ua Cloak Costumes

Ua Cloak Costumes
Ua Cloak Costumes

1. Kos ntsuas ntawm tus neeg hnav lub tsho ntev ntawm daim ntaub thiab txiav tawm kom haum rau ob sab ntawm lub cev thiab ntu ntu. (Hauv peb qhov xwm txheej, peb txiav ib qho 39 nti los ntawm 39 nti loj rau lub cev thiab 30 ntiv los ntawm 17 nti loj rau lub hood)

2. Ruaj khov txoj haujlwm ntawm daim ntaub kom cim qhov tseeb ntawm qhov chaw yuav tsum tau xaws.

3. Xaws cov ntaub kom haum. Txuas thiab xaws lub hood thiab lub cev ntaub ua ke.

Kauj Ruam 6: Peb Cov Khoom Kawg

Hauv peb qhov kev qhia ua neej nyob, peb hais qhia rau cov menyuam koom nrog hnav Tsob Ntoo Tus Saib Xyuas Ua Ntej ua ntej yuav txhos caug ua ntej peb tsob ntoo ntawm lub hauv caug uas tau muab. Raws li tau hais los saum no, cov ntaub ntawv ua haujlwm ua lub peev xwm kov lub ntsej muag uas ua rau lub tshuab ua haujlwm servo uas qhib tsob ntoo ntoo kom tso cov nplej nplej. Tom qab ntawd peb tau muab qee yam khoom qab zib rau lawv ua tsaug rau lawv rau kev koom nrog.

Pom zoo: