Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 104
61  Using Arduino / Displays / Re: Ucglib: Color OLED and TFT Library... on: August 28, 2014, 08:27:32 am
I have developed most of the procedures with SDL and Ubuntu Linux first. Some instructions are given here: https://code.google.com/p/ucglib/wiki/sdl

Oliver
62  Using Arduino / Displays / Re: SPI_Mode3 causing SPI multiple device errors when using u8glib Library on: August 27, 2014, 05:13:14 pm
U8glib has an option to store and restore the state of the HW SPI registers. Have a look at this:
https://code.google.com/p/u8glib/wiki/userreference#setHardwareBackup
In some cases this may help...

Please also check whether U8glib works with SW SPI together with your RTC (with HW SPI).

Oliver
63  Using Arduino / Displays / Re: How to use Arduino UNO control an LCD which has a NT7506 LCD controller? on: August 27, 2014, 11:31:50 am
Hi

I have seen a lot of displays with a large number of controllers, but this controller is new to me. I do not think there is a ready made library for it.
It looks similar to the ST7565, but still has some differences in the command set. Take a library for the ST7565 (such as u8glib)  try and update the ST7565 specific code. Unfortunately i will have only limited internet access in the next days, otherwise i could offer to extend u8glib with support for the NT7506.

Any datasheet available for the display? Where did you buy the display and what is the actual screen resolution?

Oliver
64  Using Arduino / Programming Questions / Re: Having trouble with SHIELD GLCD V2 programming. on: August 27, 2014, 10:06:39 am

Oh, looks like these people made reference to U8glib, without proper citing the origin (which is, from my perspective, a license violation).

Nevertheless U8glib (which seem to be the prefered library for this shield) has been written by me and it is open source. You can download U8glib here: https://code.google.com/p/u8glib/. This project page also contains a lot of examples and the full reference manual. Please have a look there. If you have any further questions please ask your question either in this thread or post a new question in the "display" subforum of this Arduino forum.

Oliver
65  Using Arduino / Displays / Re: Looking for readable LCD display without backlight on: August 26, 2014, 12:11:37 pm
Hi

To my knowledge, at reichelt.de you can buy without registration.
mouser.com has free shipping above 65€. I never had been below that limit  smiley-roll

Oliver
66  Using Arduino / Displays / Re: Amazingly Inexpensive LCD display screens on: August 26, 2014, 01:06:32 am
At least buy-display is a reliable and good shop for buying displays. A level converter is required for most of the displays with the Uno or Mega board. For the Due (3.3V board) it will work without level shifter.

Here is a display from buy-display.com (ERC24064-1). It also requires some caps for the internal charge pump:



Oliver
67  Using Arduino / Displays / Re: Easy with you, hard with newbee, Oled 12864 4spi Helppppp me, god bless you:( on: August 25, 2014, 03:05:47 pm
Quote
i cant find where pin to tonect

This depends on the library. U8glib has as SW SPI included, so you can use any digital or analog Arduino pin for any of the display pins. Just inform U8glib which pins you actually use.

Oliver
68  Using Arduino / Displays / Re: Ucglib: Color OLED and TFT Library... on: August 24, 2014, 02:50:39 pm
Hi All

I have released version 1.01 of Ucglib. Follow the download link on the project page: https://code.google.com/p/ucglib/.

This release fixes a problem with the solid mode for font rendering. I have also added some more functions: drawGlyph, drawString and also functions to modify the reference position for strings.

Oliver
69  Using Arduino / Displays / Re: Looking for readable LCD display without backlight on: August 23, 2014, 05:35:54 pm
Hi Peter

The DOGS102 reflective version is black and white only. For the other displays you have some options for the background color. See the datasheet for this. And yes, you will need a 5V to 3.3V level translator chip for the Arduino Uno. The Arduino Due can drive this display directly.

Grüße aus BW, Oliver
70  Using Arduino / Displays / Re: Easy with you, hard with newbee, Oled 12864 4spi Helppppp me, god bless you:( on: August 22, 2014, 02:37:05 pm
Hi

Let me start with the very beginning:
Quote
I have a Mega adruino , and a oled  screen like this
Do not show a picture which is like your screen. Provide a picture of your screen together with the correct datasheet. Anything else is guessing. It seems that you have used some pictures from/for Adafruit Displays. Is your OLED an Adafruit OLED? If not, then the Adafruit software might not work at all (the Adafruit library only supports SSD1306, but not the SH1106 controller).

Regarding the connection: My suggestion is to use the 4-wire SPI, because 3-wire SPI is usually not implemented by the Arduino libraries and I2C is unreliable for far east variants of this OLED with the SSD1306 controller.
For 4-wire SPI:
- The display does not have a MISO output
- DC is data/command line, which is required in 4-wire SPI mode
- CS, MOSI and CLK are the other 3 lines required for 4-wire SPI mode.

Oliver
 
71  Using Arduino / Displays / Re: Looking for readable LCD display without backlight on: August 22, 2014, 02:19:48 pm
Did you see the DOG series of displays here http://www.lcd-module.com/products/dog.html?
All these DOG displays are avialable also as reflective version without backlight. Usually available from mouser.com.

My personal favorit is the EA DOGS102N-6 (FSTN Reflective Superwhite Background).
Displays are supported by U8glib, except for the displays with UC1611 controller.

Another nice thing about these displays is the fact, that they do not have this flex cable. Instead a normal SIL pinheader can be used.

Note: For versions with backlight, the actual backlight must be ordered additionally.

Oliver

72  Using Arduino / Displays / Re: Ucglib: A new Color OLED and TFT Library... on: August 22, 2014, 01:56:38 pm
Hi

Acording to the Arduino SPI description, the extended SPI functionality includes automatic generation of the CS signal and precise controll of the SPI bus speed.

Ucglib makes use of the extended functionaly, the SPI bus speed is increased to the maximum what is allowed by the chipset, see line 1028 of Ucglip.cpp.

The CS signal is still set manually, but it does not toggle very often and the use of the extended SPI functionality will not increase speed but will instead put additional restrictions on which pins are allowed as CS signal.

So the answer is: Extended SPI functionality is already used.

From my perspective, Ucglib is very fast. Maybe you could compare Ucglib with the Adafruit Lib and UTFT. I think still Ucglib is as fast (or maybe faster) the the other two libraries. Only font rendering is slower, but this is mainly because of the much more powerful font functions.

Oliver
73  Using Arduino / Displays / Re: 0.96'' OLED Stopped Working on: August 20, 2014, 07:01:26 am
Hi

From my work with u8glib and a lot of different OLEDs from far east (i do not own the adafruit OLED), i can say this:
- There are two different controllers used for 128x64 pixel oleds: SSD1306 and SH1106
- The SSD1306 can not provide the I2C bus without additional hardware. Expecially for very cheap OLEDs, this hardware my not be present. As a consequence, the SSD1306 will not be visible for the I2C scanner.
- It is not predictible whether the OLED module will work with 5V. It may work, but it may also not work. This is independent from what has been claimed by the ebay seller.
- It is also not predictable whether the pullups are required or not. It seems that they are sometimes part of the OLED modules, but in some cases, they are required as external components.
- Good news: I have never destroyed any OLEDs by applying 5V (but this is more a personal experience).

Conclusion:
- If your OLED is not detected by the I2C scanner, this does not mean anything. It might be intended behavior.
- You could use examples from U8glib to check if your OLED. U8glib should support all kinds of OLEDS (SH1106 and SSD1306, including those devices with are visible or invisible with the I2C scanner)

Oliver
74  Using Arduino / Displays / Re: Ucglib: A new Color OLED and TFT Library... on: August 19, 2014, 04:49:38 pm
Thanks for attaching.

Oliver
75  Using Arduino / Displays / Re: Ucglib: A new Color OLED and TFT Library... on: August 19, 2014, 12:09:44 am
Hi

The font converter is abilable here:
https://code.google.com/p/ucglib/source/browse/tools/font/bdf2ucg/bdf2ucg.c
I will create an issue on this to make bdf2ucg available as exe also.

BDF is a text based format, which is created by fony (windows font editor) or fontforge (another font editor) and also otf2bdf (ttf to bdf converter).

The font has some size restrictions. One glyph must not contain more then 255 bytes. This limits the size of a charcter to 32x64 pixel max. The logisoso font already is at the maximum of what is possible with ucglib.

Maybe it is faster instead of solid mode to draw a background box first and then use the transparent font mode. Also, the solid mode still has some bugs (see issue list).

Oliver
Pages: 1 ... 3 4 [5] 6 7 ... 104