Hookup Guide: 240x128 Graphic LCD Module Display T6963 ERM240128SYG-2
hi all, want make note of success in hooking 1 of these displays mega , how did it,
not difficulty, did...
i found , use u8glib library recent , far developed...
download: https://code.google.com/p/u8glib/
open hello world example: uncomment
(and change pins if needed... used following)
also uncomment in setup() (if have way pictured)
here pin mapping on unit off ebay,
*50k pot typical lcd contrast control
not difficulty, did...
i found , use u8glib library recent , far developed...
download: https://code.google.com/p/u8glib/
open hello world example: uncomment
code: [select]
//u8glib_t6963_240x128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 14, 15, 17, 18, 16); // 8bit com: d0..d7: 8,9,10,11,4,5,6,7, cs=14, a0=15, wr=17, rd=18, reset=16
(and change pins if needed... used following)
code: [select]
u8glib_t6963_240x128 u8g(49, 48, 47, 46, 45, 44, 43, 42, 37, 36, 35, 34, 33); // 8bit com: d0..d7: 8,9,10,11,4,5,6,7, cs=14, a0=15, wr=17, rd=18, reset=16
also uncomment in setup() (if have way pictured)
quote
u8g.setrot180();
here pin mapping on unit off ebay,
lcd pin | lcd name | u8glib | 2560 |
1 | fg | gnd | |
2 | gnd | gnd | |
3 | vdd | 5v | |
4 | vo | 50k pot wiper (leg 2) | |
5 | /wr | wr | 35 |
6 | /rd | rd | 34 |
7 | /ce | cs | 37 |
8 | c/d | 36 | |
9 | rst | reset | 33 |
10 | d0 | d0 | 49 |
11 | d1 | d1 | 48 |
12 | d2 | d2 | 47 |
13 | d3 | d3 | 46 |
14 | d4 | d4 | 45 |
15 | d5 | d5 | 44 |
16 | d6 | d6 | 43 |
17 | d7 | d7 | 42 |
18 | fs1 | gnd | |
19 | vee | 50k pot leg 1 (leg 3 5v) | |
20 | leda | 3.3v (5v bright) | |
21 | ledk | gnd |
*50k pot typical lcd contrast control
thanks reporting this.
oliver
oliver
Arduino Forum > Using Arduino > Displays > Hookup Guide: 240x128 Graphic LCD Module Display T6963 ERM240128SYG-2
arduino
Comments
Post a Comment