Cov txheej txheem:
- Kauj Ruam 1: Tsim Pawg Thawj Coj
- Kauj Ruam 2: Txiav Laser
- Kauj Ruam 3: Tsim Tus Ntaus Ntawv
- Kauj Ruam 4: Tsim Cov Hluav Taws Xob
- Kauj ruam 5: Upload Code
- Kauj Ruam 6: Tiav Cov Khoom Siv
- Kauj ruam 7: Ua tiav !!!!
Video: Azimuthal Projection 3D Map Decoration X Folk Music Puzzle Game - Arduino: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
QHIA
Cov nplooj ntawv hauv qab no yuav qhia koj li cas los tsim qhov project Arduino, uas muaj ob lub luag haujlwm tseem ceeb-kho kom zoo nkauj nrog teeb pom kev zoo thiab suab paj nruas suab paj nruag sib dhos, uas suav nrog thaj tsam ntawm thaj chaw, geometry, duab qhia chaw, United Nations, thiab suab paj nruag tag nrho ua ke hauv ib qho. Lub tsev raws li tus qauv ntawm hexagons, lub cuab yeej piav qhia lub ntiaj teb daim ntawv qhia hauv Azimuthal Equidistant Projection, uas yog daim ntawv qhia daim phiaj siv los ntawm United Nations (thiab nws lub cim).
Thaum qhib kev ua kom zoo nkauj, cov teb chaws ntawm daim duab qhia chaw yuav ci hauv cov xim sib txawv txiav txim siab los ntawm kev sib xyaw ua ke ntawm RGB qhov tseem ceeb los ntawm kev siv RGB LEDs.
Hom kev ua si, ntawm qhov tod tes, xav kom cov neeg siv paub txog keeb kwm ntawm cov nkauj nkauj nkauj hauv ntiaj teb (xaiv los ntawm kev tsim cov lej los ntawm 1 txog 20) thiab muab nws cov lus teb rau pawg thawj coj saib xyuas txuas mus rau nws txoj haujlwm sib xws ntawm lub rooj ntoo loj hauv ib pawg sijhawm (npaj ua ntej 1 feeb).
_
QHOV TSEEB
Cov Ntaub Ntawv Tiag
- 5 hli RGB LEDs *20
- Hlau
- Cov neeg tiv taus *9
- Arduino Board *1 (txhua yam)
- Cov ntawv qhia zaub mov *3
- Khawm *7
- LCD Zaub Board I2C *1
- Lub thawv ntawv (13*9*5.7 nti; 33*23*14.5 cm)
- Ntoo Board (37.5*29*0.8 cm)
- Acrylic Boards (pob tshab * 2, ib nrab pob tshab * 1)
- Portable Charger *1
Cov Cuab Yeej:
- Hniav *1
- UV Kho Adhesives *1
- Daim kab xev ob tog *1 yob
- Rab Phom Kub Kub *1
Cov cav tov:
Laser Tej Tshuab
Software:
- Tsev av Illustrator
- Tsev av Photoshop
- Rhino 3D
Kauj Ruam 1: Tsim Pawg Thawj Coj
Koj tuaj yeem ncaj qha rub cov ntawv txuas lossis ua raws cov theem hauv qab no.
Qhia txog Daim Ntawv Qhia
-
Rub tawm daim duab qhia chaw los ntawm Google
- Google "tebchaws United logo"
- Xaiv "cuab yeej - loj - loj"
- Rub tawm koj cov duab uas koj nyiam tshaj plaws (ib qho uas siv los ntawm txoj haujlwm no: txuas) *Sim tsis txhob xaiv cov uas muaj kab nyuaj sib tshooj nrog cov av av txuas ntxiv *
-
Hloov daim ntawv qhia chaw rub mus rau hauv cov ntawv luam tawm
- Xim cov cheeb tsam uas tsis xav tau ua dawb los ntawm kev siv cov xim txhuam hauv Adobe Photoshop
- Export cov ntaub ntawv (JPEG)
- Ntshuam cov ntaub ntawv rau hauv Adobe Illustrator thiab siv qhov "duab kab" ua haujlwm kom taug qab daim duab qhia chaw
- Export cov ntaub ntawv (dxf)
Ntxiv rau Hexagon Background
- Ntshuam cov ntaub ntawv dxf rau hauv Rhino
- Xaiv "polygon" ua haujlwm thiab qhov tseem ceeb hauv "6" rau "NumSides" xaiv
- Ntsuas hauv "3.5" rau tus nqi hluav taws xob
- Kos 28 qhov sib npaug hexagons
- Export cov ntaub ntawv hauv 3dm
Kauj Ruam 2: Txiav Laser
- Ntshuam cov ntaub ntawv tiav ua ntej rau xxx.
- Siv lub tshuab txiav laser, luam tawm lub cev tseem ceeb ntawm lub rooj ntoo thiab sab av loj ntawm cov laug cam (2 pob tshab & 1 pob tshab ib nrab) (yeeb yaj kiab tau muab rau saum toj no)
Kauj Ruam 3: Tsim Tus Ntaus Ntawv
Boards Tom qab Laser Txiav
-
Acrylic Continents
- Siv UV kho cov nplaum los lo rau txhua sab av loj peb lub laug cam ua ke (nrog ib nrab pob tshab raws li txheej nruab nrab)
- Siv lub teeb ci UV kom ci rau ntawm thaj chaw uas muaj cov nplaum kom tso cai rau cov kua nplaum ua kom khov
-
Ntoo Board Foundation
- Tshem tawm thaj av me me ntawm tus kheej ntawm lub rooj ntoo loj
- *Yog tias ib feem ntawm pawg thawj coj ntoo tau tawg, siv UV cov nplaum nplaum los lo lawv rov qab*
Tsim Lub Hauv Paus (Hauv Qab Lub Hauv Paus ntawm Cov Khoom Siv Tag Nrho)
- Nrhiav ib lub thawv ntawv me me uas tsim nyog, nrog qhov ntev ze li 13*9*5.7 nti (33*23*14.5 cm)
- Siv lub rooj ntoo ua tus qauv siv, taug cov ntu txuas mus rau sab saum toj ntawm lub thawv
- Nrhiav ib sab hauv qab ntawm cov nyees khawm mus rau sab saum toj ntawm lub npov, nrog txhua lub pob nyob nruab nrab ntawm txhua ntu ntu txuas ntxiv mus
- Siv rab riam los txiav tawm lub khawm qhov los ntawm kev ua raws cov kab
- Tsis pub dhau qhov txuas ib sab av loj, siv rab riam los txiav cov ntu luv ib puag ncig lub pob
- Ua raws ob ntu hauv qab ntawm lub pob mus rau sab xis ntawm lub npov (sim ua raws cov kab nrog qhov siab tib yam)
- Taug qab LCD lub rooj tsavxwm mus rau sab xis ntawm lub npov (saum ob lub nyees khawm hauv cov kauj ruam dhau los)
- Siv rab riam los txiav ob lub khawm qhov thiab ntu LCD los ntawm kev ua raws cov kab hauv kauj ruam 6 thiab 7
Kauj Ruam 4: Tsim Cov Hluav Taws Xob
Xa mus rau kab lus saum toj no, tsim lub Circuit Court.
Nco tseg:
- Cov tiv thaiv rau RGB LEDs thiab cov nyees khawm sib txawv, TSEEM CEEB!
-
Txij li LCD Display Board saum toj no tsis muaj tus qauv I2C, nws tsis txuas nrog zoo kawg nkaus. (LCD Zaub Boards nrog I2C qauv tsuas yog yuav tsum ntsaws rau hauv plaub tus pin)
- Txuas GNDs ntawm tus tso saib thiab Arduino board
- Txuas VCC ntawm lub vijtsam nrog tus pin zoo ntawm lub khob cij
- Txuas SDAs ntawm tus tso saib thiab Arduino board
- Txuas SCLs ntawm tus tso saib thiab Arduino board
Kauj ruam 5: Upload Code
Cov cai rau txoj haujlwm no tuaj yeem pom ntawm no lossis hauv qab no.
Txhua kab kab cim muaj cov ntawv sau piav qhia nws lub hom phiaj thiab kev ua haujlwm.
Nco tseg:
- Txhua qhov tshwj xeeb D pins tuaj yeem hloov pauv thiab hloov kho raws li koj qhov kev teeb tsa hauv Circuit Court
- Txhua lub vib nas this qeeb tuaj yeem hloov pauv mus rau qhov sib txawv, tab sis TSIS TXHOB tshem tawm lawv! (Cov vib nas this qeeb tso cai rau cov cai kom nkag mus ntau dua. Yog tsis muaj lawv, qee qhov ntawm txoj cai yuav tsis ua haujlwm!)
- Ntawm kab 24 (kev qhia ntawm "rau lub voj"), koj tuaj yeem xaiv tus naj npawb ntawm kev rov ua dua uas koj xav kom lub voj khiav rau (tus nqi qub yog 5)
- RGB LEDs cov xim sib xyaw ua ke hauv txhua lub khawm "yog nias" thiab "yog tias tsis nias" lub voj tuaj yeem hloov kho thiab kho. (Keeb kwm, RGB LEDs yuav ci ntsuab yog tias nias thaum lawv yuav ci liab yog tias tsis nias.
#suav nrog
#suav nrog LiquidCrystal_I2C lcd_I2C_27 (0x27, 16, 2); // teeb tsa qhov chaw nyob LCD rau 16 tus ntawv thiab 2 kab tso rau hauv _R; // qhia paub qhov sib txawv R, uas sawv rau tus nqi liab ntawm RGB LEDs int _G; // qhia paub qhov txawv txav G, uas sawv rau tus nqi ntsuab ntawm RGB LEDs int _B; // qhia paub qhov txawv txav B, uas sawv cev rau tus nqi xiav ntawm RGB LEDs int _SongNumber; // qhia paub qhov sib txawv SongNumber tsis muaj teeb meem teeb tsa () {pinMode (10, INPUT); // teeb D10 raws li kev nkag mus rau daim duab qhia chaw-kho kom zoo nkauj khawm pinMode (9, INPUT); // teeb D9 raws li kev nkag mus rau qhov kev ua si sib dhos khawm pinMode (8, INPUT); // teeb D8 raws li cov tswv yim rau Eurasia khawm pinMode (4, INPUT); // teeb D4 raws li kev nkag mus rau North America khawm pinMode (3, INPUT); // teeb D3 raws li kev nkag mus rau South America khawm pinMode (2, INPUT); // teeb tsa D2 raws li kev nkag mus rau Africa khawm pinMode (1, INPUT); // teeb tsa D1 ua cov tswv yim rau Oceania khawm lcd_I2C_27.init (); // pib lub LCD zaub board lcd_I2C_27.backlight (); // tig rau lub teeb pom kev ntawm lub vijtsam LCD} void loop () {yog (digitalRead (10)) {// yog tias daim ntawv qhia kev kho kom zoo nkauj khawm tau nias rau (int i = 0; i <5; ++ i) {// khiav cov voj hauv qab no rau 5 zaug _R = random (0, 1023); // muab qhov sib txawv R tus lej random los ntawm 0 txog 1023 _G = random (0, 1023); // muab qhov sib txawv G tus lej random ntawm 0 txog 1023 _B = random (0, 1023); // muab qhov sib txawv B tus lej random los ntawm 0 txog 1023 analogWrite (13, (_R /4)); // tus nqi R ntawm RGB LEDs rau thawj pab pawg hloov pauv thiab sau tus nqi sib txawv los ntawm 0 txog 255 analogWrite (12, (_G /4)); // tus nqi G ntawm RGB LEDs rau thawj pab pawg hloov pauv thiab sau tus nqi sib txawv los ntawm 0 txog 255 analogWrite (11, (_B /4)); // tus nqi B ntawm RGB LEDs rau thawj pab pawg hloov pauv thiab sau tus nqi sib txawv los ntawm 0 txog 255 analogWrite (7, (_R /4)); // tus nqi R ntawm RGB LEDs rau pawg thib ob hloov pauv thiab sau tus nqi sib txawv los ntawm 0 txog 255 analogWrite (6, (_G /4)); // tus nqi G ntawm RGB LEDs rau pawg thib ob hloov pauv thiab sau tus nqi sib txawv los ntawm 0 txog 255 analogWrite (5, (_B /4)); // tus nqi B ntawm RGB LEDs rau pawg thib ob hloov pauv thiab sau tus nqi sib txawv los ntawm 0 txog 255 ncua (3000); // tos 3000 milliseconds (3 vib nas this)} // txij li qhov tseem ceeb ntawm qhov sib txawv R, G, B tau txiav txim siab hauv lub voj, yuav muaj tsib qhov sib txawv xim sib txuas ua ke ntawm ib lub voj} yog (digitalRead (9)) {// yog lub puzzle-game khawm tau nias _SongNumber = random (1, 20); // muab SongNumber tus lej sib txawv los ntawm 1 txog 20 lcd_I2C_27.setCursor (0, 0); // teeb tus cursor, suav pib nrog 0 lcd_I2C_27.print (_SongNumber); // luam tus nqi ntawm SongNumber rau lub LCD zaub board analogWrite (13, 0); // rov pib dua thiab sau tus nqi ntawm D13 ua 0 analogWrite (12, 0); // rov pib dua thiab sau tus nqi ntawm D12 ua 0 analogWrite (11, 0); // rov pib dua thiab sau tus nqi ntawm D11 ua 0 analogWrite (7, 0); // rov pib dua thiab sau tus nqi ntawm D7 li 0 analogWrite (6, 0); // rov pib dua thiab sau tus nqi ntawm D6 li 0 analogWrite (5, 0); // rov pib dua thiab sau tus nqi ntawm D5 li 0 yog (_SongNumber> = 1 && _SongNumber = 4 && _SongNumber = 7 && _SongNumber = 11 && _SongNumber = 15 && _SongNumber = 18 && _SongNumber <= 20) {// yog tias tus nqi ntawm SongNumber sib txawv los ntawm 18 txog 20 ncua (60000); // tos 60000 milliseconds rau cov neeg ua si mloog cov nkauj hauv ntiaj teb (60 vib nas this; 1 feeb) yog (digitalRead (1)) {// yog tias Oceania khawm raug nias analogWrite (13, 0); // analogWrite tus nqi ntawm D13 ua 0 analogWrite (12, 255); // analogWrite tus nqi ntawm D12 li 255 analogWrite (11, 0); // analogWrite tus nqi ntawm D11 ua 0 analogWrite (7, 0); // analogWrite tus nqi ntawm D7 ua 0 analogWrite (6, 255); // analogWrite tus nqi ntawm D6 255 analogWrite (5, 0); // analogWrite tus nqi ntawm D5 li 0} // tag nrho RGB LEDs yuav ci hauv xim ntsuab dua {// yog tias Oceania khawm tsis nias analogWrite (13, 255); // analogWrite tus nqi ntawm D13 li 255 analogWrite (12, 0); // analogWrite tus nqi ntawm D12 ua 0 analogWrite (11, 0); // analogWrite tus nqi ntawm D11 ua 0 analogWrite (7, 255); // analogWrite tus nqi ntawm D7 li 255 analogWrite (6, 0); // analogWrite tus nqi ntawm D6 ua 0 analogWrite (5, 0); // analogWrite tus nqi ntawm D5 li 0} // tag nrho RGB LEDs yuav ci hauv xim liab} // txij li cov lus teb raug rau SongNumber 18 txog 20 yog tag nrho Oceania, qhov no "yog lub voj" nkag mus seb tus neeg siv lo lus teb puas raug lossis tsis lcd_I2C_27.clear (); // tshem lub LCD zaub lub rooj ncua sijhawm (1000); // tos 1000 milliseconds (1 thib ob)}}
Kauj Ruam 6: Tiav Cov Khoom Siv
- Qhib lub thawv ntawv thawv thiab muab tso rau hauv cov khoom tsim ua yav dhau los (suav nrog tag nrho cov ntsiab lus, piv txwv li: peb lub rooj noj mov, Arduino board, lub tshuab nqa tau)
-
Hais txog cov cai thiab cov ntu ntu txuas ntxiv nyob rau sab saum toj ntawm lub thawv, muab cov nyees khawm tso rau hauv txhua qhov ntawm lawv txoj haujlwm sib xws
*Koj tuaj yeem xa mus rau cov ntawv sau tom qab cov lej txhawm rau txhawm rau xyuas kom tus pin tus khawm yog rau thaj av twg*
- Muab ob qho "khawm ua haujlwm" (daim ntawv qhia-deco ntawm D10 thiab puzzle-game ntawm D9) rau txhua qhov kev txiav-ntu ntawm sab xis ntawm lub thawv
- Nruab ib lub LCD zaub rau hauv nws qhov txiav ntawm sab xis ntawm lub npov
- Qhib lub npov thiab xyuas kom txhua lub xov hlau txuas tau zoo rau cov laug cam
- Khaws cov ntoo ntoo hauv paus rau sab saum toj ntawm lub thawv los ntawm kev siv daim kab xev ob tog (nco ntsoov ua kom haum kom cov nyees khawm tuaj yeem haum rau hauv qhov txiav ib feem ntawm cov laug cam ntoo)
- Siv rab phom kub kub los sau rau hauv cheeb tsam me me (tsis yog cov av loj)
Kauj ruam 7: Ua tiav !!!!
Rau qhov kev ua si sib dhos, mus rau qhov txuas rau qhov xeem ua si!
Pom zoo:
Memory Puzzle Game Siv BBC MicroBit: 7 Kauj Ruam
Memory Puzzle Game Siv BBC MicroBit: Yog tias koj tsis paub tias BBC MicroBit yog dab tsi, nws yog qhov khoom siv me me tiag tiag uas koj tuaj yeem ua haujlwm kom muaj cov tswv yim thiab tawm tswv yim. Kindof zoo li Arduino, tab sis ntau fleshed tawm. Dab tsi kuv nyiam tiag tiag txog MicroBit yog tias nws muaj ob qho ua hauv
Sib tham sib kov projection phab ntsa: 6 Cov kauj ruam
Sib tham sib kov Projection Phab Ntsa: Hnub no, Kuv coj koj los kov ntawm phab ntsa uas muaj suab npe hauv koj lub cim kev coj noj coj ua, kev ua yeeb yam hauv chav thiab lwm qhov chaw tso cov tswj hwm tswj hwm kom ua rau koj phab ntsa puv ntoob
Projection Sur Un Rideau D'eau: 7 Kauj Ruam
Projection Sur Un Rideau D'eau: Chaw Tsim, Qhov project kawg
Laser Projection Pomodoro Timer: 5 Kauj Ruam
Laser Projection Pomodoro Timer: Nyob zoo rau txhua tus ntawm lawv lub tsev thaum lub sijhawm kaw. Kuv vam tias cov lus qhia no yuav pab koj kom dhau ntawm cov hnub no. Yog li kuv tau siv cov txheej txheem pomodoro rau kev kawm hauv tsev. Rau ib tus neeg uas tsis paub tias txheej txheem pomodoro yog dab tsi, nws yog cov txheej txheem uas
Galaxy Teeb Nrog Lub Hnub Qub Projection: 7 Kauj Ruam
Galaxy Teeb Nrog Lub Hnub Qub Projection: Nov yog ib qho ntawm kuv qhov chaw zoo tshaj plaws theamed project. Kuv ib txwm xav ua ib yam dab tsi txaus nyiam heev thiab raws qhov chaw. Yog li ntau xyoo kuv tsuas yog siv los tshuaj xyuas qee qhov haujlwm raws li yam khoom no. Tab sis tom qab tshawb rau ntau yam kuv tau xaus koj