Cov txheej txheem:

Nerd Saib: 10 Kauj Ruam (nrog Duab)
Nerd Saib: 10 Kauj Ruam (nrog Duab)

Video: Nerd Saib: 10 Kauj Ruam (nrog Duab)

Video: Nerd Saib: 10 Kauj Ruam (nrog Duab)
Video: Колыма - родина нашего страха / Kolyma - Birthplace of Our Fear 2024, Hlis ntuj nqeg
Anonim
Nerd Saib
Nerd Saib

Nerd Saib qhia lub sijhawm hauv binary thaum lub pob raug thawb thiab tau tsim los ntawm Sam DeRose thaum lub caij ua haujlwm rau lub caij ntuj sov ntawm peb HQ. Lub moos qhia pom teev thiab feeb los ntawm kev nyem ob lub LED nyob rau hauv ntu los sawv cev rau ob 4-ntsis binary lej (hauv hom loj-endian). Nov yog cov lus piav qhia zoo ntawm yuav ua li cas nyeem cov lej binary.

Phau ntawv qhia no (sau los ntawm Sam DeRose) qhia koj yuav tsim Nerd Watch los ntawm kos nrog ob peb yam khoom siv hluav taws xob thiab Bantam Cov Cuab Yeej Duab PCB PCB Milling Tshuab. Nws xav tias koj muaj kev paub dhau los ua haujlwm nrog cov khoom siv hluav taws xob saum npoo av thiab koj tsis yog tus neeg txawv rau lub tshuab ntsuas thiab ntsuas qhov muag. Nws kuj tseem pab tau khaws cov ntaub ntawv me ntsis ntawm Arduino ua haujlwm li cas.

Kauj Ruam 1: Ob Peb Cov Lus Cim Ua Ntej Peb Pib

Ob peb Lus Cim Ua Ntej Peb Pib
Ob peb Lus Cim Ua Ntej Peb Pib

Yuav Qhia Li Cas Lub Sijhawm: Thawj tus lej sawv cev rau teev, thiab tus lej thib ob sawv cev rau tus lej feeb uas txhais tes yuav taw tes rau yog tias nws yog lub moos sib piv. Piv txwv li, yog tias lub teeb nyem 0010 - 0110, qhov no sib xws rau 2 - 6, uas txhais tau tias teev yog 2 thiab feeb tes taw tes rau 6, ua rau 2:30. (Txheeb tawm cov duab saum toj no rau cov lus piav qhia!) Tsis muaj qhov qhia txog thaum sawv ntxov lossis yav tsaus ntuj, tab sis cia siab tias nws yuav pom tseeb tias nws yog 2:30 sawv ntxov lossis tsis yog.

Lub moos yog ua raws txoj haujlwm Tony DeRose ua rau Maker Faire. Nws siv tib txoj cai thiab cov txheej txheem, tab sis tam sim no pawg thawj coj tau tso tawm kom pom zoo li lub moos, thiab lub ntsej muag zoo nkauj dua (SMD) cov khoom siv tau ua kom nws qis dua.

Nco tseg: Sam ua ntau qhov rov ua dua ntawm lub moos no - koj yuav pom cov lej hauv cov duab. Vim li no, cov duab nce qib hauv kab ntawv no hla ib ncig ntawm cov qauv sib txawv zoo nkauj heev. Cov txheej txheem dav dav rau txhua qhov version zoo ib yam, txawm li cas los xij, yog li tsis txhob txhawj yog tias koj lub moos tsis zoo ib yam li daim duab.

Lwm Cov Lus Cim: Qhov tseem ceeb ntawm qhov yuav ua li cas los npog yuav tsim li cas 2.5, qhov hloov pauv tam sim no uas siv cov nti ATtiny li niaj zaus. Txawm li cas los xij, Kauj Ruam 9 qhia txog kev hloov pauv, version 3.1, uas siv qhov saum npoo-Mount ATtiny thiab qhov chaw nres nkoj mini-USB los ua haujlwm rau nws. Cov ntawv no nyuaj dua los tsim thiab ua haujlwm, yog li kuv xav kom pib nrog version 2.5 thiab tsuas yog sim version 3.1 yog tias koj xav tias muaj lub siab xav tiag tiag (lossis muaj kev paub dhau los ntawm cov khoom siv SMD).

Kauj Ruam 2: Nws Ua Haujlwm Li Cas

Nws Ua Haujlwm Li Cas
Nws Ua Haujlwm Li Cas

ATtiny nti (dub 8-pin IC nti) yog lub plawv ntawm saib. Cov nti no yog qhov pib me me ntawm tib lub nti uas nyob hauv Arduino, thiab yog li nws tuaj yeem ua haujlwm kom ua haujlwm sib txawv. Hauv qhov no, lub nti muaj qhov haujlwm ntawm nws uas tos rau lub pob nyem, thiab thaum nws hnov ib qho, nws ua rau nws ob peb tus pin kom tam sim no tuaj yeem ntws los ntawm +3 volts los ntawm LEDs, teeb lawv. ATtiny muaj lub moos sab hauv, yog li cov LEDs tau teeb tsa kom nyem kom pom lub sijhawm.

Kauj Ruam 3: Cov Cuab Yeej, Cov Khoom, thiab Cov Ntaub Ntawv

Cov Cuab Yeej, Cov Khoom, thiab Cov Ntaub Ntawv
Cov Cuab Yeej, Cov Khoom, thiab Cov Ntaub Ntawv
Cov Cuab Yeej, Cov Khoom, thiab Cov Ntaub Ntawv
Cov Cuab Yeej, Cov Khoom, thiab Cov Ntaub Ntawv
Cov Cuab Yeej, Cov Khoom, thiab Cov Ntaub Ntawv
Cov Cuab Yeej, Cov Khoom, thiab Cov Ntaub Ntawv

Cov cuab yeej

  • Bantam Cuab Yeej Desktop PCB Milling Tshuab
  • Khoos phis tawj nrog Bantam Cuab Yeej software tau teeb tsa
  • Kev sib dhos thiab kev kho vajtse nrog rau lub tshuab milling
  • Soldering hlau
  • Tiaj kawg mills, 1/64 ", 1/32", thiab 1/16 "(xaiv tau tab sis pom zoo, kom tshem tawm tooj liab ntau dhau)

Cov ntaub ntawv

  • PCB dawb paug, FR-1, ob tog
  • Daim kab xev ob tog
  • Solder
  • Muab tshuaj txhuam
  • Xaws koob
  • Xov, dub
  • Velcro pluaj, 3/4 ", dub rau lwm daim ntawv ntawm pluaj saib

ELECTRONIC COMPONENTS

  • IC qhov (socket), 8-tus pin
  • Atmel ATtiny nti Peb siv ATtiny85.
  • LEDs, SMD (2) SMD = nto nto ntaus ntawv
  • Resistors, ~ 50 ohms, SMD (2) Tus nqi tseeb tsis tseem ceeb.
  • Momentary khawm, square, SMD Peb siv cov no, tab sis lwm tus yuav haum ib yam.
  • Npib cell roj teeb, CR2032, 3-volt
  • Npib xov tooj ntawm tes tuav lub roj teeb

Cov ntaub ntawv

  • EAGLE pawg thawj coj saib ntawv NerdWatchV2.5.brd rau lub moos
  • Arduino kos duab NerdWatch.ino mus rau ntawm ATTiny. Cov ntaub ntawv.zip suav nrog ntawm no muaj cov duab kos, nrog rau cov tsev qiv ntawv koj yuav tsum tau teeb tsa kom tau cov duab kos ua haujlwm tau zoo.
  • EAGLE cov ntaub ntawv rau ATtiny Programmer TinyProgShield.brd (xaiv tau)

  • NCO TSEG: Nco ntsoov teeb tsa lub tsev qiv ntawv hauv Arduino ua ntej koj sim sau cov duab kos. Nov yog li cas:

    • Rub tawm thiab teeb tsa Arduino yog tias koj tsis tau ua dua. Koj tuaj yeem tau txais nws los ntawm Arduino qhov chaw.
    • Rub tawm NerdWatch.zip cov ntaub ntawv thiab nco ntsoov qhov twg koj khaws nws.
    • Tua tawm Arduino. Mus rau Sketch> Ntshuam Tsev Qiv Ntawv> Ntxiv Tsev Qiv Ntawv thiab mus rau qhov chaw uas koj tau cawm NerdWatch.zip.
    • Xaiv tag nrho.zip cov ntaub ntawv, thiab cia Arduino teeb tsa lub tsev qiv ntawv cia.
    • Rov pib dua Arduino kom qhib lub tsev qiv ntawv. Nco tseg: Yog tias koj muaj teeb meem, Rooj Sib Tham Arduino yog qhov chaw zoo kawg los nug cov lus nug, rau cov neeg siv qib siab thiab cov programmer tshiab zoo ib yam.
    • Siv Arduino qhib NerdWatch.ino thiab sau koj cov cai.

Rau Version 3.1 koj yuav xav tau cov ntaub ntawv no:

  • EAGLE cov ntaub ntawv NerdWatchV3.1.brd
  • NerdWatch.zip cov ntaub ntawv zoo ib yam rau v2.5
  • EAGLE cov ntaub ntawv SMDtinyProgrammer.brd rau SMD ATtiny programmer board

Kauj Ruam 4: Teeb tsa Bantam Cuab Yeej Milling Tshuab Software

Teeb tsa Bantam Cuab Yeej Milling Tshuab Software
Teeb tsa Bantam Cuab Yeej Milling Tshuab Software
Teeb tsa Bantam Cuab Yeej Milling Tshuab Software
Teeb tsa Bantam Cuab Yeej Milling Tshuab Software
Teeb tsa Bantam Cuab Yeej Milling Tshuab Software
Teeb tsa Bantam Cuab Yeej Milling Tshuab Software

Tua tawm Bantam Cov Cuab Yeej software. Tom qab ntawd txuas koj lub tshuab milling rau koj lub khoos phis tawj thiab ua haujlwm rau nws.

Ntshuam EAGLE cov ntaub ntawv rau hauv Bantam Tools software thiab ua cov hauv qab no los teeb tsa kev txiav:

  • Siv lub Setup Fixturing khawm kom taug kev koj los ntawm kev teeb tsa thiab qhov chaw ntawm cov khoom sib dhos.
  • Thaum lub bracket raug teeb tsa, teeb tsa koj cov khoom siv rau ob tog FR1 pawg thawj coj siv teeb tsa Cov Khoom Siv khawm.
  • Hauv qhov kev sib tham no, nco ntsoov ua kom haum cov khoom siv keeb kwm mus rau lub bracket.
  • Siv 1/32 "thiab 1/64" tiaj qhov kawg rau pem hauv ntej ntawm lub rooj tsavxwm, thiab 1/32 "rau sab nraum qab ntawm lub rooj tsavxwm..)

Qhov teeb tsa tsis raug rau koj li FR-1 pawg thawj coj ua haujlwm zoo rau txoj haujlwm no. Yog tias koj xav sim nrog ntau txoj hauv kev tshem tawm, koj tuaj yeem tig rau BitBreaker Hom (Nyiam> nyem rau ntawm lub thawv BitBreaker) thiab sim nrog qhov tob thiab tshem tawm teeb tsa (qhov no yog rau tus neeg siv uas paub lawv txoj kev ncig lub zeb).

Yog tias koj xav tau kev kho dua tshiab ntawm kev siv Bantam Tools Desktop PCB Milling Machine thiab teeb tsa software, txheeb xyuas qhov no Pib Qhia.

Kauj Ruam 5: Txiav Tawm Saib

Txiav Tawm Saib
Txiav Tawm Saib
Txiav Tawm Saib
Txiav Tawm Saib
Txiav Tawm Saib
Txiav Tawm Saib
Txiav Tawm Saib
Txiav Tawm Saib

Thauj khoom koj cov PCB dawb:

  • Siv lub pob Loading los nqa lub txaj ua haujlwm rau pem hauv ntej.
  • Npog ib sab ntawm ob sab ob sab FR-1 nrog daim kab xev ob tog, thiab sib dhos lub rooj tsavxwm nrog rau kaum sab laug ntawm kab sib dhos.
  • Nyem rau ntawm lub rooj tsavxwm thiab tom qab ntawd khawm Lub Tsev.

Txiav koj lub rooj tsavxwm:

Ua ntej txiav cov kab thiab qhov rau saum. Ua qhov no los ntawm kev nyem rau ntawm Traces thiab Holesin cov phiaj xwm qhov rai

  • Thaum qhov ntawd ua tiav, tig lub rooj tsavxwm hauv Bantam Cov Cuab Yeej software los ntawm txhaj rau hauv qab khawm.
  • Kuj tseem tig lub rooj tsav xwm tiag tiag hauv lub tshuab kom sab tsis pom ntsej muag. Nco ntsoov tias sab hauv qab ntawm lub rooj tsavxwm yaug nrog lub kaum sab xis ntawm txoj kab sib dhos.
  • Nyem rau kab ntawv thiab Kab Lus Qhia hauv lub qhov rai daim ntawv phiaj xwm.

Lub zeb yuav txiav tawm cov seem uas seem thiab qhov, thiab koj yuav muaj lub rooj tsavxwm tiav!

Kauj Ruam 6: Cov laug ntawm Cov Khoom Siv Hluav Taws Xob

Solder ntawm Electronics
Solder ntawm Electronics
Solder ntawm Electronics
Solder ntawm Electronics
Solder ntawm Electronics
Solder ntawm Electronics
Solder ntawm Electronics
Solder ntawm Electronics

Tam sim no los txog qhov tsis txaus ntseeg: muab cov khoom tso rau ntawm lub moos. Yog tias koj tshiab rau saum npoo av, lossis ua kom zoo ib yam, nyeem cov lus piav qhia hauv qab no. Koj kuj tseem tuaj yeem pom qee cov lus qhia hauv Txoj Haujlwm Light-Up PCB Necklace.

Txog cov txheej txheem no, peb tau siv lub qhov cub ci ci kom rov ci dua cov khoom me me SMD xws li cov LEDs thiab cov tiv thaiv. Tom qab ntawd peb siv cov hlau txuas ib txwm txuas cov khoom loj xws li IC qhov (socket), khawm, thiab lub roj teeb.

Ua raws li cov theem no txhawm rau ntxiv cov khoom siv:

SMD Cheebtsam

  • Dab solder muab tshuaj txhuam rau 8 daim ntaub, uas yuav ua rau 2 LEDs thiab 2 tus tiv thaiv. Txheeb tawm cov duab saum toj no kom tau txais qhov chaw tso kawm.
  • Txheeb xyuas tias koj paub qhov sib txawv ntawm cov LEDs. Txhawm rau ua qhov no, koj tuaj yeem siv lub ntsuas ntsuas hauv nws qhov "txuas ntxiv" teeb tsa, lossis koj tuaj yeem saib ntawm LED thiab pom cov cim zuam lossis kab ntsuab (s), uas yog lub hauv paus sab.
  • Siv tus tweezers, tso cov LEDs thiab cov tshuaj tiv thaiv ntawm cov ntaub qhwv nrog cov tshuaj txhuam. Nco ntsoov kom tau txais qhov polarity raug! Rau ob qho LEDs, hauv av ze rau hauv qab ntawm lub moos.
  • Siv lub lauj kaub kub, toaster qhov cub, lossis tsuas yog siv cov hlau txuas kom yaj cov tshuaj txhuam thiab muab cov khoom sib txuas.

IC qhov (socket)

  • Khoov cov coj ntawm lub qhov ntsaws IC ntsawb kom nws zoo li SMD tivthaiv tsis txhob hla dhau qhov.
  • Cov ntaub qhwv ntawm lub moos yuav ntev txaus kom haum rau txoj kab nkhaus tawm ntawm lub qhov (socket). Tso lub qhov (socket) thiab xyuas kom koj nkag siab tias nws nce mus rau lub moos li cas.
  • Tshem tawm lub qhov (socket), thiab muab cov tshuaj txhuam txhuam txhuam kom tsawg kawg ib lub ncoo ntawm txhua sab ntawm lub qhov (socket). Kuv ib txwm ua ib lub ces kaum thiab tom qab ntawd lub kaum sab xis.
  • Muab lub qhov (socket) rov qab los rau ntawm cov ntaub qhwv nrog cov cim ua kom pom lub ntsej muag. Qhov no tsis xav tau, tab sis nws yuav pab koj nco txog txoj kev ATtiny nkag mus.
  • Nias rau ntawm lub qhov (socket) kom nws txhua txoj hauv kev nqes mus rau ntawm lub rooj tsavxwm, thiab siv cov hlau txuas txhawm rau txhawm rau cov hlau lead nrog cov laug muab tshuaj txhuam rau ntawm lub rooj tsavxwm.
  • Ua kom tiav cov khoom seem uas seem ntawm cov khoom siv rau hauv cov ntaub qhwv nrog cov hlau txuas thiab cov xov ntawm cov laug ib txwm.

Khawm

  • Nyob ntawm seb lub pob twg koj tau txais, koj yuav tsum tau khoov txoj hauv kev kom lawv hu rau cov ntaub qhwv kom zoo dua.
  • Muab lub pob tso rau ntawm lub rooj tsavxwm thiab xyuas kom tseeb tias 2 txoj hauv kev uas ib txwm qhib yog nyob hauv qab sab laug thiab sab saud sab saud. (Thaum lub pob nyem, ob sab laug tau txuas nrog.)
  • Siv tib txheej txheej txheej txheem piav qhia hauv ntu IC ntu saum toj no txhawm rau txhawm rau khawm.

Vias

  • Rau qhov vias, koj tuaj yeem siv cov clipped coj los ntawm LED lossis tus tiv thaiv, lossis koj tuaj yeem hle qhov ntev ntawm 22-gauge khoom-tub ntxhais sib txuas hlau.
  • Khaws cov xaim hla lub qhov thiab siv cov hlau txuas los txhuam cov hlau rau cov ntaub qhwv ntawm ob sab ntawm lub rooj tsavxwm.
  • Txiav qhov xaim ntau tshaj tawm nrog cov xov hlau.

Roj Teeb Nrog

  • Siv daim kab xev los tuav lub ntsej muag-teeb CR2032 lub roj teeb nyob hauv qhov chaw thaum koj muab nws tso rau. (Nws tau kub heev yog li koj tsis xav tuav nws nrog koj cov ntiv tes!)
  • Txuas tus tuav rau sab nraum qab ntawm lub rooj tsavxwm los ntawm kev siv tus taw ntawm ob sab mus rau cov pawm plaub fab.

Kauj Ruam 7: Ntxiv Cov Pluaj

Ntxiv Cov Pluaj
Ntxiv Cov Pluaj
Ntxiv Cov Pluaj
Ntxiv Cov Pluaj
Ntxiv Cov Pluaj
Ntxiv Cov Pluaj
Ntxiv Cov Pluaj
Ntxiv Cov Pluaj

Qhov no yog tiag tiag rau koj. Txoj hauv kev yooj yim tshaj plaws los ntxiv cov pluaj yog los ntawm xaws ntawm qee cov khoom siv velcro pheej yig uas koj tuaj yeem pom ntawm ib qho khoom siv tes ua/ntaub zoo li Michael's lossis Jo-Ann Fabrics. Thaum kawg peb xav ua lub pluaj tawm ntawm cov khoom zoo dua li tawv, thiab ntxiv ib txoj hlua khi kom nrawm, tab sis qhov no ua haujlwm nyob rau lub sijhawm no.

Thov qhia rau peb paub yog tias koj tuaj nrog txoj hauv kev txias los txuas lub moos rau koj lub dab teg!

Kauj Ruam 8: Program ATtiny

Program qhov ATtiny
Program qhov ATtiny

Tam sim no lub moos tau ua tiav lub cev, tab sis ATtiny nti tseem tsis tau paub yuav tswj hwm LEDs li cas. Tias yog vim li cas peb yuav tsum program nws.

Muaj ntau txoj hauv kev xaiv thaum nws los txog rau kev ua haujlwm ATtiny. Koj tuaj yeem ua cov kab hluav taws xob nrawm nrawm, siv qhov tshwj xeeb ATtiny lub phiaj xwm phiaj xwm, lossis koj tuaj yeem ua tus tiv thaiv Arduino zoo, zoo li peb tau ua, yog li koj tuaj yeem yooj yim program cov chips txij tam sim no mus.

Yog tias koj yog tus paub txog Arduino shield txiag thiab koj xav xaiv txoj hauv kev no, cov ntawv hauv pawg thawj coj rau tus programmer (TinyProgShield.brd) muaj nyob ntawm cov kauj ruam no. Cias txiav nws tawm, muab cov khoom sib txuas, thiab sib txuas nrog koj li Arduino.

Cov ntaub ntawv.ino ntawm no thiab hauv qib qhia yog cov ntaub ntawv uas koj yuav tau ua haujlwm koj li ATtiny85. Hloov lub sijhawm hauv cov cai rau lub sijhawm tam sim no. Nco ntsoov xa cov ntawv mus rau koj ATtiny li ntawm ib feeb lossis ob zaug kom lub moos tau ua tiav nrog lub sijhawm raug.

Kauj Ruam 9: Lwm Yam Kev Hloov

Lwm Yam Kev Hloov
Lwm Yam Kev Hloov
Lwm Yam Kev Hloov
Lwm Yam Kev Hloov
Lwm Yam Kev Hloov
Lwm Yam Kev Hloov
Lwm Yam Kev Hloov
Lwm Yam Kev Hloov

Raws li tau hais hauv thawj kauj ruam, Sam tau ua tiav SMD version ntawm lub moos, ua tiav nrog saum npoo-ATTiny. Txij li koj tsis tuaj yeem rub tawm ATtiny los ua haujlwm rau nws, nws yuav tsum ntxiv lub mini-USB chaw nres nkoj uas txuas rau tus pin uas tsim nyog kom ATtiny tuaj yeem ua haujlwm sab nraud.

Tom qab ntawd nws tau ua daim ntaub thaiv rau lwm qhov kawg ntawm USB kab xev kom txhua yam koj yuav tsum tau ua yog nuv lub moos rau daim ntaub thaiv thiab tom qab ntawd teeb tsa ATtiny zoo li nws nyob ntawm daim ntaub thaiv.

Kauj ruam 10: Siv nws

Siv nws!
Siv nws!
Siv nws!
Siv nws!

Muab koj Nerd Saib rau thiab sim nws los ntawm kev thawb lub pob.

Koj puas tuaj yeem nyeem sijhawm? Yog tias koj tuaj yeem qhia lub sijhawm los ntawm kev saib ua ntu zus ib zaug, tom qab ntawv nrog koj zoo siab, koj yog tus nerd! Yog tias nws coj koj ob lossis peb zaug kom tau sijhawm, zoo, koj tseem yog neeg vwm vim tias koj hnav lub ntsej muag nerdy super.

Muaj lus nug lossis lus pom? Tua peb tus email ntawm [email protected].

Pom zoo: