Cov txheej txheem:

Romantic Led Heart SMD: 5 Kauj Ruam (nrog Duab)
Romantic Led Heart SMD: 5 Kauj Ruam (nrog Duab)

Video: Romantic Led Heart SMD: 5 Kauj Ruam (nrog Duab)

Video: Romantic Led Heart SMD: 5 Kauj Ruam (nrog Duab)
Video: Night 2024, Hlis ntuj nqeg
Anonim
Romantic Coj Lub Plawv SMD
Romantic Coj Lub Plawv SMD

Nyob zoo cov!

Nov yog kuv thawj qhov kev qhia thiab kuv xav hais txog qee yam tseem ceeb firt:

  1. Kuv tau ua qhov haujlwm no nrog lub tswv yim ntawm kev siv cov cuab yeej ntau tshaj kom txhua tus tuaj yeem ua nws! Txawm tias kuv tsis muaj ntau yam cuab yeej, tsuas yog qhov tsim nyog nruj
  2. Kuv tsis yog kws tshaj lij hluav taws xob lossis tus lej cim, txhua yam uas kuv paub kuv tau kawm ntawm cov ntawv qhia lossis lwm qhov chaw! Qhov me kuv paub od coding yog los ntawm chav kawm C uas kuv tau kawm hauv tsev kawm qib siab thaum kuv kawm qib physics.
  3. Kawg tab sis tsis tsawg, lus Askiv tsis yog kuv thawj hom lus yog li kuv thov txim yog tias kuv ua yuam kev, yog tias qhia rau kuv paub!

Kuv pib xav txog lub plawv LED tom qab pom cov lus qhia los ntawm tus siv LexanPanda Animated LED Heart, kuv txoj haujlwm tau txais kev tshoov siab los ntawm nws, qhov sib txawv tseem ceeb hauv kuv yog PCB txheej txheem: Kuv xav tau daim ntawv me me uas zoo nkaus li txias txawm tias tsis muaj qhov thaiv ! Kuv cov ntawv siv los ntawm ob lub roj teeb CR2032 txhawm rau ua kom nws nqa tau ntau dua.

Txhua qhov qhab nia rau Arduino program mus rau LexanPanda sib nrug rau qee qhov kev ua yeeb yaj kiab ntawm kuv tus kheej!

Kuv thov txim uas tsis muaj cov duab tab sis txij thaum pib kuv tsis xav tias kuv yuav ua tus qhia, tab sis hloov kuv lub siab thaum feeb kawg!

Tam sim no raws li koj tuaj yeem pom, yog tias kuv tau ua tiav, txhua tus tuaj yeem ua tau! Kuv vam tias koj nyiam nws, cia dhia mus rau hauv nws.

Kauj Ruam 1: Qhov Chaw

Nov yog cov npe ntu uas kuv tau siv, muaj ntau SMDs tab sis, yog tias kuv tsis tau ntseeg koj ua ntej, Kuv tsis yog tus kws tshaj lij los ntawm ib qho twg. Txhua tus tuaj yeem siv tau SMDs nrog kev ua siab ntev me ntsis, tweezers thiab me me txaus cov hlau txuas.

Daim ntawv teev npe:

  1. 14x 100ohm Resistors (0805 pob)
  2. 14x Liab LEDs (pob PLCC2), koj tuaj yeem siv txhua xim uas koj xav tau, nco ntsoov xaiv qhov tiv thaiv kom raug rau xim xim. Nov yog lub xaib uas tuaj yeem pab koj nrog qhov ntawd (Cov khoom siv: 5V, rau kev coj qhov hluav taws xob poob thiab tam sim no pom lub xaib no, tus naj npawb ntawm LEDs: 1)
  3. 10k Resistor (0805) qhov no yog rau rub tawm
  4. LM7805 tus tswj hluav taws xob (TO252 pob)
  5. 1x 0.33uF SMD capacitor (Kuv tau siv Tantalum lub kaus mom, tab sis qhov ntawd yog nyob ntawm yeem, Kuv tsuas muaj cov nyob hauv kuv lub tub rau khoom)
  6. 1x 0.1uF SM capacitor (Tib Tantalum)
  7. 2x 74HC595 (DIP pob)
  8. 1x Attiny85 (DIP pob)
  9. 1x Tactile hloov (los ntawm qhov)
  10. 2x CR2032 tus tuav lub roj teeb (Rau txheej txheej PCB kuv tau xaiv muab ob lub qhov sib nrug ntawm ib leeg nrog qhov nrug uas kuv tau ntsuas ntawm cov tuav uas kuv muaj ntawm tes. Yog tias koj muaj tus tuav loj sib txawv koj tuaj yeem hloov PCB yooj yim. raws li kuv yuav qhia koj tom qab
  11. 2x CR2032 roj teeb
  12. 1x Swb hloov (xaiv yam koj xav tau ntawm qhov no, Kuv xaiv qhov me me los ntawm qhov ib, tab sis SMD ib qho yuav tsum zoo dua)
  13. 1x Ob tog ob tog tooj liab npog npua teb

Txhua yam no raug kuv 15 €, uas yog ntau tab sis kuv yuav lawv ntawm lub khw hluav taws xob hauv ib cheeb tsam. Rau koj kuv yuav tso qee qhov Digikey txuas, tab sis koj tuaj yeem yuav los ntawm leej twg koj xav tau!

Digikey Txuas:

  1. 100 ohm 0805 SMD
  2. Liab LED PLCC2
  3. 10k 0805 SMD
  4. LM7805 TO-252
  5. 0.33 uF tantalum
  6. 0.1 uF tantalum
  7. 74HC595 16DIP
  8. Attiny85-20PU 8PDIP
  9. Tactile hloov (uas yog qhov tseeb uas kuv tau siv, yog liab zoo li LEDs)
  10. CR2032 lub roj teeb tuav
  11. Swb Hloov

Kauj Ruam 2: Dav Dav Dav Tsim

Dav dawb hau tsim
Dav dawb hau tsim
Dav dawb hau tsim
Dav dawb hau tsim
Dav dawb hau tsim
Dav dawb hau tsim
Dav dawb hau tsim
Dav dawb hau tsim

Thawj qhov ua ntej kuv coj LexanPanda tsim thiab kuv tau tso cov txheej txheem hauv Eagle: ntawm no yog txhua cov ntaub ntawv.

Raws li koj tuaj yeem pom kuv tau ua ob sab txheej, tsis txhob ntshai los ntawm qhov no, Kuv yuav qhia koj tom qab tias kuv tau ua PCB nrog cov txheej txheem hloov pauv toner li cas! Muaj ntau cov lus qhia hauv is taws nem, thiab txawm hais qhia, yuav ua li cas thiaj ua tau ob tog PCB nrog cov txheej txheem toner. Pom tseeb koj tuaj yeem siv txhua txoj hauv kev uas koj nyiam! Rau pawg thawj coj no kuv txawm xav txog kev yuav lub UV uas paub tab PCB tab sis kuv tsis muaj sijhawm ntau.

Muaj qhov tau txais me ntsis, Kuv tau hais yav tas los hauv cov npe khoom: Kuv tsis muaj sijhawm tshawb nrhiav lossis tsim cov ntaub ntawv dav dawb hau rau tus tuav CR2032 yog li kuv tau ua 4 daim uas nyob ntawm PCB yog qhov sib nrug sib nrug. Qhov kev ncua deb no tau ntsuas nruab nrab ntawm tus pin, nrog lub ntsuas pa, ntawm tus tuav CR2032 uas kuv tau pw ib puag ncig. Xav tias dawb los nqa daim ntawv rau pawg eagle thiab hloov nws kom haum rau koj cov kev xav tau! Nws yooj yim zoo nkauj thiab koj tsis tas yuav cuam tshuam ntau dhau nrog kev teeb tsa.

Kauj Ruam 3: Ua PCB

Tam sim no, yog tias koj muaj txhua yam hauv koj txhais tes peb tuaj yeem pib ua PCB! Txhawm rau ua kom yooj yim yam kuv yuav muab ncaj qha cov ntawv PDF uas koj tuaj yeem luam tawm los ua koj li PCB. Yog tias koj ua koj tus kheej kom ntseeg tau tias yuav tsom iav kab rov tav sab saum toj lossis hauv qab ntawm pawg thawj coj saib! Hauv kuv PDF kuv tau tig rau sab saum toj.

Raws li koj tuaj yeem pom kuv tau sau qee cov ntawv hauv kuv pdf, pom tseeb koj tuaj yeem tshem nws thiab sau koj lub npe nrog ib tus ntawm koj tus phooj ywg, lossis tso nws tseg, qhov ntawd yog ntawm koj!

Tam sim no yuav ua li cas thiaj ua tau ob tog PCB: Tom qab koj kuv tau luam tawm koj cov txheej txheem koj yuav tsum coj sab saum toj thiab hauv qab ib nrab thiab ua cov ntawv luam ib leeg saib ib leeg. Nco ntsoov tawm qee chav ntawm ib sab ntawm cov ntawv luam tawm kom muab qee cov khoom siv tom ntej. Tshaj li, nrog kev pab ntawm qee lub teeb, kho qhov ntawm ICs, nco ntsoov tias lawv sib raug zoo ib leeg thiab thaum koj zoo siab, muab cov ntawv tso rau hauv qhov chaw, lossis siv qee daim kab xev, tso qee qhov chaw mus rau tooj liab. clad uas yuav raug sib xyaw ntawm cov ntawv! Nws yog ib qho tseem ceeb heev uas, tom qab koj khaws cov ntaub ntawv rau ib leeg, koj rov xyuas dua thiab yog tias cov qhov sib dhos ua ke. Tom qab ntawd muab koj lub rooj sib tham liab qab nruab nrab ntawm cov ntawv kom ntseeg tau tias txheej saum toj thiab hauv qab haum nrog nws. Tam sim no nws yog lub sijhawm rau ironing

Tom qab koj tau txheeb xyuas lub rooj tsavxwm tso lub qhov nrog 0.8mm laum me ntsis raws li PCB txheej txheem, tsis txhob txhawj xeeb yog tias qee qhov tsis zoo ib yam, koj yuav tuaj yeem daws qhov teeb meem no thaum siv cov laug.

Muaj qee qhov vias uas koj yuav tsum tau sau rau hauv. Kuv siv ob txhais ceg los ntawm qhov qhov tiv thaiv qhov uas kuv hla mus rau hauv qhov vias thiab muab tshuaj txhuam rau ntawm txhua sab.

Nco ntsoov txhuam ob sab ntawm qee tus pins, txwv tsis pub lub plawv yuav tsis ua haujlwm!

Kauj ruam 4: Arduino Sketch

Tsis muaj ntau dhau los hais txog qhov no, yog tias koj xav tau qee cov ntsiab lus mus rau LexanPanda cov lus qhia.

Muaj ob yam uas txawv ntawm qhov nws siv: Kuv tau ntxiv qee qhov kev ua yeeb yaj kiab, tam sim no muaj 16 tag nrho, thiab kuv tau ntxiv qhov sib txawv hu ua "ntau", nws yog qhov tseem ceeb uas koj teeb tsa qhov no raws li qhov nrawm ntawm lub moos uas koj xaiv rau attiny85. Kuv tau xaiv 8MHz moos yog li qhov sib txawv tau teeb tsa rau 8, yog tias koj tsis xav hloov lub moos nrawm, attiny85 tau teeb tsa los ntawm lub neej ntawd rau 1MHz, tsuas yog qhov koj yuav tsum tau ua yog teeb tsa qhov sib txawv rau 1. Yog li txhua qhov nrawm uas koj xaiv, teeb tsa qhov sib txawv rau qhov nrawm hauv MHz cov kauj ruam.

Kauj ruam 5: Cov lus xaus

Cov lus xaus
Cov lus xaus
Cov lus xaus
Cov lus xaus

Yog li tam sim no koj muaj koj tus kheej lub plawv LED! Kuv thov txim dua rau qhov tsis muaj duab, Kuv yuav sim ntxiv yav tom ntej! Qhia rau kuv paub yog tias muaj qee yam uas kuv tsis tau piav qhia zoo, lossis yog koj xav tau lwm cov ntsiab lus!

Vam tias yuav ntsib koj sai sai!

Pom zoo: