Loading...
  Show Posts
Pages: [1] 2 3 ... 54
1  Using Arduino / Displays / Re: 12864ZW with u8glib - no DI pin?! on: May 20, 2013, 02:18:00 pm
PSB might have a pullup resistor.

Do the following: Apply
1 VSS 0V
2 VDD 5.0V 
Then measure the voltage between VSS and PSB. What is the voltage?
Then measure the voltage between VSS and Vout. Waht is the voltage?

Then do the following:
Connect
1 VSS 0V
2 VDD 5.0V 

Vout to the first pin of the variable potentiometer
V0 to the second pin of the var pot
VSS to the third pin of the var pot.

What do you see, when you turn the var pot from left to right?
Expected result: You should be able to turn on and off all the pixel. Is this possible?

Oliver
2  Using Arduino / Displays / Re: 12864ZW with u8glib - no DI pin?! on: May 20, 2013, 01:29:25 pm
Correct, one side to GND, other side to Vout and the middle pin (wiper) to V0. With the variable pot you should be able to turn all pixel on (contrast max) and off. Usually LCDs need a negative voltage for V0 which is provided by Vout.
Connecting pin 1 and 3 of the variable pot to 5V and GND will not work, because V0 needs negative voltage below GND.

Oliver

Edit: Not all GLCDs provide negative power at Vout. Best would be to measure the voltage of Vout vs. GND first.
3  Using Arduino / Displays / Re: 12864ZW with u8glib - no DI pin?! on: May 20, 2013, 12:24:38 pm
My personal guess is, that the variable pot is not connected correctly. Instead of the 5V, connect the var pot to Vout.

Oliver
4  Using Arduino / Displays / Re: 12864ZW with u8glib - no DI pin?! on: May 20, 2013, 12:39:09 am
Hi

You can use the serial interface (PSB = GND) with
Code:
U8GLIB_ST7920_128X64_1X(E, R/W, RS , rst)
where the four arguments are the Arduino pin numbers, which are connected to the corresponding pin of your display.

Oliver
5  Using Arduino / Displays / Re: 12864 Graphics LCD Wiring on: May 16, 2013, 01:56:43 pm
The lib seems to fit to the display. Will the original example also show such an error: spi_text_example.ino

BTW the latchPin seems to be the chip select pin.

But as dc42 mentioned... it is difficult to comment other peoples libs...

Oliver
6  International / Deutsch / Re: RTC 1307 Lib Problem on: May 11, 2013, 04:26:37 pm
Hi

Naja, damit wäre dann die Fehlermeldung erklärt.
Im Code weiter oben steht:
Code:
Time DS1307new::getTime()
In der eben geposteten .h Datei steht hingegen:
Code:
void getTime(void);

Irgendwie passen .h und .cpp dateien nicht zusammen. Was aber richtig ist, kann ich nicht sagen, da ja die Erweiterung nicht von mir stammt und auch nicht von mir getestet wurde. :-(

Eventuell genügt es die .h Datei entsprechend anzupassen.

Grüße,
Oliver
7  Using Arduino / Displays / Re: GoPro screen on: May 11, 2013, 12:59:05 am
The company EA offers LCDs for different light conditions. For example see the DOGS102, which might also fit for your project (page 2 of the pdf): http://www.lcd-module.com/eng/pdf/grafik/dogs102-6e.pdf.

So, for outdoor use i would suggest the transflective or reflective display type of the DOGS102.

Oliver


8  International / Deutsch / Re: RTC 1307 Lib Problem on: May 11, 2013, 12:37:47 am
Mir scheint, dass dieses getTime() eine Erweiterung der DS1307new ist, die nicht von uns stammt. Kannst Du mal deine .h Datei der modifizierten DS1307new hier posten. Ohne die .h Datei wird es schwierig den Fehler nachzuvollziehen.

Grüße,
Oliver
9  International / Deutsch / Re: RTC 1307 Lib Problem on: May 10, 2013, 12:31:12 pm
Hi

In der DS1307new wird anstelle von Time einfach ein uint32_t genommen. Dieser Datentyp enthält die sekunden nach dem 1.1.2000.
Auf die einzelnen Datenmember kann direkt zugegriffen werden, beispielsweise durch RTC.time2000. Siehe hier: http://code.google.com/p/ds1307new/wiki/Reference.

Ich kenne jetzt zwar die Funktion "setDisplayTime" nicht, aber in DS1307new Referenz wird erklärt, wie Du beispielsweise auf die Minuten, Stunden, etc zugreifen kannst. Ist "setDisplayTime" teil einer Lib oder ist die von Dir selbst geschrieben?

Oliver


10  International / Deutsch / Re: RTC 1307 Lib Problem on: May 10, 2013, 08:46:53 am
Hallo

Aus meiner Sicht sind hier einige Fragen offen. Warum kann man die DS1307new nicht verwenden? Die Funktionalität sollte doch einigermaßen unabhängig von der UTFT sein. Ein Problem besteht nur dann, wenn die UTFT die TWI/I2C Pins für das Display benötigt. Deshalb: Um was für ein Display handelt es sich denn, wie ist es angeschlossen? Gibt es alternativen zu dem Display?


Quote
Da ich die Rückgabewerte der Funktionen der urspünglichen Lib nicht kenne, müsste ich ja da ansetzen und den Code dementsprechend anpassen, denk ich.

Welche Rückgabewerte? Von wem oder was?

Oliver (der in dem DS1307 Code genannte...)

11  Using Arduino / Displays / Re: Test/demo sketch for 12864 on: May 10, 2013, 07:51:41 am
You have to track the digital signals from the Arduino Software to your display. I would call this "usual engineering work"  smiley-wink

Oliver
12  Using Arduino / Displays / Re: Using both an SD shield and an LED screen on: May 10, 2013, 04:45:45 am
1. MISO/MOSI/SCK can be shared, but chip select needs to be separate for each device.
2. Software must use the same SPI setup or backup the SPI setup for each device.

So the answer is: It depends...

Oliver
13  Using Arduino / Displays / Re: Test/demo sketch for 12864 on: May 09, 2013, 12:42:44 pm
At least you have to ensure, that the software will use pins 2, 3 and 4....

Oliver
14  Using Arduino / Displays / Re: how to show a graph on graphical lcd 240x128 ?? on: May 09, 2013, 04:43:45 am
I think: a0 = C/D

Oliver
15  Using Arduino / Displays / Re: Test/demo sketch for 12864 on: May 09, 2013, 01:25:17 am
Ok, so you connected your cable to this 2x3 socket where pins are labled with D2, D3, D4? If these pins refer to the digital pins of your Arduino Board, then i see a mismatch between D2, D3 and D4 and your inital sketch which probably expect (according to the comment) pins at D8, D9 and D3.

All in all it is not clear (at least to me) how the display is connected to the Arduino and which pins are really used by your software.

Oliver
Pages: [1] 2 3 ... 54