Cov txheej txheem:

Sau rau OLED Display Via Bluetooth: 6 Kauj Ruam
Sau rau OLED Display Via Bluetooth: 6 Kauj Ruam

Video: Sau rau OLED Display Via Bluetooth: 6 Kauj Ruam

Video: Sau rau OLED Display Via Bluetooth: 6 Kauj Ruam
Video: ? Что такое многополосный 6 атомный хронометраж ? То 2024, Kaum ib hlis
Anonim

Txoj haujlwm no tau tshoov siab thiab rov ua dua ntawm Arduino LCD Display Control ntawm Bluetooth

Taw qhia: Hauv txoj haujlwm no, peb yuav ua "Bluetooth OLED." Dab tsi peb tab tom ua hauv qhov tsim qauv no yog txuas Arduino rau OLED thiab Bluetooth module. Peb sau txoj haujlwm luv uas tso cai rau peb txuas peb lub Bluetooth module rau peb lub xov tooj. Tom qab ntawd peb rub lub app ua hauv MIT App Inventor. Peb tuaj yeem txuas lub Bluetooth module rau lub app. Tam sim no koj tuaj yeem xa lus los ntawm app mus rau Arduino. Arduino yuav nthuav tawm cov lus ntawm OLED.

Txoj haujlwm no tseem tuaj yeem txhim kho

Kauj Ruam 1: Cov khoom siv

Khoom siv
Khoom siv

Cov cheebtsam uas yuav tsum tau ua los ua qhov haujlwm no yog:

Arduino IDE Cov

Arduino Nano Cov

0.96 "SSD1306 128X64 OLED

Bluetooth Module (HC-05)

Cov qhob cij

Jumper Hlau

Kauj ruam 2: OLED thaiv

OLED thaiv
OLED thaiv

Txuas OLED raws li hauv qab no:

Arduino >> OLED

GND >> NCO

5V >> VCC

A4 >> SDA

A5> SCL

Kauj Ruam 3: Bluetooth Txuas

Bluetooth Txuas
Bluetooth Txuas

Txuas Bluetooth raws li hauv qab no:

Arduino >> Bluetooth

GND >> NCO

5V >> VCC

D3 >> RX

D2> TX

Kauj Ruam 4: Tshaj Tawm Txoj Haujlwm

Rub tawm Txoj Haujlwm
Rub tawm Txoj Haujlwm

Qhib qhov haujlwm ntawm Arduino IDE. Thaum nws tau qhib, sau cov duab kos kom pom tias nws yog qhov tseeb ntawm qhov ua yuam kev ces koj tuaj yeem tso nws. Nco ntsoov tias koj muaj txhua lub tsev qiv ntawv rub tawm ua ntej koj rub qhov program. Tom qab koj tau tshaj tawm qhov program yog tias koj pom lub vijtsam qhib rau ib pliag thiab tom qab ntawv kaw qhov no qhia tias koj tau xaim lub OLED kom raug.

Kuv tab tom siv "FreeMonopt97b" font tab sis koj tuaj yeem mus rau Adafruit lub vev xaib yog tias koj xav siv lwm tus tsiaj ntawv txawv. Koj yuav tsum tau hloov qee qhov me me rau cov cai tom qab koj ntxiv cov font tshiab.

Txog tus lej ua tiav, email rau kuv ntawm: [email protected]

Kauj ruam 5: Rub tawm App

Rub tawm App
Rub tawm App
Rub tawm App
Rub tawm App
Rub tawm App
Rub tawm App

Kuv tau ua lub app hauv MIT APP INVENTOR. Koj tsis tas yuav ua daim ntawv thov vim kuv tau muab cov ntawv.apk rau lub app. Lub app hu ua "Bluetooth-OLED.apk" thiab thaum koj tau rub nws lub logo yuav tsum zoo li daim duab ntawm OLED nrog lub logo Bluetooth ntawm ib ces kaum thiab "Bluetooth nrog OLED" ntawm lwm lub ces kaum.

Kauj Ruam 6: Xeem Txoj Haujlwm

Xeem Txoj Haujlwm
Xeem Txoj Haujlwm

Txhawm rau sim tias txoj haujlwm tau qhib qhib lub app thiab txuas nws mus rau koj lub Bluetooth module. Thaum koj tau txuas lub app rau Bluetooth module koj yuav pom cov lus sib txuas ntawm lub vijtsam OLED. Tam sim no koj tuaj yeem ntaus qee yam hauv xov tooj thiab thaum koj nias lub pob xa rau hauv qab ntawm lub app, nws xa cov lus koj tau sau rau Bluetooth module. Tom qab ntawd Arduino yuav qhia cov lus ntawm OLED.

Pom zoo: