Recent Posts

Pages: [1] 2 3 ... 10
TFTs / when will a generic viagra be available
« Last post by Agustinpes on January 22, 2019, 08:38:29 PM »
generic viagra covered by medicare Bonuses
what pharmacies sell generic viagra navigate to these guys
generic viagra in the united states like it
generic viagra egypt visit this web-site
generic viagra usage <a href="">official statement</a>
generic viagra ndc <a href="">click this over here now</a>
when will generic viagra be available in canada <a href="">investigate this site</a>
generic viagra when will it be available <a href="">agree with</a>
Character LCDs / Re: Static Discharge recommendation
« Last post by Virginia Controls on January 21, 2019, 01:19:00 PM »
In answering my own question, I found New Haven's Handling Procedures document - which appropriately warns of the ESD sensitivity of CMOS components.  I get that.  What I am looking for is suggestions on how I can improve the displays protection against ESD when it is shipped to customers who will most likely not have an ESD program in place.

I personally have zapped 3 displays by touching them with my knuckle on the lower right edge of the PC board (we have a keypad mounted right below the display, so it is easy to accidentally touch the display.)

Somewhere on New Haven's website, there is a reference to Elwood Controls who makes bezels for the displays.  I contacted them, but we could not agree on how to design a custom bezel to completely cover this particular display.  This issue is made worse by the fact that the NHD drawing in the data sheet does not exactly match the actual display.  The back light panel is longer than the drawing shows and the back light LED leads wrap around the right edge of the PC board instead of going through the PC board.
Character LCDs / Static Discharge recommendation
« Last post by Virginia Controls on January 21, 2019, 12:53:23 PM »
We use the ND-0420DZ-FSW-FBW in our product.  We have accidentally 'zapped' 4 displays with electrostatic charges (ESD) recently that cause the displays to either go blank or show random streaks through the display.  What is the ESD rating on the display and is there anywhere on the display that can be grounded to make is less sensitive to ESD?
TFTs / Connect NHD2.4-240320CF to ARM M0
« Last post by charsmud on January 20, 2019, 11:52:37 PM »
I'm a little confused by the wiring diagram provided.  How am I supposed to connect the pins to an ARM M0 (Specifically and this TFT: ) Do I just connect CS, DC, WR, RD, DB0 to DB15 and RES to GPIOs?
Character LCDs / Re: NHD-0220FZ-FSW-GBW-P-33V3
« Last post by timbro on January 19, 2019, 05:36:48 AM »
Hi Alee_S,

There is no problem with contrast. it can be changed from 0.004 <-> 3.294 Vdc. It is a 10 turn pot and I have tried it across the full range.
By default the display is in 1-line mode. It has become pretty clear to us that it is not accepting 2-line configuration. Still have no idea why.
I have another question about your code... what does your PORTD consist of?
We are using 2 pins on the same port that we also use for DB4<->DB7, so we are setting these, (DB4<->DB7), bitwise - however, there is something quite strange - you apply 0x28 for 2-line mode (0010 1000)  - you don't send each nibble separately, so it would be very helpful to me if you could tell me exactly what you have connected to PORTB - bits 0 through 7, what are they connected to?

Kind regards   
Character LCDs / Re: NHD-0220FZ-FSW-GBW-P-33V3
« Last post by Alee_S on January 17, 2019, 09:34:57 AM »
Hi timbro,

For more information on 'Internal Reset Circuit', please see the attachment below, taken from Pg. 22 of the ST7066U controller datasheet. Please note those instructions are executed in the initialization section of the code I have provided.

The LCD working in 1-line mode is a good sign! It seems that under 2-line mode, the LCD is not receiving enough contrast to show the text properly. Try adjusting the contrast voltage on Pin 3, and hopefully that will do the trick.
Character LCDs / Re: NHD-0220FZ-FSW-GBW-P-33V3
« Last post by timbro on January 17, 2019, 05:37:35 AM »
Hi Alee_S
I found a post on this forum related to a display with the same driver that is 4 x 20 and he was saying that he could only get his display to work in 1-line mode. I decided that I would try changing it to 1-line mode and see if it would work and it certainly did.
So my problem has now advanced to trying to make the display work with both lines. The guy did work out a solution however it is not explained very clearly and I have not been able to work out what the solution actually was. The link to the post is below.,1053.msg2502.html#msg2502

It would be very helpful if you could decipher this guys final comments and let me know what it actually means.

Kind regards,
TFTs / Re: Image Alignment - 480x272 image on 800x480 TFT
« Last post by Ted_M on January 16, 2019, 11:36:23 AM »
Hi Mike,

I have sent you an email with a recommendation to compare the RGB timings in the example code you're using with the RGB timing values in our 5" TFT's datasheet as a starting point.
Let us know if this resolves the issue.

Best Regards,
OLEDs / NHD-3.12-25664UCB2 Contrast Inconsistencies
« Last post by pointbreeze on January 15, 2019, 11:04:54 AM »
Hello. Below are two pictures showing what my display looks like when I run the 0xA5 command, turning all pixels to max brightness GS15, under two different contrast levels. The first contrast level - 0x7F, produces a consistent brightness, but the second contrast level- 0xFF displays regular brightness variations in the horizontal direction. I will also provide my intialization sequence as well. I haven't tried all contrast levels yet, but every contrast level other than 0x7F i have tried seems to also give an irregular display pattern for maximum brightness.

0x7F contrast:

0xFF contrast:

Code: [Select]
oled_send_cmd(oled, SET_CMD_LOCK);
oled_send_data(oled, 0x12); // 0x12 allows the dislplay MCU to receive commands. 0x16 locks MCU

oled_send_cmd(oled, SET_FRONT_CLK_DIV);
oled_send_data(oled, 0x91); // first 4 bits is the clock divider, 0xD0 sets divider to 1. second 4 bits specified frequency of the clock.

oled_send_cmd(oled, SET_MULTIPLEX_RATIO);
oled_send_data(oled, 0x3F); // Sets the number of common pins, each of which control one row. 0x3F corresponds to 64 rows.

oled_send_cmd(oled, SET_DISP_OFFSET);
oled_send_data(oled, 0x0); // Specifies which row the display will start with.
      // 0x0 = starting at row 0. Non zero value will cause vertical wrapping

oled_send_cmd(oled, SET_DISP_START_LN);
oled_send_data(oled, 0x0); // Functionally the same as SET_DISP_OFFSET

oled_send_cmd(oled, SET_REMAP_DUAL_COM);
oled_send_data(oled, 0x06);  // first bit Sets Horizontal Address Increment (writing to display ram will wrap to next row)
         // second bit Sets Column Address Remap - Pixels are represented by nibbles called segments. There are 4 segments in a column.
// This maps Columns 0 - 119 -> SEG(476-479 ~ 0-3 ), backwards.
        // third bit Enables Nibble Re-map. Each nibble in a column maps to pixels in horizontal reading order.
        // fourth bit Rows are displayed first to last
       // fifth bit disables COM Split Odd Even: Com 0 will correspond to Row 0
oled_send_data(oled, 0x0);  // fifth bit disables dual com mode (row's contents are split betwee two coms.)

oled_send_cmd(oled, SET_GPIO); // Disables gpio input pins
oled_send_data(oled, 0x00);

oled_send_cmd(oled, SET_FUNC_SEL);
oled_send_data(oled, 0x01); // Uses internal voltage regulattor

oled_send_cmd(oled, ENHANCE_A);
oled_send_data(oled, 0xA0); // first bit 0 enables external Voltage low reference signal
oled_send_data(oled, 0xB5); // Normal display quality

oled_send_cmd(oled, SET_CONTRAST_CURRENT);
oled_send_data(oled, 0xFF); // Sets contrast leevl of display, higher value gives higher contrast (max 256)

oled_send_cmd(oled, MASTER_CURR_CTRL);
oled_send_data(oled, 0x0F); // first 4 bits - sets output current. Lower values reduce output current.

oled_send_cmd(oled, SET_DEF_LN_GRAYSCALE_TBL); // Uses default gray scale table for brightness of pixels.

oled_send_cmd(oled, SET_PHASE_LENGTH); // first 4 bits, sets phase 1 period to 5 clocks. Second 4 bits sets phase 2 period, set to 7 clocks
oled_send_data(oled, 0xE2);

oled_send_cmd(oled, ENHANCE_B);
oled_send_data(oled, 0x82); // Set to "enhance display performance".
oled_send_data(oled, 0x20); // Required to send, is not configurable

oled_send_cmd(oled, SET_PRE_CHARGE_VOLTAGE);
oled_send_data(oled, 0x1F); // sets precharge voltage to 0.6 * Vcc

oled_send_cmd(oled, SET_SECOND_PRE_CHARGE_PERIOD);
oled_send_data(oled, 0x08); // prechage period is 8 clocks

oled_send_cmd(oled, SET_VCOMH);
oled_send_data(oled, 0x07);  // sets vcomh to 0.86 * Vcc

oled_send_cmd(oled, SET_DISPLAY_WHITE);  // Normal, as opposed to off or inverted

oled_send_cmd(oled, EXIT_PARTIAL_DISP);

oled_send_cmd(oled, SET_SLEEP_MODE_OFF);
Character LCDs / Re: NHD-0220FZ-FSW-GBW-P-33V3
« Last post by Alee_S on January 14, 2019, 04:19:50 PM »
The delay function is set for 1 ms. So a delay(1000) = 1000 ms, or 1 second.

Did you have a chance to review the code provided vs the code used for other displays for their similarities/differences?

Once again, may you please upload images of your hardware connections, along with your measured contrast voltage across both limits of the POT? This would help me get closer to determining where the root issue lies.

Also, if you can provide P/N of some of the other displays you have successfully powered on, I can review their specs to see if there are software/hardware differences between our display and the other displays you have been using.

Pages: [1] 2 3 ... 10