double (or other) sized Fonts on ST7565 128x64 GLED

I am having a really hard time trying to figure out how to get a double sized font working on the ST7565 128x64 glcd from Adafruit (http://www.adafruit.com/products/438). I am making an OBD reader for my car, and need double sized font to be readable for the main pieces (MPG) but still want standard 5x8 pixel characters for supplemental info (air temp, oil temp, etc). I found this post (http://openenergymonitor.org/emon/emonglcd) where the author does almost exactly what I'm trying to do, but his sketch won't upload to my Arduino Uno R3, too many errors, and I'm not sufficiently versed in coding to figure it out.

Any ideas for how to easily make this happen?

Hi You could use u8glib instead of the adafruit lib. U8glib includes "several" small and larger fonts: http://code.google.com/p/u8glib/wiki/fontsize. It also has a "double sized" option: http://code.google.com/p/u8glib/wiki/userreference#setScale2x2

Oliver

Thanks for the tip, I think the u8glib will work for me. For others who come across this post, I also found the dogm library (https://code.google.com/p/dogm128/downloads/detail?name=dogm128_arduino_v1.13.zip&can=2&q=) But it is WAY over my head as far as complexity goes. I think this u8glib is just my speed.

U8glib is the successor of dogm128 lib. I do not recommend to use dogm128.

Oliver

olikraus: Hi You could use u8glib instead of the adafruit lib. U8glib includes "several" small and larger fonts: http://code.google.com/p/u8glib/wiki/fontsize. It also has a "double sized" option: http://code.google.com/p/u8glib/wiki/userreference#setScale2x2

Oliver

Hi, Oliver.. Could you help on the same issue?

I have one 128X64 with the controller ST7565. Using tghe ST7565.h library I get only small text...

I have downloded te u8glib but don't know how to actually use it... Could you please give me a help?

Thank you so much!

Hi cabecinhas

Do the examples work for you? You need to uncomment the constructor for your controller and provide the correct pin numbers.

Oliver

Hi, Oliver. Tks for the answer!

Actually I didn't found any one that match my display..

Here's my display http://www.aliexpress.com/item/12864-128X64-Serial-SPI-FSTN-Graphic-COG-LCD-Module-Display-Screen-LCM-Build-in-ST7565P-R/1712515091.html

Could you please help me to find the correct constructor?

Thank you very much :)

Regards Rodrigo

All examples list some constructors, but you man not only uncomment them, but also you need to provide the correct pin numbers.

For the constructors, see this page: https://code.google.com/p/u8glib/wiki/device For the ST7565 there are several constructors listed. You may need to check them one by one. Howver all of them will display at least something as soon as your wiring is correct.

For example, use this:

U8GLIB_LM6063 u8g(sck, mosi, cs, a0, reset])

sck, mosi, cs and a0 are the pin numbers of your arduino board where you did connect the corresponding input of your display. reset is optional (but recommended).

ok, i checked the datasheet, the actual names for your display are:

U8GLIB_LM6063 u8g(scl, si, cs, a0, reset])

Oliver