Cov txheej txheem:

EFM8BB1 Kinetic Light Triangles: 14 Kauj Ruam (nrog Duab)
EFM8BB1 Kinetic Light Triangles: 14 Kauj Ruam (nrog Duab)

Video: EFM8BB1 Kinetic Light Triangles: 14 Kauj Ruam (nrog Duab)

Video: EFM8BB1 Kinetic Light Triangles: 14 Kauj Ruam (nrog Duab)
Video: Ntshaw nkauj hmoob nplog thiaj tau noj mij. 10/4/2017 2024, Kaum ib hlis
Anonim
Image
Image
EFM8BB1 Kinetic Light Triangles
EFM8BB1 Kinetic Light Triangles
EFM8BB1 Kinetic Light Triangles
EFM8BB1 Kinetic Light Triangles

Kuv tau tshoov siab kom ua cov no tom qab kuv pom Nanoleaf lub teeb duab plaub nyob hauv khw, tab sis kuv tsis txaus siab pom tias txhua pobzeb raug nqi nees nkaum daus las! Kuv tau teeb tsa los ua cov khoom sib npaug, tab sis kom khaws tus nqi ib pobzeb ncig peb txog plaub daus las. Txoj haujlwm no tseem tsis tau tiav, raws li kuv tseem xav kom muaj cov tswj PCBs ua, tab sis tam sim no kuv muaj 50 pobzeb sib dhos thiab ua haujlwm.

Kuv tau pom lwm cov phiaj xwm uas sim ua cov khoom lag luam no, tab sis tsis muaj ib qho uas kuv tau pom txog tam sim no tso cai rau cov nplais los txuas rau hauv ib qho kev taw qhia, tso cai rau tsim cov qauv nyuaj thiab rov kho tau yooj yim.

Nov yog kuv thawj Phau Ntawv Qhia, thov tawm lus yog tias koj muaj lus nug!

Khoom siv

Txhua pobzeb xav tau:

  • 1x EFM8BB10F8G-A-QFN20 microchip (Digikey)
  • 9x WS2812E LEDs (LCSC)
  • 1x AMS1117 5.0v tus tswj hluav taws xob (LCSC)
  • 1x AMS1117 3.3v tus tswj hluav taws xob (LCSC)
  • 1 x SOD-123 1N4148 diode (LCSC)
  • 1x 10k 8050 resistor (LCSC)
  • 11x 0.1uf 8050 ceramic capacitor (LCSC)
  • 2x 10uf 16v nto mount electrolytic capacitors (LCSC)
  • 1x kev cai PCB (JLCPCB)
  • 12x TE Kev Sib Txuas 2329497-2 PCB Lub Caij Nplooj Ntoos Hlav Ntim rau qhov ntim khoom
  • 1x Txuas Txuas PCB

Tus tswj (tseem tab tom kawm) xav tau:

  • 1x ESP32 DevKit-C.
  • 1 x 12V fais fab mov
  • 1x DC-DC stepdown (txhawm rau lub zog ESP32)
  • 1 x 10K ohm resistor
  • 1x1n4148 ib
  • 2x SPST laub khawm (LCSC)

Cov Cuab Yeej:

  • Soldering hlau
  • Reflow qhov cub
  • 3D Tshuab Luam Ntawv (rau qhov thaiv)
  • J-txuas EDU programmer
  • Hlau strippers / cutters / assorted wire (los ua cov hlua khi)
  • Zoo tee tweezers rau los ua ke
  • Blank PVC daim npav kom kis kab laug sab
  • Leaded lossis lead free solder paste

Kauj Ruam 1: Txiav txim PCBs

Txiav txim PCBs
Txiav txim PCBs
Txiav txim PCBs
Txiav txim PCBs

Cov nplais PCB tau tsim hauv EasyEDA thiab tau xa mus rau JLCPCB rau kev tsim khoom. Kuv xaj 50 PCBs vim tias nws yog qhov pheej yig dua kom xaj 50 dua li nws tau xaj tsuas yog 10 ntawm lawv. PCB tau muab faib ua 3 daim kom cov nqi tsim khoom qis.

Kuv siv cov kev xaiv ntau lawm ntawm

  • 1.6 hli tuab
  • HASL nto tiav
  • 1oz tooj liab
  • Dawb muag khoom

Kuv tau hnov tias koj tuaj yeem txuas koj li JLCPCB thiab LCSC xaj yog li koj tsuas them nqi thauj khoom ib zaug, tab sis kuv tsis tuaj yeem txiav txim siab nws. Kuv siv qhov kev xaiv xa khoom pheej yig tshaj thiab ob pob khoom tuaj hauv ob lub lis piam ntawm hnub txiav txim.

Tus tsim yog txuas ntawm no

Kauj Ruam 2: Npaj Chaw Ua Haujlwm

Npaj Chaw Ua Haujlwm
Npaj Chaw Ua Haujlwm
Npaj Chaw Ua Haujlwm
Npaj Chaw Ua Haujlwm

Muab ib qho ntawm Cov Pobzeb PCBs tso rau ntawm lub rooj uas koj tsis mloog kom qias neeg thiab kaw ob daim PCBs nyob ib sab ntawm nws kom tuav nws zoo li daim duab saum toj no. Tom qab ntawd, kaw kab ntawv stencil nrog Kapton daim kab xev thiab xyuas kom tseeb tias lub qhov yog kab nrog cov ntaub qhwv tawm ntawm PCB.

Kauj Ruam 3: Muab Tshuaj Txhuam

Solder Muab tshuaj txhuam
Solder Muab tshuaj txhuam
Solder Muab tshuaj txhuam
Solder Muab tshuaj txhuam

Ntxiv cov tshuaj txhuam rau sab saum toj ntawm stencil. Kuv siv qhov no. Muab cov tshuaj txhuam txhuam tso rau ib ncig ntawm daim stencil siv daim npav rho nyiaj qub lossis qee yam zoo sib xws. Nco ntsoov tias qhov me me rau lub microchip tau ntim rau hauv ib yam nkaus.

Ua ntej koj rub tus stencil nce, sim kom ntau npaum li cas muab tshuaj txhuam rov qab mus rau daim npav kis rov qab siv dua yog tias koj tab tom ua ntau dua ib pobzeb (cov khoom no kim $$$)

Nqa cov stencil los ntawm kev ua tib zoo khaws ib lub ces kaum thiab tev daim kab xev tawm. Thaum koj nqa thaj tsam ib puag ncig, sim tsis txhob teeb nws rov qab vim nws tuaj yeem txhuam qee yam ntawm cov tshuaj txhuam.

Koj li PCB yuav tsum zoo li daim duab saum toj no.

Kauj ruam 4: Sib dhos

Txuas Sab Ntawm Pobzeb
Txuas Sab Ntawm Pobzeb
Txuas Sab Ntawm Pobzeb
Txuas Sab Ntawm Pobzeb
Txuas Sab Ntawm Pobzeb
Txuas Sab Ntawm Pobzeb

Tom qab rov qab PCB, cais ob sab ntawm cov nplais los ntawm khoov thiab tsoo cov tab uas tuav ob sab sib txawv hauv qhov chaw. Tom qab ntawd, xuab zeb tawm ib qho PCB sab laug los ntawm kev tsoo cov tab kom nws yooj yim dua kom haum rau hauv cov ntawv luam tawm.

Tom qab ntawd, nrhiav ob sab nrog tsab ntawv "B" thiab muab txhuam tag nrho 7 sab pawm ua ke. Qhov seem ib sab tsuas tuaj yeem nkag mus rau hauv ib txoj kev thiab ua kom zoo ib yam.

Cov nplais yuav tsum zoo li cov duab saum toj no.

Kauj Ruam 7: Txuas Cov Pobzeb Sib Sau rau Tus Kws Ua Haujlwm

Txuas Cov Pobzeb Sib Sau rau Programmer
Txuas Cov Pobzeb Sib Sau rau Programmer
Txuas Cov Pobzeb Sib Sau rau Programmer
Txuas Cov Pobzeb Sib Sau rau Programmer
Txuas Cov Pobzeb Sib Sau rau Programmer
Txuas Cov Pobzeb Sib Sau rau Programmer

Ua Ntej Txuas Cov Pob Zeb rau JLINK, Qhib JLINK Tus Thawj Coj thiab HOM "lub zog ntawm kev tso cai" Txhawm rau Qhib 5V OUTPUT

J-Link Commander tau suav nrog hauv Software thiab Cov Ntaub Ntawv pob muaj nyob ntawm no

Txhua lub pobzeb muaj lub taub hau uas tsis muaj neeg nyob sab saud cov microchip sau tias Debug. Lub taub hau no nthuav tawm C2 lub program interface uas tau sib xws nrog Segger J-Link. Kuv siv EDU version vim nws zoo ib yam rau tus nqi qis dua, tab sis tsis tuaj yeem siv rau cov khoom lag luam, uas qhov no tsis poob qis. Kuv xaj kuv li ntawm SparkFun rau $ 72 nrog rau kev xa khoom.

Pin 1 ntawm tus txuas tsuas yog ib qho nrog lub ncoo square ntawm PCB.

Kauj Ruam 8: Npaj IDE & Tsim Firmware Binary

Npaj IDE & Tsim Firmware Binary
Npaj IDE & Tsim Firmware Binary
Npaj IDE & Tsim Firmware Binary
Npaj IDE & Tsim Firmware Binary
Npaj IDE & Tsim Firmware Binary
Npaj IDE & Tsim Firmware Binary
Npaj IDE & Tsim Firmware Binary
Npaj IDE & Tsim Firmware Binary

Rub tawm Simplicity Studio 4 los ntawm no thiab nruab nws. Nkag mus lossis kos npe rau Silicon Labs tus account kom nkag tau rau EFM8 cov cuab yeej siv. Tom qab ntawd, rub cov phiaj xwm phiaj xwm los ntawm no thiab xa nws mus rau IDE. Tom qab ntawd, nyem rau lub icon rauj hauv qhov toolbar thiab tsim txoj haujlwm.

Koj yuav tsum tau txais Cov Lus Ua tiav. Yog tias cov lus tshwm tuaj nug koj kom nkag mus rau tus lej tso cai rau Keil tus neeg sau, tsuas yog nyem hla (lossis koj tuaj yeem qhib nws yog tias koj xav tau, nws dawb)

Kauj ruam 9: Upload Firmware

Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware

Nyem lub pob hauv lub cuab yeej uas zoo li lub thwj cim hla lub nti "Flash Programmer." Tom qab ntawd, xauj rau cov ntawv ua.hex thiab xaiv qhov ntawd. Nyem "Program" thiab lees txais cov nqe lus ntawm J-Link EDU License. Tom qab ntawd, nco ntsoov tias koj tsis tau txais cov lus yuam kev thiab cov coj ntawm lub rooj tsavxwm yuav tsum tau teeb ib qho xim dawb kom qhia rau koj paub tias nws tau ua tiav txoj haujlwm.

Kauj Ruam 10: (Tsis teb los tau) PCB Test

(Yeem) PCB Kev Xeem
(Yeem) PCB Kev Xeem
(Yeem) PCB Kev Xeem
(Yeem) PCB Kev Xeem
(Yeem) PCB Kev Xeem
(Yeem) PCB Kev Xeem
(Yeem) PCB Kev Xeem
(Yeem) PCB Kev Xeem

Rau cov kauj ruam no, koj yuav tsum tau ua kom muaj qhov chaw Virtual COM ntawm koj J-Txuas los ntawm kev qhib J-Link Configurator thiab xaiv cov programmer uas txuas nrog.

Xaim kab "DAT" kab los ntawm ib qho ntawm cov nplais ib sab mus rau qhov txuas nrog hauv cov duab saum toj no.

Qhib tus lej saib nrog 112500 baud 8N1 thiab siv cov lus txib no

  • 0x08 0xFF 0xFF 0x00 0xFF 0x0A
    • 0x08 yog "teeb xim" hais kom ua
    • 0xFF yog "tag nrho cov vuas"
    • 0xFF 0x00 0xFF yog xim
    • 0x0A yog tus cwj pwm tshiab

Tam sim no cov nplais yuav tsum yog ntshav. Yog tias tsis yog, xyuas ob zaug tias lub diode tau txuas kom raug thiab sim dua.

Kauj Ruam 11: 3D Printing Enclosure

3D Printing Enclosure
3D Printing Enclosure
3D Printing Enclosure
3D Printing Enclosure
3D Printing Enclosure
3D Printing Enclosure

Kuv tsim lub thawv ntawv kom pib txhaj tshuaj pwm kom txuag sijhawm tsis txhob siv 3D luam ntawv txhua lub pobzeb, tab sis thaum tus nqi tsuas yog 50 lub thawv ntawv tuaj txog yog $ 6000, Kuv txiav txim siab tawm tsam lub tswv yim ntawd. Cov ntaub thaiv npog tau tsim nyob rau hauv Inventor 2021 thiab muaj ob ntu, lub hauv paus thiab lub diffuser saum toj kawg nkaus. Lub hauv paus muaj qhov nyob ntawm ob sab kom tso cov vuas txuas nrog cov PCBs txuas (txuas hauv qab no) lossis cov xov hlau. Yog tias koj mus rau txoj hauv kev ntawm kev siv PCBs txuas, koj yuav xav tau 12 ntawm cov no ib pobzeb kom tso cai rau PCBs txuas ua ke.

Yog tias koj tsis muaj kev nkag mus rau lub tshuab luam ntawv 3D, koj tuaj yeem qhia tawm cov txuj ci tom qab cov vuas no los ntawm kev ua cov duab puab kinetic thiab txuas cov vuas ua ke nrog tooj liab hlau. Tsuas yog xyuas kom cov xov hlau tsis luv!

Kuv tau luam tawm 20 daim ntawv thiab kuv pom tias cov vuas luaj no sau tau zoo txog 150 hli/feeb yam tsis muaj kev puas tsuaj loj, uas tso cai kwv yees li 60% txo sijhawm luam tawm.

Kuv tsis nco qab thaij duab ntawm cov kauj ruam no, tab sis koj tsuas yog tso PCB tiav rau hauv lub hauv paus thiab khawm sab saum toj.

Kauj Ruam 12: Txuas Cov Vuas

Txuas Cov Vuas
Txuas Cov Vuas
Txuas Cov Vuas
Txuas Cov Vuas

Cov nplais txuas tus PCB muaj nyob ntawm no. Cov kab no nkag rau hauv cov ntaub thaiv thiab siv cov txuas no. Ua kom ntseeg tau tias ob tog sib koom ua ke.

Kauj Ruam 13: Tus Tswj

Maub los
Maub los
Maub los
Maub los
Maub los
Maub los

Tus tswj hwm software tau ua haujlwm tab tom yuav hloov tshiab ntawm no. Ua raws daim duab qhia chaw txhawm rau txuas koj ESP32 mus rau ib qho ntawm cov vuas. Tshaj tawm cov software siv PlatformIO thiab txuas rau WiFi hotspot kom cov vuas txuas rau koj li WiFi.

Kauj ruam 14: Ua tiav

Ua tiav!
Ua tiav!
Ua tiav!
Ua tiav!

Mount cov vuas nyob hauv txhua txoj kev uas koj xaiv, Kuv tau muab lub voj voos tso rau sab nraub qaum ntawm lub thawv rau daim kab xev kom muab tso rau.

Txaus siab rau! Tawm lus tawm yog tias koj muaj lus nug.

Teeb pom kev zoo
Teeb pom kev zoo
Teeb pom kev zoo
Teeb pom kev zoo

Khiav Tawm Hauv Kev Sib Tw Teeb Pom Kev Zoo

Pom zoo: