Recent Posts

Pages: [1] 2 3 ... 10
1
New Product Wishlists / Кредит налич
« Last post by SusanPlusy on Today at 05:14:29 PM »
Кредит наличными в ОТП Банке http://workle.website/2-
2
New Product Wishlists / АЛКОВЕРИН - АК
« Last post by Walterbeego on Today at 04:48:02 PM »
АЛКОВЕРИН АКТИВИРУЕТ РЕЖИМ АЛКОГОЛЬНОГО ОТТОРЖЕНИЯ
С ALCOVIRIN выпить ПРОСТО НЕ УДАСТСЯ!
 
Это первый биогенный растительный комплекс, способствующий выработке непереносимости алкоголя при совместном приеме капель и спиртных напитков, вызывая тошноту и его полное отторжение организмом!
 
Кроме того, он оказывает мощное оздоровительное действие, устраняя алкогольную интоксикацию и способствуя восстановлению правильной работы органов и систем.
 
Официальный сайт: http://alcovirin.bxox.info
3
New Product Wishlists / АЛКОВЕРИН - АК
« Last post by Walterbeego on Today at 04:43:50 PM »
АЛКОВЕРИН АКТИВИРУЕТ РЕЖИМ АЛКОГОЛЬНОГО ОТТОРЖЕНИЯ
С ALCOVIRIN выпить ПРОСТО НЕ УДАСТСЯ!
 
Это первый биогенный растительный комплекс, способствующий выработке непереносимости алкоголя при совместном приеме капель и спиртных напитков, вызывая тошноту и его полное отторжение организмом!
 
Кроме того, он оказывает мощное оздоровительное действие, устраняя алкогольную интоксикацию и способствуя восстановлению правильной работы органов и систем.
 
Официальный сайт: http://alcovirin.bxox.info
4
OLEDs / NHD-0216KZW-AG5 - serial interface - initialization
« Last post by bw on Today at 10:06:07 AM »
Hello
I use mentioned above OLED 2x16 display with serial interface.
Everything is almost ok, but i cannot find initialization procedure for serial interface.
For now i tried with 8bit parallel initialization sequence, but sometimes my oled doesn't start. Is that timing problem or something else?

What is proper way of init this display in serial mode? This is not specified in datasheet.
5
OLEDs / Re: NHD-0420CW-AB3-ND Display variables
« Last post by DataL on January 22, 2018, 04:59:53 PM »
And after much struggling, here is how to display an array of strings that have been saved in PROGMEM:

Code: [Select]
const char welcome0[21] PROGMEM = "X     Arduino      X";
const char welcome1[21] PROGMEM = "        Uno         ";
const char welcome2[21] PROGMEM = "        with        ";
const char welcome3[21] PROGMEM = "X    NHD-0420-CW   X";
const char* const welcometable[] PROGMEM = {welcome0, welcome1, welcome2, welcome3};
char welcome[21];

void LCDwelcome()  {
  Serial.println(F("Arduino Uno with NHD-0420-CW"));
  byte r = 0;                         // Row index
  byte c = 0;                         // Column index
  command(0x01);                      // Clears display (and cursor home)
  delay(2);                           // After a clear display, a minimum pause of 1-2 ms is required
    for (int r = 0; r < 4; r++)  {
      strcpy_P(welcome, (char*)pgm_read_word(&(welcometable[r])));
        command(new_line[r]);            // Moves the cursor to the first column of line [i]
        for (c=0; c<COLUMN_N; c++)  {    // One character at a time,
          data(welcome[c]);              // Displays the corresponding string
}   }   }
6
OLEDs / Re: NHD-0420CW-AB3-ND Display variables
« Last post by DataL on January 18, 2018, 06:41:38 AM »
For anybody trying to solve this issue in the future:

Code: [Select]
// global variables
char textbuffer[21];         // 20 characters plus the end marker
const int value1Pin = A0;    // sensor 1 input
int Value1;                  // sensor 1 value

void output(void);
{
   Value1 = analogRead(value1Pin);      // Capture the value of the pin
   snprintf (textbuffer1, 21, "Value 1 =  %d   ", Value1);  // Where "Value 1 = " may be any text, and %d means insert the variable after the comma (Value 1)

   r= 0;                                    // For line 1 only ("1" for line 2, "2" for 3 etc)
      command(new_line[r]);                 // Moves the cursor to the first column of that line
      for (c=0; c<COLUMN_N; c++)  {         // One character at a time,
        data(textbuffer1[c]);  }            // Displays the corresponding string
}


If you want to place two values per line or add a unit like "C" or "PSI" after the value, and don't want the second string dancing around as the first changes in size (eg; "99" to "100"):

Code: [Select]
// Not forgetting these:
const int value2Pin = A1;    // sensor 2 input
int Value2;                  // sensor 2 value

void output(void);
{
   Value2 = analogRead(value2Pin);                          // Capture the value of the pin
   snprintf (textbuffer1, 21, "Val1= %d   ", Value1);       // As above
   snprintf (textbuffer1+10, 21-10, "Val2= %d   ", Value2); // Where textbuffer1+10 starts this addition to the buffer at character 11, 21-10 means it only adds 11 characters from this position.
}

With many thanks for the good folk on forum.arduino.cc
7
OLEDs / Re: NHD-0420DZW-AY5 to replace NHD-0420DZ-FSW-FBW
« Last post by BenFR30 on January 18, 2018, 04:30:00 AM »
Hi,

Thank you for your feedback,
I have an external supply, so i have enough poower.

I'm now trying to improve delay.
Thank you for your help.
8
OLEDs / Antialiasing on NHD-2.23-12832UCW3
« Last post by Jean-Daniel Gasser on January 17, 2018, 08:48:58 AM »
Hello,
The picture illustrating the display NHD-2.23-12832UCW3 in your product list shows chars displayed with anti aliasing, is it really possible to do that on this kind of display ?



Is it possible to set the brightness of a single pixel ?

Thank you in advance for your answer.

Greetings

J-D Gasser
9
OLEDs / Re: NHD-0420DZW-AY5 to replace NHD-0420DZ-FSW-FBW
« Last post by Saurabh_B on January 17, 2018, 08:18:15 AM »
The display should be compatible for the most part, however a few minor adjustments for the firmware might be necessary.
The instruction execution time for the Oled is a fair amount slower so you might need to add a few delays or check for the busy flag before sending consecutive instructions.

The OLED does also require a larger current input through the +5V (VDD) Input as well, can you check to see if you are limited as to how much current you would be able to supply?
10
OLEDs / Re: NHD-0216MW-SB3 Font width question
« Last post by Geof Potter on January 16, 2018, 01:32:22 PM »
YES !!!  Your suggestion did indeed solve my problem.
Thanks for the help and for the link. I had not seen that version of initialization routine.

Geof
Pages: [1] 2 3 ... 10