Cov txheej txheem:

Wearable LED Matrix Display Badge: 8 Kauj Ruam (nrog Duab)
Wearable LED Matrix Display Badge: 8 Kauj Ruam (nrog Duab)

Video: Wearable LED Matrix Display Badge: 8 Kauj Ruam (nrog Duab)

Video: Wearable LED Matrix Display Badge: 8 Kauj Ruam (nrog Duab)
Video: DIY LED Matrix 2024, Kaum ib hlis
Anonim
Wearable LED Matrix Display Badge
Wearable LED Matrix Display Badge

Puas yog koj tab tom ua ib qho kev tshwm sim, kev sib tw lossis txawm tias yog hnub yug?

Cov paib yog cov khoom muaj ntau yam uas tuaj yeem ua kev qhia thiab ua kev zoo siab uas yooj yim dua. Koj yuav tsis pib tham nrog "nyob zoo, kuv lub npe yog …………." yog li vim li cas thiaj yuav tsum tau koj daim ntawv lo?

Yog li cia tsim daim npav PCB uas koj tuaj yeem khawm tau zoo siab thiab hnav ntawm koj qhov xwm txheej tseem ceeb tom ntej.

Hauv qhov haujlwm no, kuv yuav qhia pom tias kuv tsim daim paib loj npaum li cas ATtiny85-based LED matrix zaub (5x4 matrix). Kuv tau siv cov txheej txheem Charliplexing rau tsav 20 LEDs siv ATtiny85.

koj tuaj yeem yooj yim txawm tias ntxiv cov ntawv ntxiv rau koj daim paib raws li koj xav tau.

Cia peb pib:)

Kauj ruam 1: Saib Video

Image
Image

Cov vis dis aus mus dhau cov txheej txheem tsim ib yam nkaus, yog tias koj xav kawm qhov ntawd!

Kauj Ruam 2: Yam Khoom Siv Hauv Txoj Haujlwm no

Yam Khoom Siv Hauv Txoj Haujlwm no
Yam Khoom Siv Hauv Txoj Haujlwm no
Yam Khoom Siv Hauv Txoj Haujlwm no
Yam Khoom Siv Hauv Txoj Haujlwm no
Yam Khoom Siv Hauv Txoj Haujlwm no
Yam Khoom Siv Hauv Txoj Haujlwm no

Cov khoom siv kho vajtse

  • Microchip ATtiny85x1
  • Npib Cell Roj Teeb CR2032 x1
  • 3 hli LED x20
  • CR2032 Npib Cell Holder x1
  • 8 tus pin DIP IC Qhov (x1)
  • Swb Hloov x1
  • Kev tiv thaiv 100 ohm x5

Txhawm rau ua haujlwm ATtiny85 koj xav tau arduino uno lossis lwm yam pawg thawj coj saib

Cov software software:

Arduino IDE Cov

Cov cuab yeej siv tes:

Soldering hlau

Kauj Ruam 3: Charlieplexing

Charliplexing yog cov txheej txheem rau kev tsav tsheb ua ntau lub ntsej muag uas qhov tsawg dua I/O pins ntawm lub microcontroller tau siv, piv txwv li. los tsav ib qho array ntawm LEDS. Txoj hauv kev siv tri-xeev lub peev xwm kev muaj peev xwm ntawm microcontroller txhawm rau kom tau txais txiaj ntsig zoo dua li kev ua lej sib npaug.

Cov mis rau Charlieplexing isLEDs = n^2 - n

qhov twg 'n' yog tus naj npawb ntawm cov koob siv.

Kuv siv ATtiny85 programmed nrog arduino li ISP. Yog li nws siv 5 tus pin rau 20 LEDs.

Xav paub ntau ntxiv txog Charlieplexing:

Kauj ruam 4: Schematic Daim duab

Kauj ruam 5: Tus Qauv

Tsab ntawv!
Tsab ntawv!
Tsab ntawv!
Tsab ntawv!
Tsab ntawv!
Tsab ntawv!
Tsab ntawv!
Tsab ntawv!

Ua ntej tsim PCB, Kuv txiav txim siab los tsim ib qho qauv ntawm daim ntawv ua haujlwm.

Thiab nws ua haujlwm tau zoo ……

Kauj Ruam 6: PCB Tsim

PCB Tsim
PCB Tsim
PCB Tsim
PCB Tsim
PCB Tsim
PCB Tsim
PCB Tsim
PCB Tsim

Kuv siv KiCad rau PCB Tsim. Qhov ntug txiav tau siv. DXF cov ntaub ntawv uas tau tsim thiab tsim los siv Autodesk Fusion 360.

Qhov loj ntawm daim paib PCB yog 55*86 hli.

Kuv hais tawm thiab xaj PCB los ntawm PCBWay.com.

Nco tseg: Cov Silk Silk Screen Ntawm lub hauv paus tau muab rau Sau Koj Lub Npe lossis Xijpeem koj xav tau:)

Tom qab soldering PCB zoo li no:

Duab
Duab

Txoj haujlwm no yog qhov qhib. Yog tias koj xav tsim koj tus kheej, tag nrho cov peev txheej muaj nyob hauv kuv nplooj GitHub.

Kauj Ruam 7: Txhim Kho Cov Hluav Taws Xob mus rau Flash ATtiny

(Tsis txhob tso lub roj teeb tam sim no.)

Ntawm PCB Kuv tau muab 6 tus pin txuas rau kev ua haujlwm ATtiny85.the me me nyob ze ntawm 6-tus pin txuas yog thawj tus pin (MISO), saib cov duab rau lwm txoj kev sib txuas.

Duab
Duab
Duab
Duab
  • Arduino +5V - VCC
  • Arduino GND -GND
  • Arduino tus pin 10 -RST
  • Arduino tus pin 11 -MOSI
  • Arduino tus pin 12 -MISO
  • Arduino tus pin 13 -SCK

Ua raws li qhov txuas hauv qab no rau kev ua haujlwm ATtiny:

Instructables Community Manager randofo tau sau cov lus qhia zoo ntawm "Program a ATtiny With Arduino".

koj tuaj yeem rub tawm txhua cov ntaub ntawv los ntawm kuv nplooj ntawv githhub:

Tom qab teeb tsa Arduino IDE Cov Cuab Yeej Ntawv Qhia, upload muab cov duab kos arduino

Nco tseg: hloov kho kab thib 11 ntawm daim duab arduino kom pom raws li koj xav tau

Kauj ruam 8: Nyem Peek Video

Image
Image

Muaj kev lom zem:)

Ua tsaug ntau ntau rau kev nyeem ntawv yog tias koj xav tau cov ntaub ntawv ntau ntxiv xav nug hauv cov lus, thiab kuv yuav ua kuv qhov zoo tshaj plaws teb koj.

Yog tias koj nyiam txoj haujlwm no koj tuaj yeem txhawb nqa kuv txoj haujlwm los ntawm Kev Pov Ntawv rau Kev Sib Tw Tog.

Koj kuj tseem tuaj yeem txhawb nqa kuv txoj haujlwm ntawm PCBWAY's I can Solder KIT 2019 kev sib tw

Zoo siab ua!:)

Pom zoo: