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 ... 19 20 [21] 22 23 24
301
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.

302
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)

303
It is a 6.8 Ohm Resistor.

304
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.


305
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.

306
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?

307
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.

308
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.

309
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.

310
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.

311
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.


312
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++;     
    }
  }
}

313
OLEDs / Re: Graphic OLED bmp converter
« on: August 26, 2015, 09:56:55 AM »
Hi,

We personally use the LCDAssistant. It is freeware that converts any monochrome bmp into a hex dump which can just be copied and used into the program. The display seemed just fine when it was displaying the image from that program.

I was wondering if you could post a picture of the image you wanted to display, and how the image on the display looked. Also if possible the hexdump from the bmp tool you were using along with the subroutine to display the image.

314
TFTs / Re: FT5306 Touch Controller
« on: August 26, 2015, 09:29:28 AM »
Hi,

I was wondering if you could give me a little bit more information:

1. What size display are you using?
2. Would you be able to provide the date stamp on the touch panel of the FFC of the touch panel?
3. Also if you could provide what you have stored in registers, A3, A6 and A8 of the controller?

315
OLEDs / Re: Calculation of Font Addresses Multi‐Font Displays Help!
« on: August 26, 2015, 09:03:02 AM »
Hi,

To get the A the hex value should be 21.

There isn't a set example for the standard 5x7 fonts, you would have to rewrite the data for the language you would like to use the 4.1 calculation. So for the letter A just replace all the ASCIICODE sections with 0x21.

Parameters:
ASCIICODE: 8bit ASCII character code
Address: Address of character data

if(ASCIICODE >= 0x20 && ASCIICODE <= 0xFF)
 Address = (ASCIICODE – 0x20) *8;

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