Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Saurabh_B

Pages: 1 ... 20 21 [22] 23 24 25
316
OLEDs / Re: Instruction execution time for slim OLEDs?
« on: September 17, 2015, 04:23:32 PM »
I would say follow the timing diagrams.

317
HI,

Unfortunately we do not have a 16 bit controller board for the 5.7" TFT displays. However the NHD-5.7-320240WFB-ETXI#-1 does come with a 16 bit controller.

And for the month of September we have a 10% off sale on all of our TFT displays if you were interested in this display.

318
OLEDs / Re: Calculation of Font Addresses Multi‐Font Displays Help!
« on: September 11, 2015, 10:54:16 AM »
Hi, Here is some information if it can help at all:

  • The dummy Variable is 0xFF
  • You would want to save the information coming back from the MF Chip into an 8X8 Array. The MF chip will give you 8 sets of bytes. With the bytes, B0-B7 will be the font information.
  • The bits will be vertical, so you could display the information one of 2 ways, either using the bit that corresponds with the line you are currently writing and go horizontally, or go through each bit and write vertically

319
You wouldn't have to, the 6.8 ohm resistor is dropping the voltage down by 0.72 V so voltage drop across the backlight is 4.28V.


I just hooked up a the sample which I used to confirm the resistance to a power supply. While at 5V it is using 125 mA. so in this case the resistor is dropping the voltage by .75V, from which the backlight has a drop of 4.25V. You can attach a potentiometer to pin15 to drop the voltage further and decrease the brightness if you would like.

320
Character LCDs / Re: software controlled contrast is not consistent
« on: September 10, 2015, 12:31:38 PM »
Hi,

The hardware will play a role in the contrast. The 2 capacitors are part of a booster circuit that steps up the voltage required to create the contrast.

I was wondering how big of a difference you are seeing in the contrast? If possible to take a picture comparing 2 displays.

Also are there any differences between the boards on which the displays look a little bit darker? (Voltage, Resistance, or capacitance)

321
It is a 6.8 Ohm Resistor.

322
Hi Gregory,

It looks like were having trouble sending an email to you last night, but you want to have the backlight anode connected to pin 15. The on resistor is in series there, if you apply the power to the A directly you could damage the backlight.


323
OLEDs / Re: Calculation of Font Addresses Multi‐Font Displays Help!
« on: September 08, 2015, 09:45:34 AM »
Hi,

I am looking into this, but your logic seems fine. I would stick to using the dummy variable that is in the Multi-Font display spec.

324
OLEDs / Re: Troubleshooting Help
« on: September 03, 2015, 08:00:22 AM »
Would it be possible to get a pin-out diagram, along with your initialization routine?

325
TFTs / Re: NHD-5.0-800480TF-ATXL-CTP Yellow Tint
« on: September 02, 2015, 07:58:00 AM »
Hi,

I was wondering if you could post a picture of the 7" display to see what the original image is supposed to look like, and also if you have tried this with another 5" display.

326
OLEDs / Re: What hex command to invert text
« on: August 31, 2015, 01:56:01 PM »
This will invert the whole display. Unfortunately I don't think its possible to invert just 1 line of the display.

There is the option of creating custom characters, but you are limited to 8 characters, so depending on how many characters you would want inverted I would suggest going that route.

327
OLEDs / Re: What hex command to invert text
« on: August 31, 2015, 08:40:36 AM »
Hi,

To invert the black/white for this display you would have to change the REV bit in the Function Set command, So if you send 0x2B, that should inverse the display. To set it back to normal you would want to send 0x2A, also to get back to the normal commands be sure to send the 0x28 to reset the RE bit.

Unfortunately we do not have any libraries for the controller.

328
Character LCDs / Re: R/W signal NHD-C0216CZ-FSW-FBW-3V3
« on: August 28, 2015, 09:18:17 AM »
Yes, unfortunately with the serial interface the controller's serial data pin is an input only. You would not be able to read from this display.

329
TFTs / Re: NHD-4.3-480272EF-ATXL#-T FFC Connector
« on: August 28, 2015, 08:08:37 AM »
Hi,

Either the 54104-4031 or the 54132-4062 will work just fine, The deciding factor is where you would be likely to mount the display. On our controller they use a top contact FFC connector because it is often attached onto the bezel of the display.


330
OLEDs / Re: Graphic OLED bmp converter
« on: August 27, 2015, 10:18:08 AM »
One way of doing this is converting a hexdump with LCD Assistant with the following settings:
Horizontal Byte Orientation
Little Endian
8pixels/byte

The variables I pass to the function are:
*img = points to image hexdump array
a = column start
b = column end
c = row start
d = row end

Code: [Select]
void Show(unsigned char *img, unsigned char a, unsigned char b, unsigned char c, unsigned char d) {
 
  unsigned char    *src, temp, result;  // Source Pointer, Temp Value, Result after masking
  unsigned char i, j;                   //Variables for loops
  int cnt = 0;                          //Counter for array
  column(a, (b/2));                     //Column Set
  row(c, d);                            //Row Set
  src = img;

 /****************DISPLAY LOOP*******************************/
  for (i = 0; i <= d; i++)   // monochrome image only, no grayscale so pixels are on or off.
  {
    for (j = 0; j <= (b/8); j++)
    {
      temp = *src;
      result = temp & 0xC0; // Mask for 2 MSB
      if( result == 0xC0 ) {data(0xFF);}
      else if ( result == 0x80 ) {data(0xF0);}
      else if ( result == 0x40 ) {data(0x0F);}
      else data(0x00);

      result = temp & 0x30; // mask for next 2 bits
      if ( result == 0x30 ) {data(0xFF);}
      else if( result == 0x20 ){ data(0xF0);}
      else if( result == 0x10 ){ data(0x0F);}
      else data(0x00);

      result = temp & 0x0C; //mask for bits 3&4
      if ( result == 0x0C) {data(0xFF);}
      else if( result == 0x08 ) {data (0xF0);}
      else if( result == 0x04 ) {data (0x0F);}
      else data(0x00);

      result = temp & 0x03;
      if( result == 0x03 ) {data(0xFF);}
      else if( result == 0x02) {data(0xF0);}
      else if( result == 0x01) {data(0x0F);}
      else data(0x00);
      src++;     
    }
  }
}

Pages: 1 ... 20 21 [22] 23 24 25