Cov txheej txheem:
- Kauj Ruam 1: Nta thiab Kev Sib Txuas ntawm 5110LCD Zaub
- Kauj ruam 2: BMP NTAWV
- Kauj ruam 3: CODE
- Kauj Ruam 4: Ua Tsaug Rau Kev Pom
Video: LCD5110 Graphics Education: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hav sawv daws
Hauv txoj kev kawm no, Kuv xav nkag siab LCD5110_GRAPH lub tsev qiv ntawv thiab cov haujlwm txog Bitmap Graphic. Kuv txiav txim siab qhov no vim tias yog tias koj pom Qhov Chaw Sib Tw Qhov Chaw Ua Haujlwm hauv kuv nplooj ntawv, kuv tsis tau qhia koj yuav ua li cas koj tuaj yeem tsim cov duab me me. Cia peb pib…
Kauj Ruam 1: Nta thiab Kev Sib Txuas ntawm 5110LCD Zaub
Nta:
- 84 × 48 hli
- Ua tau zoo 3.3V
Kev sib txuas:
- VCC -> Arduino 3.3V (lossis 5v)
- BL -> Arduino pin 3 (pwm pin)
- GND -> Arduino GND
- CLK (SCLK) -> Arduino tus pin 8
- DIN (MOSI) -> Arduino tus pin 9
- DC -> Arduino tus pin 10
- CE lossis CS -> Arduino tus pin 12
- RST (RESET) -> Arduino tus pin 11
Kauj ruam 2: BMP NTAWV
Kuv yuav qhia ib qib zuj zus qhia koj li cas peb tsim cov ntaub ntawv bmp.
1-Tsim qee cov duab kuv siv Photo Editor rau qhov no:
- Nkag mus rau Photo Editor
- Sau "Tsim Tshiab" khawm
- Xaiv qhov dav = 84 thiab siab = 48
- Kos qhov koj xav tau
- Txuag li.jpg
2-Hloov-j.webp
- Upload koj cov ntaub ntawv.jpg
- Hloov
- Txuag
3-Tsim.c cov ntaub ntawv. Kuv siv LCD Assistant rau qhov no:
- Dowland nws
- Ntaus "file" khawm ces "Load Image"
- Nkag mus "Khaws Tawm Tawm"
- Nco ntsoov txuag.c hom ntawv
4-Muab tshuaj txhuam.c tso rau hauv daim nplaub tshev uas koj siv.
Kauj ruam 3: CODE
Kuv siv 5110LCD_Graph thiab kuv yuav qhia koj qee yam haujlwm. Yog tias koj xav kawm txhua qhov ua haujlwm, txo qis cov ntawv pdf.
#suav nrog // suav nrog tsev qiv ntawv
sab nrauv uint8_t SAT ; // piav qhia.c cov ntaub ntawv
int BL = 3; // piav qhia lub teeb rov qab
LCD5110 lcd (8, 9, 10, 11, 12); // LCD5110 lub npe (clk, din, dc, rst, ce);
void teeb tsa () {
pinMode (BL, NTAWV); lcdInitLCD (); //nameInitLCD (); pib qhov screen lcd.setContrast (55); //name.setContrast (); teeb sib piv (amoung 0 rau 127)}
void voj () {
analogWrite (BL, 330); lcd.clrScr (); //name.clrScr (); tshem qhov screen lcd.drawBitmap (0, 0, SAT, 84, 48); //name.drawBitmap(x, y, npe (.c), dav (.c), siab (.c)); lcd.update (); //name.update (); hloov qhov screen}
// --------------------- CREATE NEW TAB ------------------------ ------------------------ // Cov ntaub ntawv tsim los ntawm LCD Assistant // https://en.radzio.dxp.pl/bitmap_converter/ //- ----------------------------------------------------------------------- --------------------------- #suav nrog // suav nrog lub tsev qiv ntawv no rau siv PROGMEM // PROGMEM pab siv RAM me me siv tsis tau kos npe SAT PROGMEM = {0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0xFF, 0xFB, 0xFF, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x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F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,}
Kauj Ruam 4: Ua Tsaug Rau Kev Pom
Ua tsaug ntau rau kev nyeem! Yog tias koj muaj lus nug thov hu rau kuv lossis sau lus tawm …
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
$ 2 Mini Graphics Tablet: 4 Kauj Ruam
$ 2 Mini Graphics Tablet: TOUCHPAD HACK - Yuav ua li cas hloov lub touchpad mus rau hauv cov txiaj ntsig cov duab me me nrog qee yam khoom yooj yim txhua hnub Rau kev ua tiav cov vis dis aus thov visith
Arduino TFT Graphics Shield: 4 Kauj Ruam (nrog Duab)
Arduino TFT Graphics Shield: a.articles {font-size: 110.0%; font-ceeb thawj: siab tawv; font-style: ntawv qaij; text-decoration: tsis muaj; tom qab-xim: liab;} a.articles: hover {background-color: black;} Cov lus qhia no piav qhia yuav ua li cas thiaj ua tau 240 x 320 pixel (QVGA) xim duab
Tseem Muaj Qhia Qhia Siv DIYMall RFID-RC522 thiab Nokia LCD5110 Nrog Arduino: 8 Kauj Ruam (nrog Duab)
Tseem Muaj Qhia Qhia Siv DIYMall RFID-RC522 thiab Nokia LCD5110 Nrog Arduino: Vim li cas kuv thiaj xav tias yuav tsum tsim lwm Cov Lus Qhia rau DIYMall RFID-RC522 thiab Nokia LCD5110? Zoo, los qhia koj qhov tseeb kuv tau ua haujlwm ntawm Cov Ntawv Pov Thawj ntawm Lub Tswv Yim qee zaum xyoo tas los siv ob qho ntawm cov cuab yeej no thiab qee qhov "yuam kev tsis raug"
Graphics Test ILI9341 TFT LCD SPI Zaub: 6 Cov Kauj Ruam
Kev Ntsuas Duab ILI9341 TFT LCD SPI Zaub: cuam tshuam nrog 2.8 nti SPI TFT uas muaj ILI9341 nti rau Arduino Uno