Show Posts
Pages: 1 ... 43 44 [45] 46 47 ... 97
661  Using Arduino / Displays / Re: ST9720 in serial mode - how to wire? on: May 05, 2013, 05:07:11 pm

662  Using Arduino / Displays / Re: 12864ZW - Not working on: May 04, 2013, 05:03:32 pm

I suggest to force PSB to the intended level.
The "send()" procedure looks different than the one i programmed for u8glib:

663  Products / Arduino Due / Re: [SOLVED] Makefile for the Due on: May 03, 2013, 04:28:06 pm
Will your Makefile work with Serial.print?
If yes, any idea why my Makefile fails with Serial.print?

664  Using Arduino / Displays / Re: Powertip PG12864 and Mega 2560 on: May 03, 2013, 01:00:31 pm
Thanks a lot for the feedback!

665  Using Arduino / Displays / Re: U8GLIB: sleepOn/Off not working on: April 29, 2013, 12:30:41 pm
These sleep functions are only available for some display types. What is your exact constructor line?

If I put a power transistor between the mega's +5v and Vcc on the display to turn it on and off will that damage the display with SDA and SCL lines still active?

Probably not, but you need to reinit the display. You can use u8g.begin() for this. All other settings are also lost...

666  Using Arduino / Displays / Re: M2TKLIB - A User-Interface-Toolkit for the Arduino Hardware on: April 28, 2013, 01:08:59 pm
Is there a way to reset the display system (software part), without resetting the arduino?

There is the procedure "begin" ( which does a reset of the display for newer versions of U8glib.

667  Using Arduino / Displays / Re: how to show a graph on graphical lcd 240x128 ?? on: April 28, 2013, 02:14:26 am
This could be a T6963 based display, so
U8GLIB_T6963_240X128(d0, d1, d2, d3, d4, d5, d6, d7, cs, a0, wr, rd, reset)
might work.

Remember to apply a variable resistor as described in chapter 4.1 of your user manual and also select the 8x8 font for this display (apply GND to FS1, see chapter 4.3)

Download U8glib here:
U8glib documentation:


668  International / Deutsch / Re: Monochrome BMP -> LCD-Display am Arduino on: April 27, 2013, 06:46:08 am

Für U8glib ( hatte ich mich entschieden das XBM Format zu unterstützen. Vorteile:
* Standard Bildformat (z.B. Export via Gimp),
* gültiger C-Code (XBM-Datei im Editor öffnen, alles markieren und in die Arduino IDE kopieren),
* sehr einfaches Format.

Der Code zum Auslesen des XBM befindet sich hier:

669  Products / Arduino Due / Re: Makefile for the Due on: April 27, 2013, 01:06:46 am
I have updated your inital Makefile to include USB support (attached). But still the serial communication is not working. I have no idea why...


Edit: The screen terminal emulator (used in the Makefile) can be terminated with Ctrl-a Backslash.
670  Products / Arduino Due / Re: Makefile for the Due on: April 27, 2013, 12:09:10 am

Your Makefile works fine. But the Serial is not activated during compilation state. If you remove the "Serial" commands from your example, then the blinking will work:
enum constants {
void setup() {
  // put your setup code here, to run once:
    // initialize the digital pin as an output.
  pinMode(ledpin, OUTPUT);   
  //Serial.println("Configuration complete");

void loop() {
  // put your main code here, to run repeatedly:
 static bool ledstate=false;
 //Serial.print("led is ");

671  Using Arduino / Displays / Re: Powertip PG12864 and Mega 2560 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:

672  Using Arduino / Displays / Re: Powertip PG12864 and Mega 2560 on: April 24, 2013, 02:40:27 pm

This is what i have seen on
- 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.

673  Using Arduino / Displays / Re: Powertip PG12864 and Mega 2560 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?


674  Using Arduino / Programming Questions / Re: Migrating a u8glib project to AVR Studio 4 on: April 20, 2013, 08:20:05 am
PROGMEM should be defined by the avr lib. I also have never observed conflicts in the source file (but there might be some).

But i am glad to hear that it's working now.

675  Using Arduino / Programming Questions / Re: Migrating a u8glib project to AVR Studio 4 on: April 20, 2013, 03:40:46 am
For the link stage of U8glib it is also important to add -Wl,--gc-sections

See also

For the compile error. What has been the code around line 142? Did you apply the correct controller type?

Pages: 1 ... 43 44 [45] 46 47 ... 97