Cov txheej txheem:

HX1230 Monochrome LCD hauv Arduino Cov Haujlwm: 4 Kauj Ruam
HX1230 Monochrome LCD hauv Arduino Cov Haujlwm: 4 Kauj Ruam

Video: HX1230 Monochrome LCD hauv Arduino Cov Haujlwm: 4 Kauj Ruam

Video: HX1230 Monochrome LCD hauv Arduino Cov Haujlwm: 4 Kauj Ruam
Video: LCD модуль HX1230 или дисплей от Nokia 1202 2024, Hlis ntuj nqeg
Anonim
HX1230 Monochrome LCD hauv Arduino Cov Haujlwm
HX1230 Monochrome LCD hauv Arduino Cov Haujlwm

Qhov:

  • ib qho Arduino
  • HX1230 96x68 pixel LCD (tseem hu ua Nokia 1202, STE2007)
  • ob peb xaim

Kauj ruam 1: Kev sib txuas

Kev sib txuas
Kev sib txuas
Kev sib txuas
Kev sib txuas
  1. RST rau D6 lossis ib qho digital
  2. CE rau D7 lossis ib qho digital
  3. Tsis muaj
  4. DIN rau D11/MOSI
  5. CLK rau D13/SCK
  6. VCC rau 3.3V
  7. BL rau 3.3V lossis ntawm tus tiv thaiv rau ib tus lej digital
  8. GND to CSY

Kev sib txuas zoo ib yam li Nokia 5110 LCD thiab feem ntau ntawm SPI cov lus. Qhov txawv tsuas yog tias tsis muaj DC (cov ntaub ntawv/hais kom ua) tus pin. Cov ntaub ntawv no xa los ntawm 9-ntsis SPI.

LCD ua haujlwm zoo tshaj ntawm 3.3V, 5V muaj kev nyab xeeb ib yam nkaus tab sis xav tau kev hloov pauv hauv qhov sib txawv. Txoj hauv kev yooj yim tshaj plaws yog siv Arduino Pro Mini siv los ntawm 3.3V qhov chaw.

Kauj Ruam 2: Sib piv rau Nokia 5110 LCD

Kev sib piv rau Nokia 5110 LCD
Kev sib piv rau Nokia 5110 LCD
Kev sib piv rau Nokia 5110 LCD
Kev sib piv rau Nokia 5110 LCD

HX1230 tau tshaj tawm tias yog Nokia 5110 hloov pauv LCD. Qhov no tsis yog qhov tseeb vim tias HX1230 muaj cov tswj hwm sib txawv/teeb tsa teeb tsa thiab xav tau lwm lub tsev qiv ntawv

Qhov zoo ntawm HX1230:

  • ntau me me PCB tab sis qhov screen loj yuav luag zoo ib yam
  • tsis muaj kab txaij zeb zeb, cov khoom tso rau PCB
  • me ntsis siab dua 96x68 vs 84x48
  • zoo dua piv piv, pixels yog xwmfab
  • tsuas yog 1 LED siv rau lub teeb pom kev
  • 1 xaim tsawg xav tau txuas nws mus rau MCU (tsis muaj tus pin DC)
  • feem ntau pheej yig dua N5110 - $ 1.60 vs $ 1.80

Kauj Ruam 3: Arduino Software

Npaj 2 lub tsev qiv ntawv sib txawv:

  • Cov tsev qiv ntawv muaj peev txheej tsawg siv rau cov phiaj xwm yooj yim nrog feem ntau cov ntaub ntawv alfanumeric (txawm li cas los ua pixel duab/bitmaps tseem ua tau), tsis siv RAM rau thav duab tsis, txhua yam tau muab ncaj qha rau LCD ntawm SPI

    github.com/cbm80amiga/HX1230_SPI

  • Cov tsev qiv ntawv nraaj tag nrho nrog kev txhawb nqa ob tog:

    github.com/cbm80amiga/HX1230_FB

Saib cov vis dis aus txuas ntxiv mus txhawm rau txheeb xyuas cov tsev qiv ntawv

Kauj ruam 4: Saib Video

Nta:

  • cov fonts sib npaug txhawb nqa ua hauv (xav tau fonts los ntawm PropFonts lub tsev qiv ntawv
  • cov txheej txheem yooj yim (pixels, kab, duab plaub, puv lub voos xwmfab, lub voj voog, puv lub voj voos, peb tog, puv lub voos peb sab)
  • yoo mov yuam kom dithering (17 tus qauv)
  • ultra nrawm kab rov tav thiab ntsug kab duab
  • kos duab bitmaps
  • ntau qhov kev pab cuam piv txwv

Pom zoo: