Show Posts
Pages: 1 ... 31 32 [33] 34 35 ... 99
481  International / Deutsch / Re: Display mit SPI scrollfähig on: October 15, 2013, 02:47:57 pm
So ab 10 Frames pro Sekunde sieht das schon ganz flüssig aus. Also muss man nur schnell genug die Daten in das Display schaffen. Dabei gibt es aber natürlich Randbedingungen:
- Monochrom ist besser als Color, da erstere weniger Daten brauchen
- Geringere Displaygröße ist natürlich auch besser, da dann der Graphikspeicher kleiner ist.
- SPI Clock limitiert hier auch die Datenbreite. Klassische SPI controller haben hier 300 bis 400 ns. True color Displays sind hier wieder etwas schneller: ca. 50 ns.
- Speziell bei meiner U8glib ist der Due schneller als der Uno. Mit mehr als 100 FPS auf einem kleineren monochromen Display kann man schon ganz prima scrollen.

Ein paar Daten hatte ich hier gesammelt:
http://code.google.com/p/u8glib/source/browse/sys/arduino/FPS/FPS.pde

Grüße,
Oliver
482  Using Arduino / Displays / Re: Porting OLED library to Arduino DUE troubleshooting on: October 15, 2013, 12:31:30 pm
Thanks for reporting!

Oliver
483  Development / Other Software Development / Re: Create new library for LCD on: October 15, 2013, 11:59:30 am
I did not see how_data_pins gets values.

Oliver
484  Development / Other Software Development / Re: Create new library for LCD on: October 13, 2013, 05:41:37 pm

Quote
Please send me link for creating customized drivers.
you mean something like - http://arduino.cc/en/Hacking/LibraryTutorial - ?

For sure a good starting point.
Then you just need to read the data sheet for the controller (it is a UC1608) and implement a suitable library for that display.
Indeed this would be very helpfull. As far as i know, there is no open source  library for this controller.

Oliver
485  Using Arduino / Displays / Re: Just want to share: LCD 240x64 library (GLK24064-25) on: October 11, 2013, 11:18:38 am
Hi

Your display (msg24064c from GMS) has nothing in common with the display mentioned at the beginning of this thread (a Matrix Orbital GLK24064-25). The only common thing is the display size of 240x64.

The Matrix Orbital GLK24064-25 includes a high level controller for graphic rendering, that accepts high level commands via I2C / TWI interface. The  msg24064c is much cheaper and just includes a simple display controller (the T6963). Additionally the display controller T6963 just has a 8 bit parallel interface. You will need 8 lines for data and several control lines.

Oliver



486  Using Arduino / Displays / Re: Just want to share: LCD 240x64 library (GLK24064-25) on: October 10, 2013, 04:01:48 pm
Have a look here: http://forum.arduino.cc//index.php?topic=175144.0

Also note that you display has a negative voltage converter included. So the contrast adjustment should be very simple and probably is identical to the NHD display, that was refered in the thread above: http://www.newhavendisplay.com/specs/NHD-24064CZ-FSW-GBW.pdf

Oliver
487  Using Arduino / Displays / Re: Just want to share: LCD 240x64 library (GLK24064-25) on: October 10, 2013, 01:27:43 pm
The controller is compatible to the T6963, so you can use U8glib (http://code.google.com/p/u8glib/).

Oliver
488  Using Arduino / Displays / Re: Porting OLED library to Arduino DUE troubleshooting on: October 08, 2013, 02:22:23 pm
Hi

U8glib (http://code.google.com/p/u8glib/) will work on the Arduino Due. It has also been reported, that U8glib supports the Adafruit OLED on the Uno. I personally do not own this Adafruit OLED, but it would be nice to hear whether the Adafruit OLED can be used with U8glib on the Due.

Note: Use the U8GLIB_SSD1306_128X32 constructor for this display.

Oliver
489  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: October 04, 2013, 03:36:17 pm
The new version 1.14 is available for download.

Currently there are two download locations:
Bintray: https://bintray.com/olikraus/u8glib
Google Code: http://code.google.com/p/u8glib/downloads/list

V1.14 of U8glib is mostly a bugfix release.
New features:
 * Support for the A2 micro printer
 * Ellipse draw procedure

Details are here: http://u8glib.googlecode.com/hg/ChangeLog

Oliver
490  Using Arduino / Displays / Re: Arduino uno + Hall sensor output to U8glib / 12864 graphic LCD ST7920 on: October 04, 2013, 11:42:56 am
Hi

You can remove the line with "draw()" completly. That was  copy-paste error from my side.

Oliver
491  Using Arduino / Displays / Re: Arduino uno + Hall sensor output to U8glib / 12864 graphic LCD ST7920 on: October 04, 2013, 08:47:08 am

Code:
uint8_t u8g_Begin(u8g_t *u8g);
is probably useless and might lead to a syntax error.

Additionally, you need to enclose the print commands into the "picture loop":

Replace
Code:
    u8g.print("RPM: ");
    u8g.print(rps*60);
with
Code:
  u8g.firstPage(); 
  do {
    u8g.print("RPM: ");
    u8g.print(rps*60);
    draw();
  } while( u8g.nextPage() );

Oliver
492  Community / Exhibition / Gallery / Re: Uno + GLCD + 2 Buttons = Frequency Generator 0 Hz -1 MHz on: October 03, 2013, 12:28:44 am
The graphics library is here: http://code.google.com/p/glcd-arduino/
The display is a simple KS0108 based monochrome display.

Oliver
493  Community / Website and Forum / Link to the 'unread replies' still works on: October 03, 2013, 12:21:40 am
Not sure if someone has posted this before, but i found the link to the "unread replies" in my browser history.

http://forum.arduino.cc/index.php?action=unreadreplies

It still works if your are logged in.  smiley-grin

Oliver
494  Using Arduino / Displays / Re: U8glib: Graphics Lib for LCDs and OLEDs on: October 01, 2013, 03:41:42 pm
U8glib will use the I2C subsystem, so pin 20 and 21 should be ok. However external pullups are required. Internal pullups could also be activated.

Oliver
495  Using Arduino / Displays / Re: M2tklib: Menu oon LCD, but buttons don't react on: October 01, 2013, 01:54:49 pm
Here is a code for a custom "event source" with internal debounce algorithm, where button press creates a HIGH level at the input pin.

Code:
uint8_t m2_my_event_source(m2_p ep, uint8_t msg) {
  switch(msg) {
    case M2_ES_MSG_GET_KEY:
      if ( digitalRead(7) == HIGH )
        return M2_KEY_NEXT;
      if ( digitalRead(6) == HIGH )
        return M2_KEY_SELECT;
      return M2_KEY_NONE;
    case M2_ES_MSG_INIT:
      return 0;
  }
  return 0;
}

Same event source, bypassing the m2tklib debounce algorithm:
Code:
uint8_t m2_my_event_source(m2_p ep, uint8_t msg) {
  switch(msg) {
    case M2_ES_MSG_GET_KEY:
      if ( digitalRead(7) == HIGH )
        return M2_KEY_EVENT(M2_KEY_NEXT);
      if ( digitalRead(6) == HIGH )
        return M2_KEY_EVENT(M2_KEY_SELECT);
      return M2_KEY_NONE;
    case M2_ES_MSG_INIT:
      return 0;
  }
  return 0;
}

To apply this modified event source, change
Code:
M2tk m2(&top_el, m2_es_arduino, m2_eh_4bs, m2_gh_lc);
to
Code:
M2tk m2(&top_el, m2_my_event_source, m2_eh_4bs, m2_gh_lc);

Oliver
Pages: 1 ... 31 32 [33] 34 35 ... 99