Cov txheej txheem:

Arduino LED Zaub Nrog Bluetooth Tswj: 11 Kauj Ruam
Arduino LED Zaub Nrog Bluetooth Tswj: 11 Kauj Ruam

Video: Arduino LED Zaub Nrog Bluetooth Tswj: 11 Kauj Ruam

Video: Arduino LED Zaub Nrog Bluetooth Tswj: 11 Kauj Ruam
Video: Ich fahre Dich überall hin! #davidbost #motorrad #gehtsteil #shorts 2024, Hlis ntuj nqeg
Anonim
Arduino LED Zaub Nrog Bluetooth Tswj
Arduino LED Zaub Nrog Bluetooth Tswj

Hauv cov lus qhia no, peb yuav ua 32X8 LED Matrix zaub uas yuav muaj lub luag haujlwm hloov pauv Cov Ntawv Xov Xwm nrog peb lub xov tooj ntawm lub sijhawm thiab yuav ua peb tus kheej lub app siv MIT App Inventor.

Yog li, cov phooj ywg cia pib nrog qhov haujlwm txias thiab txaus.

Kauj Ruam 1: Tsim Peb Cov PCB ntawm Fritzing

Tsim Peb PCB ntawm Fritzing
Tsim Peb PCB ntawm Fritzing

Peb tau tsim PCB ntawm Fritzing, uas yog qhov qhib qhov khoom siv kho vajtse uas ua rau cov khoom siv hluav taws xob nkag tau yooj yim raws li cov khoom siv muaj tswv yim rau txhua tus.

Nws yog 2 txheej txheej PCB tsim nyob qhov twg peb tau ntim cov khoom peb xav tau kom huv si.

Tam sim no nws yog lub sijhawm los xa cov ntaub ntawv Gerber thiab xaj peb cov PCBs.

Kauj Ruam 2: Hais Kom Peb Cov PCBs ntawm Tus Nqi Tsawg Los Ntawm JLCPCB

Xaj peb cov PCBs ntawm tus nqi qis heev los ntawm JLCPCB
Xaj peb cov PCBs ntawm tus nqi qis heev los ntawm JLCPCB

Ib zaug, koj tau tsim cov ntawv zip ntawm koj li PCB's Gerber file. Tam sim no, nws yog lub sijhawm los xa cov ntaub ntawv mus rau JLCPCB thiab ua raws li qhov yuav tsum tau ua raws li kev xaiv ua daim npog dub, uas kuv tau ua rau kuv PCBs. Yog tias, koj tab tom nrhiav PCBs zoo tshaj plaws rau koj cov phiaj xwm dua li JLCPCB yog qhov kev xaiv zoo tshaj plaws rau.

Lawv tab tom muab 10 PCBs rau tsuas yog 2 $ nrog kev thauj khoom ntxiv thiab kuv pom nws yog qhov kev pom zoo tshaj plaws muaj.

Yog li, Qhov twg los ua qauv 10 PCBs rau $ 2 nkaus xwb:

Kauj Ruam 3: Cov Cheeb Tsam Yuav Tsum Tau:

  • Arduino (NANO lossis UNO)
  • Bluetooth module HC-05
  • LEDs (32 X 8 = 256 pcs)
  • MAX7219 LED matrix tsav IC (4 Pcs)
  • 10uF capacitor (4 pcs)
  • 100nF capacitor (4 daim)
  • 40K Resistor (4 pcs)
  • Connectors, solder, xov hlau, cuab yeej, thiab lwm yam …

Kauj ruam 4: Ua haujlwm

Ua hauj lwm
Ua hauj lwm

Ntawm no, peb tau tsim 4 qib kawm txhua ntawm 8X8 LEDs. Txhua tus tsav tsheb MAX7219 tuaj yeem tswj tau 64 LEDs matrix. Arduino yuav xa cov ntaub ntawv siv cov lus sib txuas. Yog li peb yuav tsum txuas lub moos thiab thauj tus pin los ntawm Arduino rau txhua tus tsav tsheb MAX7219. Cov ntaub ntawv tus pin yuav tsuas txuas nrog thawj tus neeg tsav tsheb. Los ntawm "cov ntaub ntawv tawm" tus pin ntawm thawj tus neeg tsav tsheb, peb yuav txuas cov xov hlau mus rau qhov thib ob "Cov Ntaub Ntawv" ntawm tus tsav tsheb thib ob thiab ntxiv rau. Qhov ntawd yog qhov peb txuas plaub daim ntawv 8x8 hauv kab ntawv. Peb tseem yuav tsum txuas lub Bluetooth module rau Tx thiab Rx pins ntawm Arduino thiab muab 5V rau nws thiab rau txhua tus MAX7219 tsav tsheb. Ua ntej, cia saib seb yuav ua li cas txuas txhua ntawm 8x8 matrices. Thaum peb muaj peb 4 qib kawm peb tuaj yeem koom nrog lawv ua ke nrog "cov ntaub ntawv tawm" "cov ntaub ntawv hauv" pins.

Kauj Ruam 5: Txuas Cov Ntaub Ntawv Tawm (Tus Pin 24) rau Cov Ntaub Ntawv Tawm (Pin 1) ntawm Lwm IC

Txuas Cov Ntaub Ntawv Tawm (Tus Pin 24) rau Cov Ntaub Ntawv Tawm (Pin 1) ntawm Lwm IC
Txuas Cov Ntaub Ntawv Tawm (Tus Pin 24) rau Cov Ntaub Ntawv Tawm (Pin 1) ntawm Lwm IC

Kauj Ruam 6: Ua Kev Sib Txuas ntawm Moos thiab LOAD Raws li

Ua Kev Sib Txuas ntawm Moos thiab LOAD Raws li
Ua Kev Sib Txuas ntawm Moos thiab LOAD Raws li

Kauj Ruam 7: Txuas lub Capacitor thiab Resistor Raws Li Qhia hauv Daim Duab

Txuas tus Capacitor thiab resistor Raws li qhia hauv daim duab
Txuas tus Capacitor thiab resistor Raws li qhia hauv daim duab
Txuas tus Capacitor thiab resistor Raws li qhia hauv daim duab
Txuas tus Capacitor thiab resistor Raws li qhia hauv daim duab

Kauj Ruam 8: Ua Kev Sib Txuas ntawm Matrix Pins Raws Li Qhia hauv Kab Duab

Ua Kev Sib Txuas ntawm Matrix Pins Raws Li Qhia hauv Kab Duab
Ua Kev Sib Txuas ntawm Matrix Pins Raws Li Qhia hauv Kab Duab
Ua Kev Sib Txuas ntawm Matrix Pins Raws Li Qhia hauv Kab Duab
Ua Kev Sib Txuas ntawm Matrix Pins Raws Li Qhia hauv Kab Duab

Kauj Ruam 9: Ua Case Rau Peb Cov Zaub LED

Ua Case Rau Peb Cov Zaub LED
Ua Case Rau Peb Cov Zaub LED
Ua Case Rau Peb Cov Zaub LED
Ua Case Rau Peb Cov Zaub LED
Ua Case Rau Peb Cov Zaub LED
Ua Case Rau Peb Cov Zaub LED
Ua Case Rau Peb Cov Zaub LED
Ua Case Rau Peb Cov Zaub LED

Ib zaug, koj tau ua qhov kev sib txuas saum toj no nws yog lub sijhawm los ua rooj plaub rau qhov uas kuv tau siv cov ntawv ntoo uas seem thiab tau ua lub thawv tawm ntawm nws nrog yas hla lub LEDs kom lub ci ci tsis kis thiab muab rau peb so ntau saib.

Kauj ruam 10: Txuas rau Txoj Cai thiab App

Txuas rau Code thiab App
Txuas rau Code thiab App

Code: Rub tawm

PCB Tsim: Rub tawm

Cov Ntaub Ntawv App: Rub tawm

Pom zoo: