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 ... 21 22 [23] 24 25 26
331
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.


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

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

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

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

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

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

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


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

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

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

342
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;

343
OLEDs / Re: NHD-2.7-12864UMY3 Mechanical Info
« on: August 25, 2015, 08:15:22 AM »
OLED displays are generally more rugged than traditional LCD's. But if you want something that sunlight readable, an OLED might not be the best way to go. If you are interested in this display we could supply a custom part where this display would come with a touch panel.  If you are interested in customizing this display please email us at nhtech@newhavendisplay.com

If you are looking at standard parts with a touch screen we do have our TFT displays that already come with a touch panel. We have a 2.4" Resistive Touch TFT, although the touchscreen does reduce the brightness considerably. We also have a new line of sunlight readable TFT displays that are coming out soon, if the physical size of the 3.5" Displays work for you; we will have a sunlight readable variant coming out with a touch panel as a standard part.

344
OLEDs / Re: NHD-2.7-12864UMY3 Mechanical Info
« on: August 24, 2015, 11:25:12 AM »
Hi,

The part is attached to the PCB through the bezel. To connect to the display you could use either the 22 pin through holes or use a Molex connector; which would be soldered to the pads beneath the 22 pin through holes. We do offer a service of attaching either connector to the display.
1X22 Pin Header Soldered onto your Display
22 Pin Molex Connector

The PCB does have mounting holes on the corners; the mounting holes have a diameter of 2.5mm. You can see both the mounting holes and connections on a larger image of the display itself. Larger Image of NHD-2.7-12864UMY3

We will look into the issue you were having with the Capcha images.

345
These codes will work for the displays, they were written for the ST7066U controller; so you would need to increase some of the time between the instructions.
8-bit C code:          http://www.newhavendisplay.com/app_notes/8_bit_character_C.txt
4-bit Basic code:    http://www.newhavendisplay.com/app_notes/4_bit_character.txt

If you want the serial code please email nhtech@newhavendisplay.com

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