Jump to content
ELFORUM - Forumul electronistilor
Gilbert Sparios

Arduino-PE12864LRF-042-H-Q

Recommended Posts

As vrea sa folosesc ecranul acesta PE12864LRF-042-H-Q cu Arduino Uno.

E FSTN Positive, si e bazat pe ST7567.  Oricum gasim un DS aici.

Eu ma gandesc ca poate o sa-l pot folosi cu biblioteca u8g2. Sau alta pentru ST7567.

 

Toate astea pentru ca m-am saturat de banalele 1602, 2040...

Vreau un LCD slim sa-mi incapa intr-o carcasa. Am spatiu mic intre PCB si carcasa..un fost termostat.

Ecranul folosit la Multi Testerul M328 am inteles ca este JLX12864G si pe undeva eu cred ca e acelasi display. Mi-ar prinde bine sa nu astept din china pana vine unul... 

 

Daca nu, spuneti-mi va rog cu ce librarie pot folosi ecranul care vine insotit cu acest LCR-metru.

 

image.thumb.jpg.0b2db7f66b47835b86f16e6563abcf72.jpg

 

 

Link to comment
Share on other sites

am reusit pana la urma sa aflu ca display-ul este totusi controlat de ST7565, merge oarecum prin libraria "U8x8lib".

Spun oarecum pentru ca ...cu aceasta librarie nu avem acces la grafica, decat text si ceva icon-uri incluse pe acolo. Sau nu am reusit eu.

 

pentru initiere display

#include <Arduino.h>
#include <U8x8lib.h>

#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#endif

// pin 1 - (SID)   		avr PD1
// pin 2 -(SCLK)    	avr PD2
// pin 3 -(RS or A0	 	avr PD3
// pin 4 - LCD reset (RST)  		avr PD4
// pin 5 - LCD chip select (CS)     avr PD5
  #define ILUMINAT	6
  U8X8_ST7565_ZOLEN_128X64_4W_SW_SPI u8x8(2,1,5,3,4);

void setup(void)
{
  pinMode(ILUMINAT, OUTPUT);
  digitalWrite(ILUMINAT, 1);

  u8x8.begin();
  u8x8.initDisplay();
  u8x8.fillDisplay();
  delay(250UL);
  u8x8.clear();  
  u8x8.setFlipMode(1);
  u8x8.setPowerSave(0);
  u8x8.setContrast(40);
}

 

restul detaliilor aici

Edited by Gilbert Sparios
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines