Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: Hauv Visuino ADD Cheebtsam
- Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Kauj Ruam 6: Hauv Visuino Connect Components
- Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 8: Ua si
Video: Bitmap Animation ntawm SSD1331 OLED Display (SPI) Nrog Visuino: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb yuav tso saib thiab txav ib puag ncig cov duab bitmap hauv daim ntawv yooj yim ntawm kev ua yeeb yaj kiab ntawm SSD1331 OLED Display (SPI) nrog Visuino.
Saib cov yees duab.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- SSD1331 OLED Zaub (SPI)
- Cov qhob cij
- Jumper xov hlau
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas Txuas tus pin [CS] rau Arduino tus lej digital [7]
- Txuas Txuas tus pin [DC] rau Arduino tus lej digital [8]
- Txuas Txuas tus pin [RES] rau Arduino tus lej digital [9]
- Txuas Txuas tus pin [SDA] rau Arduino tus lej digital [11]
- Txuas Txuas tus pin [SCL] rau Arduino tus lej digital [13]
- Txuas Txuas tus pin [VCC] rau Arduino tus pin zoo [+5V]
- Txuas Txuas tus pin [GND] rau Arduino av pin [GND]
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program Arduino UNO! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino ADD Cheebtsam
- Ntxiv "SSD1331 OLED Display (SPI)" tivthaiv
- Ntxiv 2X "Sine Integer Generator"
Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Xaiv "SineIntegerGenerator1" thiab hauv cov khoom qhov rai teeb tsa Amplitude: 20, Zaus (Hz): 0.1, Offset: 20
- Xaiv "SineIntegerGenerator2" thiab hauv cov khoom qhov rai teeb tsa Amplitude: 10, Zaus (Hz): 0.1, Offset: 10
- Ob npaug nias rau ntawm "DisplayOLED1" thiab hauv lub qhov rai ntsiab "Rub Bitmap" mus rau sab laug, ntawm sab laug tom qab ntawd xaiv "Kos Bitmap1" thiab hauv lub qhov rai khoom xaiv "Bitmap" teb thiab nyem rau ntawm 3 dots. In lub "Bitmap Editor" nyem rau ntawm "Load" khawm thiab thauj cov bitmap (Koj tuaj yeem rub tawm qhov kev sim bitmap txuas ntawm no)
- Hauv "Bitmap Editor" nyem rau ntawm "Load" khawm thiab thauj cov bitmap (Koj tuaj yeem rub tawm qhov kev sim bitmap txuas ntawm no)
-
Txhawm rau ua kom lub zog Bitmap txav mus, peb yuav tsum tswj hwm X thiab Y cov khoom. Txhawm rau ua qhov ntawd peb yuav ntxiv tus pin rau lawv: Hauv Tus Kws Tshuaj Ntsuam Xyuas xaiv lub "X" cov khoom Nyem rau ntawm "Pin" khawm ntawm xub ntiag ntawm lub cuab yeej, Los ntawm Cov Npe Sau Npe Xaiv "Integer SinkPin" Ua tib yam rau "Y" "khoom Kaw" Elements "dialog Koj yuav pom tus tshiab" X ", thiab" Y "pins ntxiv rau" Elements. Draw Bitmap1 "element
Kauj Ruam 6: Hauv Visuino Connect Components
- Txuas "SineIntegerGenerator1" tus pin [Tawm] rau "DisplayOLED1"> "Kos Bitmap1" tus pin [X]
- Txuas "SineIntegerGenerator2" tus pin [Tawm] rau "DisplayOLED1"> "Kos Bitmap1" tus pin [Clock]
- Txuas "SineIntegerGenerator2" tus pin [Tawm] rau "DisplayOLED1"> "Kos Bitmap1" tus pin [Y]
- Txuas "DisplayOLED1" tus pin [Pib dua] rau Arduino tus pin [9]
- Txuas "DisplayOLED1" tus pin [Cov Lus Qhia Cov Ntaub Ntawv] rau Arduino tus lej digital [9]
- Txuas "DisplayOLED1" tus pin [Tawm SPI] rau Arduino tus pin [SPI Hauv]
- Txuas "DisplayOLED1" tus pin [Chip Xaiv] rau Arduino tus lej digital [7]
Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 8: Ua si
Yog tias koj ua lub zog Arduino UNO module, thiab OLED zaub koj yuav pom Bitmap txav mus ib puag ncig OLED zaub raws li pom hauv Video.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino project, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no thiab qhib nws hauv Visuino:
Pom zoo:
Tweets ntawm OLED SPI Display thiab Particle's Photon Board: 6 Cov Kauj Ruam
Tweets ntawm OLED SPI Display thiab Particle's Photon Board: Nyob zoo, txhua tus. Qhov kev qhia yooj yim no yuav qhia peb yuav ua li cas nyeem peb cov tweets siv IFTTT thiab Photon board. Tej zaum koj yuav tsum pom cov lus qhia no
Tau Txais LoRa (SX1278/XL1278-SMT) Ua Haujlwm Ntawm SPI ntawm WeMos D1 ESP-12F ESP8277 Motherboard Module Nrog OLED: 7 Kauj Ruam
Tau Txais LoRa (SX1278/XL1278 -SMT) Ua Haujlwm Ntawm SPI ntawm WeMos D1 ESP -12F ESP8277 Motherboard Module Nrog OLED: Qhov no coj kuv ib lub lim tiam los ua haujlwm - zoo li tsis muaj leej twg ua ntej kuv tau xam nws - yog li kuv vam tias qhov no cawm koj qee lub sij hawm! Txawv txawv lub npe "WeMos D1 ESP-12F ESP8266 Motherboard Module nrog 0.96 nti OLED Screen" yog $ 11 pawg tswj hwm kev txhim kho th
Ua ntej* SPI ntawm Pi: Sib Tham Nrog SPI 3-axis Accelerometer Siv Raspberry Pi: 10 Kauj Ruam
Ua ntej* SPI ntawm Pi: Sib Tham Nrog SPI 3-axis Accelerometer Siv Raspberry Pi: Cov lus qhia ib kauj ruam yuav ua li cas teeb tsa Raspbian, thiab sib tham nrog SPI cov cuab yeej siv bcm2835 SPI lub tsev qiv ntawv (TSIS tau tsoo!) Qhov no tseem yog ua ntej heev … Kuv xav tau ntxiv cov duab zoo dua ntawm kev sib txuas ntawm lub cev, thiab ua haujlwm dhau los ntawm qee qhov ua tau txawv txawv
Kev tswj hwm tus kheej ntawm RPM ntawm Lub Cav Siv Lub Tswv Yim Los Ntawm IR Raws Li Tachometer: 5 Cov Kauj Ruam (nrog Duab)
Kev Tswj Tus Kheej ntawm RPM ntawm Lub Cav Siv Lub Tswv Yim Los Ntawm IR Raws Lub Tachometer: Muaj ib txwm xav tau rau kev siv tshuab txheej txheem, ua nws yooj yim/tsis txaus ntseeg. cov txheej txheem rau dej/siv dej rau peb daim av me me.Qhov teeb meem ntawm tsis muaj kab khoom siv tam sim no
Arduino Uno: Bitmap Animation ntawm ILI9341 TFT Touchscreen Display Shield Nrog Visuino: 12 Cov Kauj Ruam (nrog Duab)
Arduino Uno: Bitmap Animation ntawm ILI9341 TFT Touchscreen Display Shield Nrog Visuino: ILI9341 raws li TFT Touchscreen Display Shields yog nrov heev tus nqi qis Shields rau Arduino. Visuino tau muaj kev txhawb nqa rau lawv ib ntus, tab sis kuv yeej tsis tau muaj sijhawm los sau Tutorial txog yuav siv lawv li cas. Tsis ntev los no txawm tias tsawg tus neeg nug