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 - Paul_B

Pages: 1 ... 6 7 [8] 9 10 ... 17
106
Morning Phil,

Glad to hear you're up and running! Thank you for sharing your solution so anyone else having similar problems can solve them  ;)

107
Graphic LCDs / Re: NHD‐C12864A1Z‐FS(RGB)‐FBW‐HT1 Initialization
« on: January 13, 2016, 07:44:16 AM »
Morning Facotl,

Correct pin 1 starts from the left hand side, glad to hear your display is up and running  ;)

108
OLEDs / Re: NHD‐0420CW‐AG3 Contrast question
« on: January 12, 2016, 10:09:22 AM »
Morning Richard,

Glad to hear you have your display up and running! Regarding the Set Contrast command the margin of change is around 30-40%.

Please see the example code linked below as reference and to verify correct operation:

Code: [Select]
void contrast(){ // Adjusted contrast from invisible to full brightness
     
      command(0x02);
      command(0x01);
      disp2();
      for(int i = 127; i>0; i -=32){
     
      command(0x2A);                    //function set (extended command set)
      command(0x79);            //OLED Command set enabled
      command(0x81);          // Contrast
      command(i);
      command(0x78);                    //OLED command set disabled
      command(0x28);                    //function set (fundamental command set)
     
      delay(250);
    }
   
    for(int i = 1; i<256; i +=32){
     
      command(0x2A);                    //function set (extended command set)
      command(0x79);            //OLED Command set enabled
      command(0x81);          // Contrast
      command(i);
      command(0x78);                    //OLED command set disabled
      command(0x28);                    //function set (fundamental command set)
     
      delay(250);
    }
    command(0x2A);            // reset contrast to normal
    command(0x79);
    command(0x7F);
    command(0x78);
    command(0x28);
    disp();
    delay(700);
   
}
////////////////////////////////////////////////////////////////////////////////////////////////
// Fades out and in
void fade(){
  command(0x2A);                    //function set (extended command set)
  command(0x79);                    //OLED command set enabled
  command(0x23);                    // Set Fade out Mode
  command(0x20);                    // Set Fade out Mode (24 frames)
  command(0x78);                    //OLED command set disabled
  command(0x28);                    //function set (fundamental command set)
  command(0x01);
  command(0x02);
  disp1();
  delay(500);
  disp();
  command(0x2A);                    //function set (extended command set)
  command(0x79);                    //OLED command set enabled
  command(0x23);                    // Set Fade out Mode
  command(0x0A);                    // Set Fade out Mode (24 frames)
  command(0x78);                    //OLED command set disabled
  command(0x28);                    //function set (fundamental command set)
  command(0x01);
  command(0x02);
 
  delay(1250);
}

109
TFTs / Re: No Backlighting
« on: December 21, 2015, 08:35:09 AM »
Morning Peter,

We are in the process of offering a controller board which will support our Sunlight Readable and Premium 4.3" TFT displays. This will be available to our customers in a couple weeks.

In the short term, just to get things up and running you can make the modifications listed above or hold off until these new controller boards are released  :D
 

110
TFTs / Re: No Backlighting
« on: December 18, 2015, 09:08:49 AM »
Hi Peter,

Please see the information below:

Digi-Key Part Number   RHM7.87CICT-ND
7.87 OHM  1/8W 0805

Hope this helps!

111
TFTs / Re: NHD-5.0-800480TF with IMX5 Arm Cortex A8 processor Android
« on: December 17, 2015, 08:00:29 AM »
Hi Alex,

Sounds like an awesome project! Its a little difficult to tell by your photo, however it would appear that your pxl-clk isn't configured correctly. Can you please try and upload some additional pictures?

Finally, please review the timing below which has worked for me in the past  ;)

Code: [Select]
display-timings {
+ native-mode = <&timing0>;
+ /* Settings for NHD-5.0-800480TF-ATXL#: */
+ timing0: 800x480 {
+ clock-frequency = <45000000>;
+ hactive         = <800>;
+ vactive         = <480>;
+ hback-porch     = <40>;
+ hfront-porch    = <40>;
+ hsync-len       = <48>;
+ vback-porch     = <29>;
+ vfront-porch    = <13>;
+ vsync-len       = <3>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ };

112
Character LCDs / Re: NHD-C0220BiZ-FSW-FBW-3V3M Problem -- Doesn't power on
« on: December 10, 2015, 08:07:52 AM »
Hi Sukho,

If you would like to power on the displays backlight you will need to apply 3V @30mA (Typ.) respectively to the Anode and Cathode pins.

The wiring diagram (See page 4) shows the anode A connected to power (upward facing triangle) and the cathodes are shown connected to ground (downwards facing triangles).

http://www.newhavendisplay.com/specs/NHD-C0220BiZ-FSW-FBW-3V3M.pdf


113
Character LCDs / Re: NHD-C0220BiZ-FSW-FBW-3V3M Problem -- Doesn't power on
« on: December 09, 2015, 11:36:29 AM »
Hi Sukho,

To answer your question, No you will not see any characters appear on the LCD. Before you can really use the LCD, you must initialize and configure it. This is accomplished by sending a number of initialization instructions to the LCD.


114
Character LCDs / Re: NHD-C0220BiZ-FSW-FBW-3V3M Problem -- Doesn't power on
« on: December 08, 2015, 08:48:16 AM »
Hello Sukho!

I’m sorry to hear about the trouble you are having with NHD-C0220BiZ-FSW-FBW-3V3M. Before you can really use the LCD, you must initialize and configure it. This is accomplished by sending a number of initialization instructions to the LCD.

Please see our "Example Initialization Program" listed on page 11 in the displays datasheet:

http://www.newhavendisplay.com/specs/NHD-C0220BiZ-FSW-FBW-3V3M.pdf

Next, it would be helpful to verify your wiring / pinout. Feel free to post it below.

Finally the pin connection / wiring diagram in the displays datasheet is correct. The pin numbering listed in the mechanical drawing 8 - 1 (left to right) is there to help distinguish the correct pin order.

Please following the pin description table listed on page 4 in the displays datasheet and take special note of where pin 1 is located on the physical display when wiring.

Hope this helps!







115
OLEDs / Re: OLED SPI Chip Select (CS)
« on: November 10, 2015, 01:32:55 PM »
Hello,

I highly recommend you check out the controllers datasheet, see page 20 - 21:

http://www.newhavendisplay.com/app_notes/SSD1351.pdf

Table 8-5 and Figure 8-5 should clear things up  ;)






116
TFTs / Re: NHD-7.0-800480EF-ATXV#-CTP Backlight converter
« on: November 02, 2015, 04:17:40 PM »
Hi Paul!

One recommendation off the top of my head is the FAN5333BSX.

Digi-Key Part#: FAN5333BSXCT-ND
Datasheet: www.fairchildsemi.com/datasheets/FA/FAN5333A.pdf

Hope this helps, feel free to contact me if you have any questions!



117
OLEDs / Re: NHD0420CW-Ax3 display with Arduino Uno - Tutorials
« on: October 20, 2015, 07:46:58 AM »
In order for you to send the “Set Contrast Control”  command RE and SD must be set to 1, please see the attachment.

E.g. The following commands set RE – SD  to the appropriate values before setting the contrast.

command(0x78);
command(0x2A);
command(0x79);             

I recommend you review the US2066 datasheet, this will give you a better understanding on how to send commands.

http://www.newhavendisplay.com/app_notes/US2066.pdf

Hope this helps  ;)

118
OLEDs / Re: NHD0420CW-Ax3 display with Arduino Uno - Tutorials
« on: October 20, 2015, 07:44:56 AM »
Please try this code, let me know if the contrast changes.

https://github.com/NewhavenDisplay/NHD_US2066

Code: [Select]
//---------------------------------------------------------
/*

NHD_0216AW_XB3.ino

Program for writing to Newhaven Display Slim OLEDs based on US2066 controller.

Pick one up today in the Newhaven Display shop!
------> http://www.newhavendisplay.com/oled-slim-character-oleds-c-119_825.html

This code is written for the Arduino Mega.

Copyright (c) 2015 - Newhaven Display International, LLC.

Newhaven Display invests time and resources providing this open source code,
please support Newhaven Display by purchasing products from Newhaven Display!

*/
//---------------------------------------------------------

#include <SPI.h>
#include <Arduino.h>
#include <Wire.h>
#include <avr\io.h>

#include "NHD_US2066.h"
unsigned char text1[] = {" Please Support "};
unsigned char text2[] = {"  Open-Source   "};
unsigned char text3[] = {"   Hardware &   "};
unsigned char text4[] = {"   Software !!  "};

unsigned char text5[] = {"Newhaven Display"};
unsigned char text6[] = {" 2X16 Character "};
unsigned char text7[] = {"  Slim  Design  "};
unsigned char text8[] = {"----------------"};



void output()
{
                int i;

        command(0x01);
        delay(2);
        for(i=0;i<16;i++){
          data(text1[i]);
        }
       
        command(0xA0);
        for(i=0;i<16;i++){
          data(text2[i]);
        }

        delay(2000);

        command(0x01);
        delay(2);
        for (i=0;i<16;i++){
                                data(text3[i]);
        }
               
        command(0xA0);
        for (i=0;i<16;i++){
                                data(text4[i]);
        }

        delay(3500);
       
        command(0x01);
        delay(2);
        for(i=0;i<16;i++){
          data(text5[i]);
        }
       
        command(0xA0);
        for(i=0;i<16;i++){
          data(text6[i]);
        }

        delay(2000);

        command(0x01);
        delay(2);
        for (i=0;i<16;i++){
                                data(text7[i]);
        }
               
        command(0xA0);
        for (i=0;i<16;i++){
                                data(text8[i]);
        }

}

void blocks()
{
                int i;

        command(0x01);
        delay(2);

        for(i=0;i<16;i++){
          data(0x1F);
        }

        command(0xA0);
        for(i=0;i<16;i++){
          data(0x1F);
        }
}

void setup()
{
init_oled();
}

void loop()

  while(1)
  {
    //output();
   
    blocks();
    command(0x78);
    command(0x2A);
    command(0x79);
   
    command(0x81);  //set contrast control
    command(0x01);  //set contrast control
   
    delay(2000);
   
    command(0x81);  //set contrast control
    command(0xFF);  //set contrast control
   
    delay(2000); 
  }
}


119
OLEDs / Re: Connector type on NHD-2.7-12864UCY3
« on: October 09, 2015, 08:07:04 AM »
Hello,

Please see the part numbers below:

Molex Part# (20-Pin 1.0mm Pitch Top Contact):
52207-2060

Molex Part# (20-Pin 1.0mm Pitch Bottom Contact):
52271-2069

Feel free to contact me if you have any questions  ;)

Pages: 1 ... 6 7 [8] 9 10 ... 17