Cov txheej txheem:

8x8 Matrix Zaub Nrog BT: 5 Kauj Ruam (nrog Duab)
8x8 Matrix Zaub Nrog BT: 5 Kauj Ruam (nrog Duab)

Video: 8x8 Matrix Zaub Nrog BT: 5 Kauj Ruam (nrog Duab)

Video: 8x8 Matrix Zaub Nrog BT: 5 Kauj Ruam (nrog Duab)
Video: Erforscht: Ausfallsichere LED? 2024, Kaum ib hlis
Anonim

Kuv yuav 4 lub vaj huam sib luag 8x8 matrix los ntawm Ebay (Tuam Tshoj) ob peb lub hlis dhau los.

Kuv tau poob siab me ntsis thaum kuv paub tias nws nyuaj rau ntawm ib sab, tsis yog saum toj mus rau hauv qab uas feem ntau piv txwv ntawm Net tau sau! Saib cov kauj ruam 2.

Kuv kwv yees kuv tuaj yeem hloov kho cov cai (tsis paub yuav ua li cas), tab sis kuv ib txwm nkees nkees hais rau kuv kom nrhiav qee yam uas twb tau sau lawm. Kuv tau hla qhov piv txwv thiab nyam nrog nws!

Kuv ua si nrog cov lus ruaj tab sis tom qab ntawd kuv txiav txim siab kuv yuav sim sau cov lus ntawm Bluetooth.

Tom qab ntawd kuv xav khaws thiab khaws cov lus!

Muaj ntau qhov kev sim thiab yuam kev tab sis tom qab ob peb teev teev kuv tau txais nws ua haujlwm.

Kuv tseem tab tom sim nrhiav qhov siv tau rau nws !!:-)

Kauj Ruam 1: Zaub

Zaub
Zaub
Zaub
Zaub

Raws li tau hais yav dhau los, cov duab tau txuas rau sab laug rau sab xis, tsis yog sab saum toj mus rau hauv qab.

Kuv paub tseeb tias lwm cov cai tuaj yeem raug hloov kho kom them rau qhov no!

Kuv tsis nco qab qhov twg kuv rub tawm cov cai ua haujlwm los ntawm, txawm li cas los xij, kev tshawb rau "cosmicvoid matrix lossis LedControlMS.h" yuav pab tau. LedControlMS.h lib xav tau rau txoj haujlwm no.

Tsuas yog ib feem ntawm txoj cai no kuv hloov kho yog tus lej ntawm cov lus pom zoo li nws tau teeb tsa 5, Kuv tsuas yog hloov nws mus rau 4.

Kuv tau xaj lwm x4 zaub yog li kuv tuaj yeem pom nws ua haujlwm li cas nrog 8 qib tsis yog 4!

Kauj ruam 2: Bluetooth Ntsis

Bluetooth ntsis
Bluetooth ntsis

Txhua lub sijhawm kuv ua si nrog Bluetooth ntaus ntawv, Kuv ib txwm hais txog qhov qhia tau zoo no!

www.instructables.com/id/Modify-The-HC-05-B…

Cov lus qhia no yuav qhia rau koj txhua yam koj xav paub txog teeb tsa thiab ua khub HC-05 rau lub xov tooj ntawm tes lossis ntsiav tshuaj.

Kuv ua khub nrog Samsung Galaxy 6 Edge thiab Tab A uas tsis muaj teeb meem.

Kuv tau hloov qhov kev sib txuas lus ceev mus rau 57600.

Kauj Ruam 3: BT Kev Sib Txuas Lus thiab Txoj Haujlwm

BT Kev Sib Txuas Lus thiab Txoj Haujlwm
BT Kev Sib Txuas Lus thiab Txoj Haujlwm

Txhawm rau sib tham nrog HC -05 Kuv rub tawm App dawb los ntawm Play Store, muaj ntau qhov muaj, - qhov kuv xaiv tau hu ua Bluetooth Terminal HC -05 - nws yog App zoo heev!

Thaum koj tau ua khub HC-05 rau lub xov tooj lossis ntsiav tshuaj Cov hauv qab no tshwm sim.

Thaum lub arduino rov pib dua, txoj haujlwm nyeem tag nrho cov lus khaws cia hauv EEPROM thiab qhia lawv hauv xov tooj / ntsiav tshuaj - saib daim duab.

Cov ntaub ntawv tso tawm yog Mem Qhov Chaw (0-9), Ntev ntawm Xov Xwm & Xov Xwm nws tus kheej ntawm txhua qhov chaw.

Kuv tau teeb tsa txoj cai khaws cia txog 90 tus cim ntawm qhov chaw nyob 5 rau Msg 0, 105 rau Msg 1 …….905 rau Msg 9.

Chaw Nyob 0, 100…. 900 muaj cov lus ntev.

Qhov kawg khaws / khaws cov lus tau tshwm.

Xa dab tsi rau Arduino ntawm BT hloov pauv cov lus tam sim no.

Txhawm rau khaws cov lus pom (siv "~" tilde), xa ~ 0 mus khaws ntawm qhov chaw 0, ~ 5 khaws cia ntawm qhov chaw 5 thiab lwm yam.

Txhawm rau khaws thiab tso tawm cov lus khaws cia siv " ^" (carat), piv txwv li ^3 yuav thauj khoom thiab tso tawm cov lus ntawm Mem qhov chaw 3.

Thaum cov lus tau khaws lossis khaws cia, qhov chaw nco tam sim no tau khaws cia ntawm EEPROM chaw nyob 1023 - qhov no yog siv los ntawm lub zog los tso saib cov lus kawg tshwm sim.

Kauj Ruam 4: Txoj Cai & Lub Hwj Chim

Raws li ib txwm muaj, kuv cov cai yog huv si raws li cov hluas chav pw, tab sis kuv muaj ntau cov lus hais nyob ntawd!

Tej zaum yuav muaj qee qhov tsis tseem ceeb raws li tau sim me ntsis thiab ua yuam kev.

Cov zaub niaj hnub yuav tso saib qhov twg yog nyob hauv kab lus msg . Cov ntawv tsis tiav, yog li tso saib qee lub cim yuav ua rau muaj qhov tshwm sim tsis tau!

Yog tias ib tus neeg sab nrauv tuaj yeem qhia kuv yuav hloov kho $ daim ntawv rau £ kos npe lossis zoo dua tseem ntxiv nws, ces kuv yuav zoo siab heev

Tej zaum nws yuav tsim nyog rau cov lus nyuaj rau hauv qhov chaw 0 tsuas yog muab lub hauv paus pib, qhov no tuaj yeem sau dua thaum qhov kev zov me nyuam tab tom ua haujlwm!

np

EEPROM.write (0, '5'); // ntev ntawm msg khaws cia ntawm qhov chaw 0

EEPROM.write (5, 'L'); // msg khaws cia ntawm qhov chaw 05EEPROM.write (6, 'o');

EEPROM.write (7, 'c');

EEPROM.write (8, ``);

EEPROM.write (9, '0');

Tsis muaj cov lus khaws cia, ntawm lub zog nce, cov zaub yuav tsis tuaj yeem kwv yees tau thiab lub xov tooj / ntsiav tshuaj yuav tso tawm cov ntaub ntawv khib tab sis zoo ib yam vim tias, zoo li nrog EEPROM feem ntau, cov ntaub ntawv tsis raug ntawm txhua qhov chaw yog FF Hex (225 Zauv).

Cov qauv no tau tsim los siv Arduino Uno, tab sis kuv yuav siv cov mini pro rau qhov haujlwm tiav.

Kuv npaj siab siv 3 x 1.5v roj teeb, yog li txhawm rau txuag lub zog, Kuv yuav tua HC-05 tom qab xaiv cov lus. Tsuas yog txuas/rov txuas lub zog tsis zoo txaus vim nws yuav xa cov ntaub ntawv tsis zoo mus rau cov zaub.

Nws yuav zoo li tsim nyog cais cov TR & RX pins ua ntej txuas / txiav lub zog!

Kauj Ruam 5: Hloov Kho 2020 - 2 X 4 (8x8) Matrix Displays

Tom qab nkag siab zoo dua ntawm MAX7219, Kuv tau tswj kom txuas 2 cov lus qhia ua ke!

tsuas muaj ob peb kab ntawm cov cai uas xav tau hloov pauv - saib txuas nrog ino.

Pom zoo: