Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Tsim Circuit Court
- Kauj Ruam 2: Hloov kho Jack-o-lantern
- Kauj Ruam 3: Tsim lub Candy Dispenser
- Kauj Ruam 4: Mount Qhov Chaw Sab Hauv Jack-o-lantern
- Kauj Ruam 5: Upload Arduino Sketch
Video: Joke-o-Lantern: 5 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Dab tsi hauv ntiaj teb xav tau yog Arduino Jack-o-lantern! Koj tsis pom zoo?
Txoj haujlwm no yog jack-o-lantern uas tuaj yeem muab Cov Lus Qhia Thiab Kho!
Nias lub pob ntawm ib sab ntawm nws lub taub hau thiab koj tau txais qhov kev xaiv ua kev lom zem Xus lom zem nrog cov nkauj nrog.
Muab koj txhais tes tso rau hauv lub qhov ncauj thiab nws faib Smartie (TM) nrog lub suab sib dhos.
Cia peb tsim nws!
(Faj seeb: Qhov koj hnov zoo li hauv video tsuas yog rf suab nrov los ntawm servo motor uas tau khaws los ntawm lub xov tooj. decoupling capacitor hla VCC thiab GND ntawm servo tab sis kuv tsis pom nws tsim nyog.
Khoom siv
- Qee hom jack-o-lantern (qhov no yog txhaj tshuaj ua npuas dej uas kuv tau khaws rau $ 2 ntawm lub khw muag khoom siab hlub)
- Arduino UNO lossis Nano (txhua yam uas koj muaj yog qhov zoo)
- Me Servo
- 4x20 I2C LCD Zaub
- Ib qho arcade style pushbutton
- 10K Ohm rub qis resistor rau khawm
- Tus hais lus me 8 Ohm
- SR-04 Zaum Sensor rau cov khoom qab zib
- Ib qho me me ntawm 3/4 "yas txuas rau Smarties lub tshuab xa khoom
- Qee cov plexiglass lossis lwm yam khoom siv nyias rau Smarties lub tshuab xa khoom
- Ib qho me me ntawm cov yas los ua Smarties lub raj xa dej
- L-bracket me thiab lwm yam khoom seem kom ua tiav lub tshuab xa khoom
- Txuas cov hlau, kua nplaum kub thiab lwm yam
- Cov ntawv me me rau lub voj voog (lossis muab nws tso rau siv tas mus li)
- Ntse (TM)
Koj tuaj yeem siv M & Ms, Lifesavers thiab lwm yam. Koj tsuas yog yuav tsum tau kho lub qhov loj me, cov kab taub thiab qhov siab ntawm lub tshuab xa khoom viav caj npab kom tswj qhov ntev thiab tuab ntawm hom khoom qab zib.
Cov Cuab Yeej:
- Siv rab riam los txiav rau hauv koj lub jack-o-lantern
- Laum kom laum qhov rau tus hais lus thiab khawm (lossis txiav kom zoo nrog rab riam)
- Tawv dub Sharpie (TM) tus cim lossis xim dub los pleev qhov muag, qhov ntswg, qhov ncauj ntawm lub tsho-lub teeb
- Ua siab ntev thiab ua siab zoo!
Kauj ruam 1: Tsim Circuit Court
Txhim kho lub Circuit Court raws li daim duab. Nws tau pom zoo tias koj siv 5 volt, 1 amp fais fab mov los muab tam sim no txaus los tsav servo.
Thaum kawg, koj yuav tsum tau siv cov xov hlau ntev txaus kom ncav cuag txhua qhov khoom siv thaum lawv tau teeb tsa hauv lub jack-o-lantern.
Kauj Ruam 2: Hloov kho Jack-o-lantern
Kuv pom kuv lub jack-o-lantern ntawm lub khw muag khoom thib ob. Nws tau ua los ntawm lub teeb txhaj tshuaj molded ua npuas ncauj kom nws yooj yim los txiav thiab xyaum. Koj tuaj yeem siv txhua lub jack-o-lantern uas haum rau koj qhov chaw.
1. Qhuav haum koj qhov chaw.
2. Txiav lub vaj huam sib luag nkag mus rau hauv lub jack-o-lantern yog li koj tuaj yeem teeb tsa ntu.
3. Siv lub laum me me, ua qee qhov perforations qhov twg tus neeg hais lus yuav yog kom lub suab tuaj yeem tawm mus. Nruab tus hais lus nrog kub-kua nplaum lossis lwm cov nplaum haum.
4. Laum lossis ua tib zoo txiav lub qhov rau koj lub khawm. Nruab ib lub laub khawm.
5. Txiav ib lub qhov ncauj rau qhov tawm ntawm lub trough uas faib cov qab zib.
6. Txiav lossis tho qhov hauv qab lub qhov ncauj rau qhov ntsuas SR-04 nrug deb.
Kauj Ruam 3: Tsim lub Candy Dispenser
Qhov no yog qhov nyuaj tshaj plaws ntawm kev tsim thiab nws yog qhov kev xaiv tag nrho. Tej zaum koj yuav xav rho tus lej rau lub ntsuas SR04 thiab lub servo thiab hloov kho cov lus tseem ceeb yog tias koj yuav tsis xa cov khoom qab zib.
Raws li kuv tsis tuaj yeem sib cais lub jack-o-lantern kom disassemble lub dispenser, kuv yuav sim piav qhia cov hauv paus ntsiab lus ntawm no.
Lub tshuab ua haujlwm tseem ceeb yog caj npab viav vias (ntawm no yog ua los ntawm 3/16 plexiglas) tau teeb tsa rau hauv servo nrog lub qhov uas yog txoj kab uas hla ntawm cov khoom qab zib kom xa tawm. raws li koj tuaj yeem tsim nyog tau txais.
Lub raj xa dej (ntawm no nws yog ib qho me me ntawm cov yas yas kab uas tau txiav thiab khoov kom zoo) tau teeb tsa rau ntawm lub hauv paus (ntawm no qee cov ntoo ntoo ntawm qhov siab uas tsim nyog los teeb tsa lub servo thiab kom muaj qhov nqes hav txaus uas cov khoom qab zib yuav swb nqes hav thiab tawm ntawm lub qhov ncauj. Koj yuav tsum tau npaj qee qhov ntawm no.
Ib daim yas yas yas (ntawm no 3/4 ) yog lub pas dej rau cov khoom qab zib, tau teeb tsa saum lub caj npab viav vias kom cov khoom qab zib poob rau hauv lub qhov hauv caj npab viav vias.
Raws li lub caj npab viav vias, nws yuav thawb cov khoom qab zib rau hauv lub trough thiab sab nraub qaum ntawm lub viav vias khaws ntau cov khoom qab zib los ntawm kev faib tawm. Thaum lub caj npab viav vias rov qab mus rau nws txoj haujlwm tos, cov khoom qab zib tom ntej poob rau hauv lub qhov, npaj kom xa tawm.
Koj tus qauv tsim yuav txawv raws qhov loj ntawm koj lub jack-o-lantern thiab yam khoom qab zib uas koj xav kom faib.
Thaum koj tau sim koj lub dispenser rau koj txaus siab, nruab nws hauv lub jack-o-lantern.
Kauj Ruam 4: Mount Qhov Chaw Sab Hauv Jack-o-lantern
Mount cov zaub, khawm, hais lus, SR-04 thiab lub tshuab xa khoom sab hauv. Kuv siv kua nplaum kub.
Koj tuaj yeem xav siv me me txiv neej-poj niam lub davhlau ya nyob twg txuas rau tso cai sib txawv sib xyaw kom txuas nrog/txiav tawm raws li xav tau. Nws yuav ua rau kev teeb tsa yooj yim dua li qhov kuv tau ntsib.
Kauj Ruam 5: Upload Arduino Sketch
Qhib thiab khaws cov ntaub ntawv jokeOLantern.ino ua qhov haujlwm tshiab. Muab cov ntawv pitches.h tso rau hauv tib qhov project. Nws muab cov suab rau cov nkauj ua los ntawm qhov haujlwm.
Sab hauv daim duab, koj yuav pom cov cim loj uas yog cov lus tso dag thiab cov lus teb rau cov zaub. Ntxiv/rho tawm/hloov raws li koj nyiam. Koj yuav pom ntau kab dawb paug. Yog li cov lus tso dag tau zoo nyob hauv cov zaub. Muaj 4 kab rau kev tso dag thiab 4 kab rau kab xev. Nco ntsoov tias koj khaws kev sib raug zoo ntawm 4 thiab 4 yog tias koj xav kom cov array ua haujlwm raug. Raws li tau muab, muaj 12 qhov tso dag hauv kab lus. Yog tias koj ntxiv/tshem cov lus tso dag, koj yuav tsum hloov pauv, int msgNum = (int) random (12); rau tus nqi sib txawv kom phim tus lej tso dag.
Compile/upload daim duab. Thauj koj lub khob ntim khoom qab zib thiab pib ua kev lom zem Hallowe'en!
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
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