Cov txheej txheem:

Lo lus Moos: 21 Cov Kauj Ruam (nrog Duab)
Lo lus Moos: 21 Cov Kauj Ruam (nrog Duab)

Video: Lo lus Moos: 21 Cov Kauj Ruam (nrog Duab)

Video: Lo lus Moos: 21 Cov Kauj Ruam (nrog Duab)
Video: Hi So - Koj haib 2 (Official MV nkauj tawm tshiab 2019-2020) 2024, Hlis ntuj nqeg
Anonim
Image
Image
Lo lus Moos
Lo lus Moos
Lo lus Moos
Lo lus Moos

Lwm qhov ua rau nrov lo lus moos. Tsim los ntawm arduino clone thiab WS2812B LEDs, kev tsim qauv tau tshoov siab ua ntej los ntawm qhov piv txwv no, tom qab ntawd kuv rov sau dua cov software suav nrog qee cov tswv yim los ntawm cov lus qhia no siv lub tsev qiv ntawv nrawm.

Kuv lub hom phiaj rau qhov kev tsim no yog kom muaj:

  • Cov ntawv loj tshaj/ze tshaj plaws yam tsis muaj ntshav los ntawm lawv
  • Tswj cov ntawv ib leeg ntau dua ib lo lus ib zaug
  • Haum rau dai ntawm phab ntsa lossis zaum ntawm lub rooj
  • Cov neeg siv-phooj ywg tswj
  • Kev pom zoo ntawm qhov zoo
  • Laser txiav

Kuv sim ua kom tsawg tshaj li DIY cov lus piav qhia zoo li qhov ua tiav ntawm cov khoom 3D luam tawm lossis cov cim hlawv/ntiv tes sib txuas/nyob hinges ntawm laser txiav txoj haujlwm. Kuv txaus siab thaum ib tus neeg nug kuv qhov twg kuv yuav qee yam uas kuv tsim thiab tsim kuv tus kheej.

Kuv tuaj yeem ua qhov laser txiav ntu muaj qee lub sijhawm ntawm no ntawm Etsy.

Kauj Ruam 1: Cov cuab yeej, Cov Khoom, thiab Cov Khoom Siv

Cov Cuab Yeej, Cov Khoom, thiab Cov Khoom Siv
Cov Cuab Yeej, Cov Khoom, thiab Cov Khoom Siv

Lub hauv paus tseem ceeb rau kev tsim qauv no yog nkag mus rau lub tshuab txiav laser uas muaj thaj tsam txiav ntawm 9 "x 9" lossis siab dua. Kuv tab tom siv "K40" Suav 40w CO2 laser uas muaj thoob plaws ebay thiab lwm qhov chaw nyob txawv teb chaws. Kuv tau hloov kho kom nws txiav thaj tsam loj dua (ntawm lwm qhov kev txhim kho), txwv tsis pub nws yuav tsis haum rau txoj haujlwm no tawm ntawm lub thawv. Yog tias koj siv K40, Kuv pom zoo kom siv K40 tus neeg ntxhi lus tsis hais software twg los xij; Kuv cov ntaub ntawv SVG tau kos nrog qhov ntawd hauv siab.

Cov Cuab Yeej:

  • Laser txiav (thaj tsam 9 "x 9" lossis ntau dua, yuav tsum txiav ntoo)
  • Khoos phis tawj nrog Arduino IDE
  • Clamps
  • Cov khoom siv hluav taws xob dav dav (cov xaim txiav, cov hlua khi, thiab lwm yam)
  • Soldering hlau
  • Kub kua nplaum phom
  • Pom

Khoom siv:

  • Ntoo Nplaum
  • Koob txhaj (rau kev thov kua nplaum ntoo, saib rau qhov nkhaus yas ntsis ntawm cov hniav/rab koob txhaj tshuaj)
  • Kub kua nplaum
  • Daim npog qhov ncauj
  • Xim (lub ntsej muag moos)
  • Xim los yog xim (thav duab)
  • Cov khob pov tseg thiab do lo (rau lub ntsej muag epoxy)
  • Ntawv xeb
  • Hlau (Kuv siv 22 gauge core core)

Cov ntaub ntawv:

  • 1x Arduino Nano - $ 5 (eBay clone) rau $ 22+ (official)
  • 1x DS3231 RTC Module - $ 1 (ebay)
  • 1x 10k Resistor - $ 1 rau 50 (ebay)
  • 3x Tactile keyboards 10mm - $ 1 rau 20 (ebay)
  • 1x WS2812B LED Sawb 60 LED/meter - $ 15 txog $ 23 (ebay)

    • Yuav tsum yog 60 LEDs ib lub 'meter' kom muaj qhov sib txawv raug, feem ntau yog muag li 300 LED 5m yob.
    • Saib rau qhov tsis muaj dej tsis sib haum
  • 1x Micro USB breakout board (xaiv tau) - $ 1.25 rau 5 (ebay)
  • 1x Photoresistor 10-20k ohm ntau - $ 1 rau 20 (ebay)
  • 1x CR2032 roj teeb - $ 2 rau 10 (ebay)
  • Ntshiab epoxy - $ 20 rau ib quart (Tsev Depot)
  • Tsuas yog ob peb ooj yuav tsum tau ua
  • 1x 3mm plywood - $ 12 rau 4 'x 8' ntawv (Tsev Depot)

    Qhov no feem ntau hu ua underlayment lossis Luaun

  • 1x 1/4 "x 1.5" x 48 "Oak Board $ 5 (Tsev Depot)

    Nrhiav qhov ncaj thiab zoo tshaj plaws

  • Ntawv (ntawv luam ntawv, lossis ib yam dab tsi translucent)

Qhov ntawd yog kwv yees li $ 70 daus las tag nrho, txawm li cas los xij koj yuav xaus nrog LEDs txaus rau ob lub moos, yog li nws yuav tsim nyog lob lwm Arduino thiab ntoo thuv thiab ua ob qho tib lub sijhawm. Vim li cas tsis?

Kauj Ruam 2: Txiav Plywood Qhov

Txiav Plywood Qhov
Txiav Plywood Qhov
Txiav Plywood Qhov
Txiav Plywood Qhov

Qhov no yuav tsum ncaj ncaj. Txiav ib qho ntawm SVG cov ntaub ntawv uas pib nrog "3mm Plywood" los ntawm cov ntawv zip txuas. Thawj zaug siv lub saw tig cov ntawv 4x8 rau hauv qee yam uas yuav haum rau hauv koj lub tshuab txiav laser (yog tias qhov ntawd tsis pom tseeb)

Koj tuaj yeem pom lub ntsej muag ntawm lub ntsej muag yog tsom iav - Kuv pom tias nrog kuv lub laser kuv tau txais lub nkig nkig dua nyob rau hauv qab ntawm lub rooj tsavxwm, yog li kuv muab lub ntsej muag zoo nkauj tshaj plaws ntawm cov ntoo. Yog tias tsis yog qhov xwm txheej rau koj, tsuas yog tsom iav cov ntawv thiab txiav nws sab xis. Cov ntu me me ntawm cov tsiaj ntawv yuav tawg, yog li sim zam qhov xuas nrig ntaus ib qho ntawm lawv. Kuv pom zoo hloov kho koj cov chaw txiav kom cov ntawv poob tawm ntawm lawv tus kheej - nws yooj yim heev rau tsoo nruab nrab ntawm tus O yog tias koj tab tom rub ib qho ntu uas tawm ntawm daim ntawv.

Yog tias koj tsoo ib tsab ntawv tawm - txhua yam tsis ploj. Dai rau ntawm qhov me me thiab saib ua ntej mus rau theem uas peb npaj lub ntsej muag thiab koj yuav pom tias peb tuaj yeem tso lawv nyob qhov twg lawv nyob yam tsis muaj teeb meem ntau.

Tsis txhob hnov qab kos cov txheej xiav ua ntej txiav liab.

Kauj Ruam 3: Txiav Oak Qhov Chaw

Txiav Oak Qhov Chaw
Txiav Oak Qhov Chaw
Txiav Oak Qhov
Txiav Oak Qhov

Kuv ib txwm ua qhov no ua ntej kuv pib lossis tom qab kuv ua tiav txiav cov plywood vim tias nws xav tau kev txiav sib txawv thiab teeb tsa me ntsis ntawm lub laser. Peb xav tau ib qho ntawm txhua daim nrog cov ntawv hu ua "Oak Frame" ntawm no. Koj yuav pom tias muaj daim duab plaub xiav nyob hauv cov ntawv nrog kab liab txiav. Lub tswv yim ntawm no yog siv cov khoom pov tseg pov tseg ua jig/teeb tsa hauv lub laser kom peb tuaj yeem txiav cov ntiv tes sib txuas mus rau qhov kawg ntawm cov laug cam kom zoo ib yam.

  1. Siv lub saw, txiav Oak board rau hauv 9 "qhov ntev
  2. Ruaj ntseg lub rooj tsav xwm seem mus rau lub txaj laser kom nws txav tsis tau yooj yim.
  3. Txiav tawm daim duab plaub. Tsis txhob rov pib dua lossis rov mus tsev lub laser tom qab qhov no, lub qhov tshiab hauv cov ntawv seem yog tam sim no peb cov ntsiab lus siv rau qhov seem ntawm kev txiav.
  4. Muab cov ntoo ntoo tso rau hauv qhov txiav tawm thiab thawb nws mus rau hauv lub ces kaum sab saud (piv txwv tias koj keeb kwm yog sab saud sab saud. Yog tias tsis yog … qhov tseem ceeb yog kom tau txiav qhov kawg ntawm cov ntoo qhib thiab muaj ntug sab saum toj ncaj ncaj, yog li nws yuav ua li cas los xij qhov twg koj keeb kwm yog). Ua koj qhov zoo tshaj plaws kom tsis txhob txav cov laug cam thaum ua qhov no.
  5. Txiav!

Kuv pom K40 txiav ntoo qhib zoo heev, tab sis koj yuav tsum tau kho koj cov chaw kom txog thaum koj tau txais txiaj ntsig zoo.

Kauj Ruam 4: Sib dhos Cov Ncej

Sib dhos Ncej
Sib dhos Ncej
Sib dhos Ncej
Sib dhos Ncej
Sib dhos Ncej
Sib dhos Ncej
Sib dhos Ncej
Sib dhos Ncej

Muab cov ntoo ntoo nrawm nrawm los txhim kho saum npoo, tom qab ntawd nteg tawm thiab siv qee cov kua nplaum rau cov ntiv tes sib txuas. Nws yog ib qho tseem ceeb uas lub thav duab xaus rau lub xwmfab (lossis sib phim lub ntsej muag yog tias lub laser txiav lub trapezoid lossis parallelogram), txoj hauv kev zoo kom paub tseeb tias koj tau txais nws yog yog siv lub ntsej muag ua daim ntawv qhia ua ntej cov kua nplaum qhuav.

Txheeb xyuas ob qhov kev tso kawm ntawm cov yam ntxwv, los ntawm sab nraum qab (ntsej muag):

  • Peb lub qhov rau cov nyees khawm yuav tsum nyob rau sab laug thiab mus rau tom qab ntawm lub moos
  • Ib lub qhov rau tus kws kho qhov muag yuav tsum nyob saum thiab mus rau tom qab ntawm lub moos
  • Cov thais rau lub hwj chim cable yuav tsum nyob hauv qab thiab mus rau tom qab ntawm lub moos

Yog tias koj muaj qhov tsis ncaj ncees nrog rau sab saum toj lossis hauv qab ntawm tus ncej uas yog OK tsuav lawv tsis humongous. Qhov piv txwv kuv muaj hauv daim duab tsis muaj teeb meem, kev txhuam nrawm yuav ua rau nws yaug ua ntej zas xim.

Koj tuaj yeem siv cov clamps yog tias koj muaj lawv, lossis daim kab xev kuj ua haujlwm tau zoo heev.

Kauj Ruam 5: pleev xim thiab npaj lub ntsej muag

Xim thiab Npaj Lub Ntsej Muag
Xim thiab Npaj Lub Ntsej Muag
Xim thiab Npaj Lub Ntsej Muag
Xim thiab Npaj Lub Ntsej Muag
Xim thiab Npaj Lub Ntsej Muag
Xim thiab Npaj Lub Ntsej Muag

Thawj: Xim.

Kuv nyiam siv tshuaj tsuag xim rau ntawm lub ntsej muag nrog cov xim tsis ncaj ncees. Txog tam sim no kuv tau siv cov xim sib txawv, nyiaj, thiab kub rau lub ntsej muag nrog cov txiaj ntsig zoo. Cov xim tsaus dua muab qhov sib piv zoo nrog cov tsiaj ntawv thaum lawv pom kev. Tsis txhob txhuam lub ntsej muag vim qhov tsis yooj yim ntawm cov tsiaj ntawv. Yog tias koj muaj cov ntawv tawg me ntsis, pleev xim rau tib lub sijhawm.

Qhov thib ob: Siv daim kab xev xev

Daim npog qhov ncauj yuav tso cai rau peb sau lub ntsej muag nrog epoxy yam tsis muaj nws txhua qhov kev khiav tawm ntawm lub qhov. Thov ib txheej rau sab nraum qab ntawm lub ntsej muag thiab nias qis dua ib puag ncig kom ntseeg tau tias nws tau ua raws zoo.

Qhov thib peb: Txiav daim kab xev rov qab 1/4 los ntawm ntug. Peb yuav tsum khaws qhov no kom meej kom peb tuaj yeem lo lub ntsej muag rau hauv tus thav duab yam tsis tas ua daim kab xev npog ua qhov ruaj khov.

Plaub: Yeem tau - yog tias koj muaj cov ntawv tawg lawm, tig lub ntsej muag dua thiab lo lawv rau ntawm daim kab xev ntsej muag hauv qhov chaw raug.

Kauj Ruam 6: Nruab LEDs

Nruab cov LEDs
Nruab cov LEDs
Nruab cov LEDs
Nruab cov LEDs
Nruab cov LEDs
Nruab cov LEDs

Ua ntej tshaj coj koj cov hlua LED thiab snip nws ntawm cov cim qhia rau hauv 11 daim uas yog 11 LEDs txhua. Yuav tsum muaj kab uas qhia qhov twg los txiav txoj cai nyob nruab nrab ntawm cov ntaub qhwv tooj liab. Txiab los yog xaim txiav zoo.

Tom ntej no, tshem cov thaub qab thiab lo txhua kab txaij mus rau "daim phiaj" daim phaj rov qab. Yog tias koj tau kos cov lus qhia ntawm ntu no ua ntej koj tuaj yeem siv lawv ua cov ntaub ntawv txhawm rau ua kom ncaj. Kev sib nrug ntawm no tsis yog qhov tseem ceeb heev, koj yuav pom tias nws hloov pauv yog tias koj xaus nrog cov hlua uas muaj qhov sib txuas sib txuas hauv nws twb tau lawm, Kuv xav tias koj yuav tau txais kev sib koom ua ke ib lub meter lossis yog li thaum koj yuav 5m yob.

Tseem ceeb: pom tus xub me me thiab Din/Dout. Peb xav kom tus xub ntawm kab saum toj kawg nkaus mus ntawm sab laug mus rau sab xis, tom qab ntawd rov qab rau kab tom ntej. Nws yuav tsum zig-zag los ntawm sab saum toj sab laug thiab xaus rau hauv qab txoj cai.

Kauj Ruam 7: Siv cov LEDs

Solder cov LEDs
Solder cov LEDs
Solder cov LEDs
Solder cov LEDs
Solder cov LEDs
Solder cov LEDs

Tej zaum qhov no yog kauj ruam uas nyuaj tshaj plaws. Kuv siv liab qab 22 gauge xaim kom txuag tau qhov kev siv zog ntawm kev tshem tawm ob qho kawg ntawm cov xov hlau luv no.

Txiav 10 txhua ntawm peb qhov ntev:

  • 3/4"
  • 1-1/8"
  • 1-1/2"

Txhua lub xaim yuav tsum tau khoov kom nws tuaj yeem ua qhov sib txuas los ntawm qhov kawg ntawm ib txoj hlua mus rau qhov pib tom ntej. Kuv ib txwm khaws ob peb yam khoom uas kuv tuaj yeem khoov hlau ib puag ncig - tus cwj mem ua haujlwm zoo rau qhov luv tshaj, tus tuav ntawm tus ntsia hlau rau nruab nrab, thiab tus kav hlau me me rau qhov ntev tshaj plaws. Koj tuaj yeem tshawb xyuas koj qhov khoov los ntawm kev teeb tsa lawv ntawm lub rooj tsavxwm thiab pom yog tias lawv mus txog cov ntaub qhwv thiab nyob hauv cov lus qhia.

Siv cov xov hlau no nruab nrab ntawm qhov kawg ntawm cov kab txaij los tsim ib txoj hauv kev txuas mus los ntawm sab saud sab laug mus rau hauv qab txoj cai - qhov no yuav tsum tau piav qhia tus kheej zoo nkauj hauv cov duab.

Tuav cov xov hlau no yog qhov nyuaj, thiab koj yuav tsum tsis txhob siv koj cov ntiv tes vim tias lawv kub kub heev. Kuv tau muaj kev vam meej nrog tus nab kuab, thiab tseem gizmo koj yuav pom hauv daim duab. Tej zaum nws yuav yooj yim dua los txhuam lub ncoo ua ntej ces tuav cov xaim nrog tweezers thiab.

Tom qab koj xaim cov xov hlau koj tuaj yeem kho qhov kev tshem tawm ntawm lawv los ntawm khoov lawv nrog tus ntsia hlau los yog zoo sib xws - lawv yuav tsum tsis txhob kov.

Kuv sim cov LEDs ua ntej kuv txav mus, tab sis cov kauj ruam no yog nyob ntawm yeem.

Kauj Ruam 8: Txuas Cov Hluav Taws Xob

Txuas cov xov hlau
Txuas cov xov hlau
Txuas cov xov hlau
Txuas cov xov hlau
Txuas cov xov hlau
Txuas cov xov hlau
Txuas cov xov hlau
Txuas cov xov hlau

Tom ntej no peb yuav txuas lub zog, hauv av, thiab cov ntaub ntawv rau qhov pib ntawm peb cov hlua LED thiab tsuas yog lub zog thiab hauv av mus rau qhov kawg. Cov xov hlau rau sab nkag yuav tsum raug txiav ntawm kwv yees li 13 ntiv tes ntev - Kuv xaiv liab rau 5v, daj rau cov ntaub ntawv, thiab xaim liab qab rau hauv av.

Tshem tawm ib ntu ntawm rwb thaiv tsev nyob rau sab saum toj/nruab nrab ntawm 5v xaim tam sim no (saib duab); peb yuav siv qhov no rau photoresistor tom qab.

Qhov kawg ntawm kab txaij (sab laug sab laug) los ntawm sab nraum qab tsuas yog siv ob lub xov hlau rau 5v thiab hauv av, cov no tuaj yeem ntev txog 5 ntiv tes.

Kuv pom zoo kom ruaj ntseg cov xov hlau raws li qhia nrog kua nplaum kub kom tiv thaiv kev txav chaw. Cov khoom sib txuas nrog cov hlua LED tshwj xeeb yog qhov tsis yooj yim.

Kauj Ruam 9: Sib sau daim phiaj

Sib sau daim phiaj
Sib sau daim phiaj
Sib sau daim phiaj
Sib sau daim phiaj
Sib sau daim phiaj
Sib sau daim phiaj
Sib sau daim phiaj
Sib sau daim phiaj

Muaj plaub hom sib txawv ntawm daim phiaj, lawv tau sau npe yog tias koj kos lawv ua ntej:

  • 2x Kab Rov Tav Kawg
  • 2x Ntsug kawg
  • 10 x Vertical
  • 10x Kab rov tav

Cov nplaum yog xaiv tau, tab sis pom zoo. Kuv nyiam siv cov kua nplaum vim tias peb tuaj yeem siv qhov hnyav rau tag nrho lub rooj sib txoos raws li nws qhuav thiab raug rau txhua qhov tsis tiaj uas ua rau yooj yim dua.

Ua ntej nruab ib feem ntsug. Daim "Xaus" mus rau sab xis thiab sab laug, tom qab ntawd sau rau hauv nruab nrab nrog qhov seem.

Tom qab ntawd nruab qhov kab rov tav. Daim "Xaus" mus rau saum thiab hauv qab, koj yuav pom tias cov no tsis muaj qhov txiav me me ntxiv rau lawv. Qhov seem ntawm kab rov tav muaj qhov cim ntxiv no kom lawv tshem cov xov txuas uas peb tau siv ua ntej. Teem lub thais nrog cov xov hlau thiab hloov ob sab thaum koj mus.

Qhov kawg, yog tias koj siv kua nplaum, ntxeev lub rooj sib txoos ua lub ntsej muag rau ntawm lub tiaj tiaj thiab muab qee yam hnyav rau nws thaum nws qhuav.

Kauj Ruam 10: Tuav Tus Ncej thiab Nruab Lub ntsej muag

Stain Frame thiab Nruab Lub ntsej muag
Stain Frame thiab Nruab Lub ntsej muag
Stain Frame thiab Nruab Lub ntsej muag
Stain Frame thiab Nruab Lub ntsej muag
Stain Frame thiab Nruab Lub ntsej muag
Stain Frame thiab Nruab Lub ntsej muag

Nov yog lub sijhawm zoo los ua kom cov ntoo qhib ntoo, nyob ntawm qhov ua tiav koj xav tau. Peb yuav tsum tau lo lub ntsej muag nyob hauv qhov chaw, thiab hauv qhov piv txwv no kuv npaj yuav siv cov roj ua tiav ntawm cov ntoo - uas yuav cuam tshuam nrog cov kua nplaum ntoo yog li kuv yuav thov nws tom qab. Xwb, siv hom kua nplaum sib txawv uas yuav tsis cuam tshuam.

Tom ntej no peb yuav tsum tau muab lub ntsej muag tso rau hauv tus ncej. Qhov tseem ceeb ntawm no yog teeb tsa qhov tob kom lub nraub qaum ntawm lub moos tas li ntws los lossis qis dua sab nraub qaum ntawm tus ncej thiab tsis lo tawm. Muaj ntau txoj hauv kev los ua qhov no:

Cov kab sib chaws me me yog txoj cai los teeb tsa qhov deb ntawm lub ntsej muag pem hauv ntej ntawm tus ncej mus rau lub ntsej muag.

Lwm txoj hauv kev kom ua tiav qhov no yog teeb tsa lub ntsej muag rau ntawm lub tiaj tiaj, tom qab ntawd teeb tsa txhua qhov ntawm sab hauv (hla ua ntej kom pom tias lawv mus li cas), thiab thaum kawg nias lub ntsej muag nqes rau lawv. Nco ntsoov tias cov xov hlau tsis tuaj ntawm txheej txawm li cas los xij.

Koj tseem tuaj yeem teeb tsa ntu thiab siv cov ntsuas ntsuas, txhua yam koj xav tau!

Kauj ruam 11: Ncuav Epoxy

Ncuav Epoxy
Ncuav Epoxy
Ncuav Epoxy
Ncuav Epoxy
Ncuav Epoxy
Ncuav Epoxy

Txhawb lub nraub qaum hla tag nrho saum npoo los txhawm rau npog daim kab xev kom nyob twj ywm. Teem nws rau ntawm qhov chaw.

Sib tov txog 5 ooj raws li cov lus qhia uas tuaj nrog koj cov epoxy. Feem ntau lawv yuav hais kom sib tov hauv ib lub thawv rau 6-10 feeb kom paub tseeb tias txhawm rau sab, tom qab ntawd hloov mus rau hauv lub thawv huv thiab sib xyaw rau lwm ob peb feeb lossis txog thaum nws nce mus txog qhov kub.

Ncuav cov tshuaj epoxy hla lub ntsej muag. Kuv sim sau cov tsiaj ntawv ua ntej kom txo qis huab cua ua ntej thiab npog qhov seem. Sim tiv thaiv nws los ntawm hmoov av, thiab siv cov phom cua sov lossis lub teeb kom tshem cov npuas.

Kauj Ruam 12: Nruab LED Grid thiab Diffuser

Nruab LED Grid thiab Diffuser
Nruab LED Grid thiab Diffuser
Nruab LED Grid thiab Diffuser
Nruab LED Grid thiab Diffuser
Nruab LED Grid thiab Diffuser
Nruab LED Grid thiab Diffuser
Nruab LED Grid thiab Diffuser
Nruab LED Grid thiab Diffuser

Tshem daim kab xev npog ntawm sab nraum qab ntawm lub ntsej muag tom qab epoxy tau kho tas lawm.

Qee yam kom nthuav lub teeb pom zoo ntawm LEDs thiab sab nraum qab ntawm lub ntsej muag:

  • Tsis muaj diffuser muab lub tswv yim ntawm tus kheej teeb tom qab tsab ntawv
  • Ib daim ntawv ntawm lub tshuab luam ntawv muab lub teeb zoo ib yam, tab sis muaj kev sib pauv ntawm kev txo qis ci ci tag nrho
  • Ib lossis ob nplooj ntawv ntawm cov ntaub so ntswg dawb yog kev pom zoo
  • Cov ntaub so ntswg dub txo qis qhov ci tab sis tseem ua rau cov tsiaj ntawv tsis pom kev tsis sawv ntsug ntau li

Txiav daim ntawv kom nws haum rau hauv tus ncej thiab qhaub cij nws nruab nrab ntawm daim phiaj LED thiab lub ntsej muag. Ua kom ntseeg tau tias lub ces kaum ntawm LED daim phiaj nrog cov ntaub ntawv xaim tau kab nrog tsab ntawv "I" nyob rau sab saud.

Thaum koj nyob ntawm nws, teeb lub phaj rov qab rau hauv tus thav duab thiab taug qab cov ntu txiav mus rau sab nraum qab ntawm daim phiaj nrog tus xaum, qhov no yuav pab kom tau qhov me me ua raws kom raug tom qab.

Txhim kho daim phiaj LED nyob hauv qhov chaw nrog kua nplaum kub.

Kauj Ruam 13: Ntxiv Guts

Ntxiv cov Guts
Ntxiv cov Guts
Ntxiv cov Guts
Ntxiv cov Guts
Ntxiv cov Guts
Ntxiv cov Guts

Kaw cov ntu uas mus ncig ib puag ncig ua ke raws li qhia, tom qab ntawd siv cov kab uas koj taug mus rau sab nraum qab ntawm kab sib chaws LED, lo rau lawv. Siv cov arduino thiab micro USB breakout board ua spacers kom ntseeg tau tias lawv yuav haum.

Kaw cov kab sib txawv me me nyob ib puag ncig ib puag ncig, ua kom ntseeg tau tias tsis txhob npog lub qhov rau cov hloov pauv ntawm sab laug thiab tus kws yees duab nyob saum toj.

Siv cov kua nplaum kub los tiv thaiv Arduino thiab micro USB cov laug cam tawg.

Tshem lub kaum sab xis ntawm koj tus qauv RTC yog tias tsim nyog. Ob qho desolder lossis tsuas yog tua lawv tawm - peb yuav tsis siv cov no.

Thaum kawg, siv cov kua nplaum kub kom ruaj ntseg RTC tus qauv nyob rau sab laug. Kuv pom zoo siv lub phaj rov qab los ua cov lus qhia kom tau txais nws hauv qhov chaw zoo tshaj plaws. Xev tus qauv rau hauv lub rooj tsavxwm, glob ntawm qee cov kua nplaum, tom qab ntawd muab tso rau hauv qhov chaw thiab thawb tus qauv nqes mus rau lub rooj tsavxwm hauv qab no.

Kauj Ruam 14: Khawm thiab Photoresistor

Khawm thiab Photoresistor
Khawm thiab Photoresistor
Khawm thiab Photoresistor
Khawm thiab Photoresistor
Khawm thiab Photoresistor
Khawm thiab Photoresistor

Ruaj qhov hloov pauv nyob rau sab laug sab laug nrog cov kua nplaum kub, ua tib zoo saib xyuas kev taw qhia. Plaub tus pin ntawm cov hloov pauv tau koom ua khub, Kuv pom zoo kom tig lawv kom ib leeg nyob ze rau hauv qab thiab lwm qhov nyob rau sab saum toj - qhov no yuav ua kom yooj yim dua tom qab.

Kaw lub photoresistor nyob rau sab saum toj - tsuas yog nruab nrab nws ntawm lub qhov nyob rau sab saum toj

Kauj Ruam 15: Cov Txuas 5v/VCC Kev Sib Txuas

Solder 5v/VCC Kev Sib Txuas
Solder 5v/VCC Kev Sib Txuas

Tag nrho cov no yuav tsum txuas nrog VCC tus pin ntawm Micro USB breakout board.

  1. LED sawb los ntawm sab xis
  2. LED sawb los ntawm sab laug
  3. 5V ntawm arduino
  4. VCC ntawm RTC module (tus pin thib peb los saum)
  5. Photoresistor

Kauj Ruam 16: Kev Sib Txuas Hauv Av

Cov Kev Sib Txuas Hauv av
Cov Kev Sib Txuas Hauv av
Cov Kev Sib Txuas Hauv av
Cov Kev Sib Txuas Hauv av

Cov no yuav tsum kawg txhua qhov txuas rau VCC tus pin ntawm lub micro USB breakout board.

  1. LED sawb los ntawm sab xis
  2. LED sawb los ntawm sab laug
  3. Arduino GND Cov
  4. RTC module GND (tus pin hauv qab)
  5. Hloov

    Saib daim duab kom ntxaws. Tactile keyboards muaj plaub tus pin tab sis tsuas yog ib tus neeg sib cuag, lawv tau txuas nrog sab hauv ua khub. Yog tias koj txuas rau ob tus pin rau hauv av xaim, kos nrog lub ntsuas ohm kom paub tseeb tias ob tus pin nyob ntawm tib sab ntawm qhov hloov pauv, txwv tsis pub koj yuav ua rau nws luv

Kauj Ruam 17: Muab cov Kev Sib Txuas Ntxiv

Solder Cov Txuas Txuas Ntxiv
Solder Cov Txuas Txuas Ntxiv
Solder Cov Kev Sib Txuas Ntxiv
Solder Cov Kev Sib Txuas Ntxiv
Solder Cov Txuas Txuas Ntxiv
Solder Cov Txuas Txuas Ntxiv
  1. 10 k resistor. Arduino tus pin A0 rau hauv av
  2. Photoresistor. Arduino tus pin A0
  3. RTC. Thib ob rau saum toj ntawm tus qauv rau arduino tus pin A4
  4. RTC. Sab saum toj tus pin ntawm tus qauv rau arduino tus pin A5
  5. Hloov 1 (Hom/Teeb). Arduino D2 yog
  6. Hloov 2 (Saum). Arduino D3 yog
  7. Hloov 3 (Down/Cancel). Arduino D4 kev
  8. Cov ntaub ntawv LED. Arduino D6 kev

Thov siv cov kua nplaum kub ntau kom ruaj ntseg cov xov hlau, tshwj xeeb tshaj yog txhawm rau tiv thaiv cov hlau lead los ntawm lub photoresistor thiab txhawm rau txhim kho cov hloov pauv.

Thaum kawg, muab lub roj teeb CR2032 tso rau hauv RTC module.

Kauj ruam 18: Upload Firmware

Koj yuav xav tau lub PC nrog Arduino IDE txhawm rau rub cov firmware mus rau Arduino. Nov yog cov teeb tsa uas kuv siv:

  • Pawg: "Arduino Nano"
  • Tus Txheej Txheem: ATmega328P (Old Bootloader)

    Hauv IDE ua ntej dhau los Kuv tsis tas yuav xaiv qhov qub bootloader xaiv, tab sis kuv ntseeg tias muaj kev hloov pauv los cuam tshuam qhov hloov tshiab rau cov cuab yeej raug cai uas tsis muaj nyob hauv cov pawg clone uas muaj ntawm tes

  • Chaw nres nkoj: koj yuav tsum xam tawm qhov twg tom qab ntsaws rau hauv lub rooj tsavxwm

Rau lub tsev qiv ntawv xav tau, lawv txhua tus tuaj yeem pom los ntawm Cov Cuab Yeej -> Tswj cov tsev qiv ntawv ntawv qhia zaub mov hauv IDE:

  • Hlau (suav nrog lub neej ntawd kuv ntseeg)
  • EEPROM (tseem suav nrog los ntawm lub neej ntawd)
  • RTClib (Adafruit version 1.2.0)
  • OneButton (Matthias Hertel version 1.2.0)
  • SimpleTimer (Alexander Kiryanenko version 1.0.0)
  • FastLED (Daniel Garcia version 3.1.6)

Tom qab teeb tsa cov kev xaiv thiab teeb tsa lub tsev qiv ntawv nws yuav tsum yog teeb meem ntawm kev suav sau thiab xa mus rau lub cuab yeej nrog khawm "upload". Txhawm rau txheeb xyuas tias lub cuab yeej ua haujlwm koj tuaj yeem qhib qhov saib hauv qhov chaw uas yuav tsum muaj cov lus luv luv ntawm khau raj.

Kauj Ruam 19: Teem Sijhawm

Teem Sijhawm
Teem Sijhawm
Teem Sijhawm
Teem Sijhawm
Teem Sijhawm
Teem Sijhawm
Teem Sijhawm
Teem Sijhawm

Koj yuav pom tias lub moos tsis pom dab tsi thaum xub thawj - qhov no yuav tsum tau ua. Thaum khau raj nws saib rau xim khaws tseg thiab ua kom pom tseeb hauv EEPROM, tab sis vim tsis muaj dab tsi hauv kev nco nws tsis paub yuav ua dab tsi. Laub khawm 2 lossis 3 (nce/nqis) kom xaiv xim thiab nws yuav hloov kho cov zaub.

Txhawm rau teev sijhawm:

  1. Tuav "Hom/Teeb" kom nkag mus rau hom teeb tsa lub moos. Cov teev yuav tsum tshwm.
  2. Siv "Up" thiab "Down/Cancel" los xaiv teev (0-23)
  3. Nias "Hom/Teeb" hloov los ntawm teev rau feeb
  4. Siv "Up" thiab "Down/Cancel" los xaiv qhov feeb (0-59)
  5. Tuav "Hom/Teeb" kom txuag lub sijhawm thiab rov qab los rau lub moos saib

Thaum nyob hauv "Teeb" hom, tuav "Down/Cancel" rov qab mus rau lub moos hom yam tsis txuag lub sijhawm tshiab.

Tsis tas li hauv "Teeb" hom, "Hom/Teeb" yuav hloov ntawm cov xuab moos thiab feeb hauv qhov xwm txheej koj xav tau rov qab yam tsis thim rov qab.

Kauj Ruam 20: Ntxiv Daim Npog Rov Qab

Ntxiv Lub Npog Rov Qab
Ntxiv Lub Npog Rov Qab

Ntxiv qee cov kua nplaum rau sab saum toj ntawm spacers peb tau teeb tsa ua ntej thiab qhov ntawd yog qhov kawg ntawm kev tsim. Kuv pom zoo tso qhov no mus rau qhov kawg kom koj muaj txoj hauv kev los txhim kho ib qho teeb meem teeb meem ua ntej nws tau kaw tag nrho.

Kauj ruam 21: Ua tiav

Ua tiav!
Ua tiav!

Lub micro USB txuas yog nyob rau qhov yooj yim - hauv kuv qhov kev paub nws yooj yim dua los nrhiav qhov zoo saib braided micro cable dua li mini -USB uas haum rau Arduino.

Kev ua haujlwm yog yooj yim:

  • Hom/Teeb xaiv lub sijhawm hloov pauv kev ua yeeb yaj kiab
  • Nce mus los ntawm cov xim
  • Hloov mus los ntawm cov xim hauv lwm qhov kev taw qhia

Qhov ci ntsa iab yuav tsum hloov kho nrog lub teeb hauv chav, dim thaum nws tsaus ntuj.

Pom zoo: