Cov txheej txheem:

ELECTRONIC CHRISTMAS TREE: 5 Kauj Ruam
ELECTRONIC CHRISTMAS TREE: 5 Kauj Ruam

Video: ELECTRONIC CHRISTMAS TREE: 5 Kauj Ruam

Video: ELECTRONIC CHRISTMAS TREE: 5 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Kaum ib hlis
Anonim
Image
Image
Daim duab Circuit Court
Daim duab Circuit Court

Hav guys! Kuv vam tias koj twb nyiam kuv li kev qhia yav dhau los "NodeMCU Tsev Automation (ESP8266)" thiab koj tau npaj rau qhov tshiab, ib txwm kuv tau ua cov lus qhia no los qhia koj ib qib zuj zus ntawm tsob ntoo Christmas hluav taws xob los ua kev zoo siab Christmas rau koj tus kheej, qhov haujlwm tuaj yeem yog khoom plig zoo uas koj tuaj yeem muab rau koj cov menyuam ib yam. Ua raws cov kauj ruam ntawm daim vis dis aus no thiab saib tag nrho cov vis dis aus kom kawm paub yuav tsim koj li tsob ntoo Christmas li cas.

Thaum ua qhov haujlwm no, peb tau sim ua kom ntseeg tau tias cov lus qhia no yuav yog cov lus qhia zoo tshaj plaws rau koj txhawm rau pab koj yog tias koj xav ua koj tus kheej tsob ntoo Christmas, yog li peb cia siab tias cov ntawv qhia no muaj cov ntaub ntawv xav tau. Txoj haujlwm no tau yooj yim los ua tshwj xeeb tom qab tau txais kev kho PCB uas peb tau xaj los ntawm JLCPCB txhawm rau txhim kho qhov pom ntawm peb cov khoom siv hluav taws xob thiab tseem muaj cov ntaub ntawv txaus thiab cov lej hauv phau ntawv qhia no tso cai rau koj tsim koj tsob ntoo Christmas zoo nkauj nrog qee lub teeb thiab suab. Peb tau ua txoj haujlwm no tsuas yog 2 hnub nkaus xwb, tsuas yog ib hnub kom tau txais txhua qhov uas xav tau thiab ua kom tiav cov cuab yeej tsim khoom thiab sib sau ua ke, tom qab ntawd ib hnub los npaj cov cai kom haum rau peb tes num thiab pib qhov kev sim thiab kev hloov kho.

Koj yuav kawm dab tsi los ntawm cov lus qhia no:

  1. Ua qhov kev xaiv kho vajtse raug rau koj txoj haujlwm nyob ntawm nws txoj haujlwm.
  2. Npaj daim duab kab hluav taws xob txuas rau txhua qhov khoom siv uas tau xaiv
  3. Muab cov khoom siv hluav taws xob tso rau PCB..
  4. Sib sau ua ke txhua qhov haujlwm (lub thawv ntaus ntawv thiab khoom siv hluav taws xob)..
  5. Pib qhov kev sim thawj zaug thiab lees paub qhov haujlwm.

Kauj Ruam 1: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Txoj haujlwm yog yooj yim heev rau txhua tus neeg ua, thiab tsis muaj kev paub tshwj xeeb xav tau txhawm rau ua nws vim nws yog txhua yam hais txog kev tswj hwm RBG LEDs thiab lub suab paj nruag piezo los tso saib cov nkauj Christmas thiab txhua qhov no yuav muab tso rau hauv ib qho PCB thiab tswj los ntawm ATmega328 MCU uas yog tib lub Microcontroller ntawm Arduino UNO

Cov txheej txheem muaj piezo buzzer txuas nrog MCU uas yog lub luag haujlwm tseem ceeb ntawm kev tso nkauj nkauj Christmas. Cov teeb ntsais ntsais yuav tsis zoo thaum lub cuab yeej qhib. lub hwj chim siv hauv txoj haujlwm no ib qho yooj yim 3 lub roj teeb ntawm 1.5V uas ua rau 4.5V txaus los qhib MCU.

Kauj Ruam 2: Ua PCB

Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB

Txog JLCPCB

JLCPCB (Shenzhen JIALICHUANG Electronic Technology Development Co., Ltd.), yog lub tuam txhab PCB loj tshaj plaws hauv Suav teb thiab cov tuam txhab tsim khoom lag luam tshwj xeeb tshwj xeeb hauv PCB sai sai thiab tsim PCB me me. Nrog ntau dua 10 xyoo ntawm kev paub hauv PCB tsim khoom, JLCPCB muaj ntau dua 200, 000 tus neeg siv khoom nyob hauv tsev thiab txawv teb chaws, nrog ntau dua 8, 000 kev xaj online ntawm PCB tus qauv thiab muaj PCB ntau lawm ib hnub. Muaj peev xwm tsim khoom txhua xyoo yog 200, 000 sq.m. rau ntau yam ntawm 1-txheej, 2-txheej lossis ntau txheej PCBs. JLC yog cov kws tshaj lij PCB chaw tsim khoom tshwj xeeb ntawm cov nplai loj, cov cuab yeej zoo, kev tswj nruj thiab ua tau zoo dua.

Tham electronics

Tom qab tsim qhov kev tsim hluav taws xob Kuv hloov pauv Circuit Court mus rau hauv PCB tsim kho nrog tsob ntoo zoo kom tau txais PCB zoo nkauj tsim thaum peb xaj peb cov Circuit thiab ua txhua yam uas kuv xav tau yog txav mus rau JLCPCB qhov khoom lag luam PCB zoo tshaj plaws kom tau txais qhov kev pabcuam tsim khoom PCB zoo tshaj plaws, ib txwm tsuas yog qee qhov nyem yooj yim uas yog txhua yam koj xav tau txhawm rau tsim cov ntaub ntawv GERBER tsim nyog ntawm kev tsim hluav taws xob ces kuv tau txav los teeb tsa qee qhov tsis thiab lub sijhawm no peb yuav siv cov xim ntsuab rau PCB no txij li thaum peb tsim tawm tsob ntoo yog li nws yuav tsum ntsuab ib yam nkaus; tsuas yog plaub hnub tom qab tso qhov kev txiav txim thiab kuv cov PCBs nyob ntawm kuv lub desktop.

Lwm yam ntaub ntawv rub tawm

Raws li koj tuaj yeem pom hauv cov duab saum toj no PCB tau tsim tau zoo heev thiab kuv tau txais tib PCB kev tsim qauv uas peb tau ua rau peb lub rooj tsav xwm tseem ceeb thiab txhua daim ntawv lo, lub logo tau nyob ntawd los coj kuv thaum cov kauj ruam soldering. Koj tuaj yeem rub tawm Gerberfile rau lub voj voog no.

Kauj ruam 3: Cov khoom xyaw

Cov khoom xyaw
Cov khoom xyaw

Ua ntej pib siv cov khoom siv hluav taws xob cia rov tshuaj xyuas cov npe khoom rau peb txoj haujlwm yog li peb yuav xav tau:

Components components Cov khoom tsim nyog ★ ☆ ★

- PCB uas peb tau xaj los ntawm JLCPCB

- Ib Arduino UNO: https://www.utsource.net/itm/p/8647184.html- ATmega328p MCU:

- RGB LEDs:

- 220 Ohm resistors:

- 16Mhz oscillator:

- Piezo buzzer:

Kauj ruam 4: Khoos phis tawj khoos phis tawj

Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos

ow txhua yam tau npaj tiav yog li cia peb pib siv peb cov khoom siv hluav taws xob rau PCB thiab ua li ntawd peb xav tau cov hlau txuas thiab cov hlau txuas txuas thiab lub chaw SMD rov ua haujlwm rau SMD cov khoom.

Kev nyab xeeb ua ntej

Soldering Iron Tsis txhob kov cov hlau ntawm cov hlau….400 ° C! Tuav cov xov hlau kom sov nrog tweezers lossis clamps. Ib txwm xa cov hlau txuas rau nws sawv thaum tsis siv. Tsis txhob muab nws tso rau ntawm lub rooj ua haujlwm. Tua lub tsev thiab tshem tawm thaum tsis siv. Raws li koj tuaj yeem pom, siv PCB no yooj yim heev vim nws ua tau zoo heev thiab tsis hnov qab cov ntawv uas yuav coj koj cov txiv neej thaum siv tshuaj txhuam ib feem vim tias koj yuav pom nyob rau sab saum toj txheej txheej lo lo lo ntxhuav ntawm txhua qhov qhia tias nws tso rau lub rooj tsavxwm thiab txoj hauv kev no koj yuav 100% paub tseeb tias koj yuav tsis ua ib qho yuam kev soldering. Kuv tau muab cov khoom sib txuas rau nws qhov kev tso kawm thiab koj tuaj yeem siv ob sab ntawm PCB los txhuam koj cov khoom siv hluav taws xob.

Kauj Ruam 5: Software Tshooj & Kev Xeem

Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem

Tam sim no peb muaj PCB npaj thiab tag nrho cov khoom siv sib txuas tau zoo heev yog li nws yog lub sijhawm txav mus rau software ntu kuv tau ua tus lej arduino uas koj tuaj yeem rub tawm dawb los ntawm qhov txuas hauv qab no tam sim no txhua yam peb xav tau tam sim no yog tso MCU rau hauv Arduino UNO lub rooj tsavxwm thiab peb xa cov cai mus rau lub microcontroller ces peb coj nws rov qab mus rau nws lub qhov (socket) ntawm peb PCB tom qab ntawd peb muab lub rooj sib tham tso rau hauv lub khob iav thiab peb lo nws.

Tom qab tso cov roj teeb peb tig lub cuab yeej thiab peb txaus siab rau lub suab thiab qhov pom.

Txoj haujlwm no yooj yim heev los ua thiab yog ib qho zoo kawg thiab peb pom zoo rau koj yog tias koj xav ua kev zoo siab Christmas rau koj tus kheej. Tab sis tseem muaj lwm qhov kev txhim kho kom ua tiav hauv peb txoj haujlwm txhawm rau ua kom nws muaj butter ntau dua, yog vim li cas kuv yuav tos koj cov lus los txhim kho nws,

Pom zoo: