germany
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #15 on: February 12, 2013, 06:44:02 pm » |
Hi Oliver, at the pic from your 240x128 lcd it looks as if you were using the same connections as on E:\Arduino an Pc_k\LCD\240x64_6963C\T6963_Lib\T6963c - arduino-t6963c - T6963C Arduino Librarie - Google Project Hosting.mht with D0-D7/lcd to D2-D9/Arduino and WR, RD, CE and CD/lcd to A0-A3/Arduino. Am I right? With this connections I get this demo from the above site running. But when I start to compile an u8glib example, I get an error
U8glib\U8glib.cpp.o: In function `U8GLIB::initSPI(_u8g_dev_t*, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)': E:\Arduino an Pc_k\arduino-1.0.3-windows\arduino-1.0.3\libraries\U8glib/U8glib.cpp:42: multiple definition of `U8GLIB::initSPI(_u8g_dev_t*, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)' U8glib.cpp.o:C:\DOKUME~1\ef\LOKALE~1\Temp\build2633422020823526563.tmp/U8glib.cpp:42: first defined here
I extracted the u8glib_Arduino zip to the libraries folder of the arduino program and can open the examples by going into examples menu. Then I am erasing the quotes of the U8GLIB_T6963_240X128 and set the parameters to 2,3,... as I told you above. But am not sure how to handle the U8G_PIN_NONE and 14 to 17. My Uno doesnt have pins above D13 at B. Up to now I have all connected as told above, using A0-A3 for RD,WR and so on. Sag mal, bist Du auch Deutscher? Dann brauchen wir uns nicht mit meinem simplen Schulenglisch herumzuplagen:-)
|
|
|
|
|
Logged
|
Just started with Arduino Uno. Am soldering a little longer :-)
|
|
|
|
germany
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #16 on: February 12, 2013, 06:54:03 pm » |
Hi, here a similar datasheet. May be the same as yours? cu klaus
|
|
|
|
|
Logged
|
Just started with Arduino Uno. Am soldering a little longer :-)
|
|
|
|
Germany
Offline
God Member
Karma: 69
Posts: 802
If you believe something is right, you won't see what's wrong (David Straker).
|
 |
« Reply #17 on: February 13, 2013, 01:08:07 am » |
PM send
Oliver
|
|
|
|
|
Logged
|
|
|
|
|
Czech Republic
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #18 on: April 23, 2013, 02:12:14 pm » |
Hi Oliver, i am trying to get working LCD Powertip PG-12864f with no success. I tried my Teensy++ 2.0 board and Mega 2560 both with no difference. When arduino is booting there is one horizontal line on display, then it dissapear and nothing else is shown. I tried different library, different pins on Mega, but nothing changed..
My LCD have only 4kB RAM, somewhere i read information about positioning in RAM. Could be this some issue?
Do you have some idea what i am doing wrong?
Thank for help Jan
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
God Member
Karma: 69
Posts: 802
If you believe something is right, you won't see what's wrong (David Straker).
|
 |
« Reply #19 on: April 23, 2013, 04:35:36 pm » |
Hi Jan
What is your setup? What lib do you use? U8glib? What is your contructor call for u8glib? How did you connect your display?
It also might be a contrast issue: How do you control the contrast of the display? Is there a negative voltage converter included?
Oliver
|
|
|
|
|
Logged
|
|
|
|
|
Czech Republic
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #20 on: April 24, 2013, 02:12:11 pm » |
I use u8glib library, because it seems best... I have predefined constructor for u8glib and i connected display to match this settings..
I have simple potentiometer between +5V and GND to control contrast. I saw something about negative voltage but in datasheet which i found is nothing about it... And some websites have schematic with simple potentiometer... I can see information that black horizontal line doesn't mean constrast voltage is Ok... Do you have some tested schematic for this converter? I will try it on the weekend.
Thank you for your help Jan
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
God Member
Karma: 69
Posts: 802
If you believe something is right, you won't see what's wrong (David Straker).
|
 |
« Reply #21 on: April 24, 2013, 02:40:27 pm » |
Hi This is what i have seen on http://www.powertip.com.tw: - Your display does not have the original T6963 chip but a (hopefully) compatible SAP1024B - There seems to be no negative power converter For testing i suggest to use an external power source. Batteries could be fine also. I have used a power supply with variable voltage output for my display during testing phase:  On the picture the battery drives the backlight. The external power supply provides the negative voltage. The red and black "Clamping hooks" provide the -15V for the contrast of my display. Note, that the red (+15V) cable of the power supply is connected to GND of the display. The black clamp (white cable) is connected to the contrast input. The Arduino is powered by a laptop which runs on battery power. To avoid conflicts with your 220/110 AC powered devices, do use only one device powered from 220/110 AC. Meanwhile i have replaced the power supply by a negative converting module (AM2D-0515DZ) Please note that your display might require less then 15 volt. Oliver
|
|
|
|
« Last Edit: April 24, 2013, 02:49:50 pm by olikraus »
|
Logged
|
|
|
|
|
Czech Republic
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #22 on: April 24, 2013, 03:00:58 pm » |
It is interesting, i found datasheet http://www.noodlehed.com/ebay/datasheets/pg12864f.pdf and there is T6963 chip in schematic and on powertip website is SAP1024B chip... But physicaly my LCD have Toshiba T6963C chip. It is some year old and i receive it as gift. if i understood well, T6963C chip needs negative voltage supply...
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
God Member
Karma: 69
Posts: 802
If you believe something is right, you won't see what's wrong (David Straker).
|
 |
« Reply #23 on: April 24, 2013, 03:21:22 pm » |
The PG12864 is a module, it has several parts. The T6963 is just the controller and requires only +5V to work. But the negative voltage is required for the LCD component for the display module (and yes, i think it is passed through the T6963). Other components include segement driver and RAM. The negative voltage converter is optional and often not included. A digramm for a module with NV can be seen here: http://www.lcd-module.de/eng/pdf/grafik/p128-7k.pdfOliver
|
|
|
|
|
Logged
|
|
|
|
|
Czech Republic
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #24 on: May 03, 2013, 05:05:37 am » |
My LCD is working!!! It needs voltage from -4,5 to -5,2 V to set contrast...
Thank you for help!
Jan
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
God Member
Karma: 69
Posts: 802
If you believe something is right, you won't see what's wrong (David Straker).
|
 |
« Reply #25 on: May 03, 2013, 01:00:31 pm » |
Thanks a lot for the feedback!
Oliver
|
|
|
|
|
Logged
|
|
|
|
|
|