Show Posts
Pages: 1 ... 40 41 [42] 43 44 ... 100
616  Using Arduino / Displays / Re: 128x64lcd with nt7534 control lsi on: July 09, 2013, 04:13:08 pm
I never came across the VR input. In fact this could be a difference to the ST7565: VR ist not intentionally deactivated by the start up code. Maybe you should add the resistors as suggested by the datasheet (at least for testing).

Oliver
617  Using Arduino / Displays / Re: 128x64lcd with nt7534 control lsi on: July 09, 2013, 02:52:36 pm
Did you connect the caps as shown in the interface document (http://www.buy-display.com/download/interfacing/ERC12864-4_Interfacing.pdf)? Maybe you can post a schematic of your wiring.

For sure, u8glib could be updated.

Oliver
618  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 09, 2013, 11:25:13 am
Hi

With the variable pot it should be possible to turn off and on all pixels. So probably something is miswired with your variable pot.

Oliver
619  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 08, 2013, 11:38:39 pm
Thanks for the pictures. Still it is difficult to follow the wires. In general, i think the wires are too long.
Another question: What happens if you change the variable pot. Can you see the pixels at the most left or most right position?

Oliver
620  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 08, 2013, 01:36:25 pm
Hi Oliver this is the program i used in my arduino mega and the lcd does not work and gives me a white light only

please help and thank you


Your program looks correct, this is what i can say. There is no more light i can give unless you provide some more information.
Maybe you can make a picture from your setup. Good enough to trace wires from your display to the Mega.

Oliver
621  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 08, 2013, 01:34:08 pm
but i have a question
why connecting cs1 , cs2 , di and wr to analog pins   smiley-slim

You can use any pins you want. In fact on the Arduino Mega, you must use different pins.
But you need to tell U8glib the pin numbers.

Oliver
622  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 08, 2013, 12:00:28 am
Hi

Examples are here: http://code.google.com/p/u8glib/wiki/tdisplaysetup

You could also follow this list of steps:

1) Download u8glib
2) install u8glib in the libraries folder (unzip there)
3) start arduino IDE
4) You should see the u8glib submenu in the Examples section
5) locate "HelloWorld"
6) open "HelloWorld" example
7) Find this line in the example:
Code:
//U8GLIB_KS0108_128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 14, 15, 17, 16); // 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs1=14, cs2=15,di=17,rw=16
8 ) Uncomment this line:
Code:
U8GLIB_KS0108_128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 14, 15, 17, 16); // 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs1=14, cs2=15,di=17,rw=16
9) Ensure that the arduino board is not connected to any power or usb
10) Connect your display as described in the comment: // 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs1=14, cs2=15,di=17,rw=16
10a) Connect Data lines from D0 to D7 to pins 8,9,10,11,4,5,6,7
10b) Connect the chip enable signals to pin 14 and 15, which are labled as A0 and A1 on the Uno
10c) Connect the di display pin to pin 17, which is labled as A3 on the Uno
10d) Connect wr to pin 16, which is A2
11) The variable potentiometer (see datasheet)

Oliver
623  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 07, 2013, 02:30:10 pm
Did you download glcd-v3-20111205.zip from http://code.google.com/p/glcd-arduino/downloads/list?
Which IDE are you using?

I am not an expert on glcd-v3. Better to ask here: http://forum.arduino.cc/index.php?topic=56705.0

In the case you decide to use U8glib, then you are welcome to ask questions in this thread here.

Oliver


624  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 07, 2013, 01:33:51 pm
I think it is best to use GLCDv3 first. It has a very good user manual.

Oliver
625  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 07, 2013, 12:52:35 am
Hi

It seems to be this display: http://www.mikroe.com/download/eng/documents/development-tools/components/glcd_128x64_spec.pdf
It is a KS0108 based display. With U8glib, you can use
Code:
U8GLIB_KS0108_128(d0, d1, d2, d3, d4, d5, d6, d7, en, cs1, cs2, di, rw [, reset])
but Bill's GLCDv3 will also work: http://forum.arduino.cc/index.php?topic=56705.0;topicseen

Oliver
626  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: July 06, 2013, 11:43:10 am
Hi

U8glib Version v1.13 is available for download:

Updates include:
  • Support for SSD1351 (true color OLED) and HT1632 (LED Matrix)
  • Performance improvements for the ST7920
  • Double buffer option for ST7565 controller
  • HW SPI support for Arduino Due

Oliver
627  Using Arduino / Programming Questions / Re: Menu for Display on: July 06, 2013, 01:33:18 am
Hi

M2tklib has touch screen support. I did tests with U8glib, a dogm128 display and the touch screen mentioned in the data sheet of the dogm128: http://www.lcd-module.com/eng/pdf/grafik/dogm128e.pdf

In general almost no effort is required for resistive touch screens, u8glib and m2tklib, so my suggestion is to look for a graphics display, which is supported by u8glib and has a resistive touch screen.

The components from here http://www.lcd-module.com/eng/pdf/grafik/dogm128e.pdf are known to work.

Oliver

628  International / Deutsch / Re: Sammlung von Utilitys on: July 05, 2013, 02:46:27 pm
http://code.google.com/p/m2tklib/

Bei m2tklib setzt man seine Menüs / Eingabemasken aus einzelnen Elementen zusammen. Es gibt Elemente für Zahlen, Text, Auswahlboxen aber auch "Container"-Elemente die wiederum andere Elemente enthalten können. Alles wird im Flash abgelegt.
Referenz befindet sich hier: http://code.google.com/p/m2tklib/wiki/elref. Ausserdem gibt es viele Tutorials.

Datumseingabe sieht beispielsweise so aus:
Code:
/* edit date dialog */
uint8_t dt_day = 1;
uint8_t dt_month = 1;
uint8_t dt_year = 12;
void dt_ok_fn(m2_el_fnarg_p fnarg)  {
  m2_SetRoot(&top_el_tlsm);
}
M2_U8NUM(el_dt_day, "c2", 1,31,&dt_day);
M2_LABEL(el_dt_sep1, "", ".");
M2_U8NUM(el_dt_month, "c2", 1,12,&dt_month);
M2_LABEL(el_dt_sep2, "", ".");
M2_U8NUM(el_dt_year, "c2", 0,99,&dt_year);
M2_LIST(list_date) = { &el_dt_day, &el_dt_sep1, &el_dt_month, &el_dt_sep2, &el_dt_year };
M2_HLIST(el_date, NULL, list_date);
M2_ROOT(el_dt_cancel, NULL, "cancel", &top_el_tlsm);
M2_BUTTON(el_dt_ok, NULL, "ok", dt_ok_fn);
M2_LIST(list_dt_buttons) = {&el_dt_cancel, &el_dt_ok };
M2_HLIST(el_dt_buttons, NULL, list_dt_buttons);
M2_LIST(list_dt) = {&el_date, &el_dt_buttons };
M2_VLIST(el_top_dt, NULL, list_dt);

Oliver
629  Using Arduino / Programming Questions / Re: Menu for Display on: July 04, 2013, 03:36:56 pm
Hi

I have added another home button (M2_KEY_HOME2, m2.setHome2(...)).


Oliver
630  Using Arduino / Programming Questions / Re: Menu for Display on: July 03, 2013, 04:27:47 pm
ok, i have implemented something. Which variant of m2tklib do you need? I mean, what is your display?

Oliver
Pages: 1 ... 40 41 [42] 43 44 ... 100