newhaven display nhd 0216k1z nsw bbw l datasheet

Upload: qwertboyo

Post on 02-Mar-2016

8 views

Category:

Documents


0 download

DESCRIPTION

Useful pdf for wiring and using a common LCD display.

TRANSCRIPT

  • [1]

    NHD0216K1ZNSWBBWLCharacterLiquidCrystalDisplayModule

    NHD NewhavenDisplay0216 2linesx16charactersK1Z ModelN Transmissive SW SideWhiteLEDBacklightB STNBlue()B 6:00viewW WideTemperature(20C~+70C)L LowPower20mA RoHSCompliant

    NewhavenDisplayInternational,Inc. 2511TechnologyDrive,Suite101 ElginIL,60124 Ph:8478448795 Fax:8478448796

    [email protected] [email protected]

  • [2]

    DocumentRevisionHistoryRevision Date Description Changedby

    0 10/5/2007 InitialRelease 1 12/17/2009 UserGuideReformat BE2 1/7/2010 Opticalrevised BE3 1/6/2011 Alternatecontrollerinformationupdated AK4 4/5/2011 ImprovedPolarizer,IncreasedBacklight,RedesignedModule JT5 4/6/2011 Mechanicaldrawingupdated AK6 4/8/2011 Electrical/Opticalcharacteristicsupdated AK

    FunctionsandFeatures 2linesx16characters Builtincontroller(SPLC780DorST7066U) +5.0VPowerSupply 1/16duty,1/5bias RoHScompliant

  • Mechanical Drawing

    Newhaven DisplayNHD-0216K1Z-NSW-BBW-L

    STN- Blue (-)

    -30 C~+80 C-20 C~+70 C

    Side White

  • [4]

    PinDescriptionandWiringDiagramPinNo. Symbol External

    ConnectionFunctionDescription

    1 VSS PowerSupply Ground2 VDD PowerSupply SupplyVoltageforlogic(+5.0V)3 V0 AdjPowerSupply Powersupplyforcontrast(approx.0.5V)4 RS MPU Registerselectsignal.RS=0:Command, RS=1:Data5 R/W MPU Read/Writeselectsignal,R/W=1:Read R/W:=0:Write6 E MPU Operationenablesignal. Fallingedgetriggered.

    710 DB0DB3 MPU Fourloworderbidirectionalthreestatedatabuslines.Thesefourarenotusedduring4bitoperation.

    1114 DB4DB7 MPU Fourhighorderbidirectionalthreestatedatabuslines.15 LED+ PowerSupply PowersupplyforLEDBacklight(+5.0Vviaonboardresistor)16 LED PowerSupply GroundforBacklight

    RecommendedLCDconnector:2.54mmpitchpinsBacklightconnector:Mateswith:

  • [5]

    ElectricalCharacteristics

    Item Symbol Condition Min. Typ. Max. UnitOperatingTemperatureRange Top AbsoluteMax 20 +70 CStorageTemperatureRange Tst AbsoluteMax 30 +80 CSupplyVoltage VDD 4.5 5.0 5.5 VSupplyCurrent IDD Ta=25C,VDD=5.0V 1.2 1.5 mASupplyforLCD(contrast) VDDV0 Ta=25C 3.7 VHLevelinput Vih 0.7VDD VDD VLLevelinput Vil 0 0.6 VHLeveloutput Voh 3.9 VLLeveloutput Vol 0.4 V BacklightSupplyVoltage Vled 5.0 VBacklightSupplyCurrent Iled Vled=5.0V 16 mA

    OpticalCharacteristicsItem Symbol Condition Min. Typ. Max. Unit

    ViewingAngleVertical(top) AV Cr 2 20 ViewingAngleVertical(bottom) AV Cr 2 40 ViewingAngleHorizontal(left) AH Cr 2 30 ViewingAngleHorizontal(right) AH Cr 2 30 ContrastRatio Cr 3 ResponseTime(rise) Tr 150 200 msResponseTime(fall) Tf 150 200 ms

    ControllerInformationBuiltinSPLC780D.Downloadspecificationathttp://www.newhavendisplay.com/app_notes/SPLC780D.pdfBuiltinST7066U.Downloadspecificationathttp://www.newhavendisplay.com/app_notes/ST7066U.pdf

  • [6]

    BuiltinFontTable

  • [7]

    ExampleInitializationProgram 8-bit Initialization: /**********************************************************/ void command(char i) { P1 = i; //put data on output Port D_I =0; //D/I=LOW : send instruction R_W =0; //R/W=LOW : Write E = 1; Delay(1); //enable pulse width >= 300ns E = 0; //Clock enable: falling edge } /**********************************************************/ void write(char i) { P1 = i; //put data on output Port D_I =1; //D/I=LOW : send data R_W =0; //R/W=LOW : Write E = 1; Delay(1); //enable pulse width >= 300ns E = 0; //Clock enable: falling edge } /**********************************************************/ void init() { E = 0; Delay(100); //Wait >15 msec after power is applied command(0x30); //command 0x30 = Wake up Delay(30); //must wait 5ms, busy flag not available command(0x30); //command 0x30 = Wake up #2 Delay(10); //must wait 160us, busy flag not available command(0x30); //command 0x30 = Wake up #3 Delay(10); //must wait 160us, busy flag not available command(0x38); //Function set: 8-bit/2-line command(0x10); //Set cursor command(0x0c); //Display ON; Cursor ON command(0x06); //Entry mode set } /**********************************************************/

  • [8]

    4-bit Initialization: /**********************************************************/ void command(char i) { P1 = i; //put data on output Port D_I =0; //D/I=LOW : send instruction R_W =0; //R/W=LOW : Write Nybble(); //Send lower 4 bits i = i

  • [9]

    QualityInformation

    TestItem ContentofTest TestCondition NoteHighTemperaturestorage Endurancetestapplyingthehigh

    storagetemperatureforalongtime.+80C,48hrs 2

    LowTemperaturestorage Endurancetestapplyingthelowstoragetemperatureforalongtime.

    30C,48hrs 1,2

    HighTemperatureOperation

    Endurancetestapplyingtheelectricstress(voltage&current)andthehighthermalstressforalongtime.

    +70C48hrs 2

    LowTemperatureOperation

    Endurancetestapplyingtheelectricstress(voltage&current)andthelowthermalstressforalongtime.

    20C,48hrs 1,2

    HighTemperature/HumidityOperation

    Endurancetestapplyingtheelectricstress(voltage&current)andthehighthermalwithhighhumiditystressforalongtime.

    +40C, 90%RH, 48hrs 1,2

    ThermalShockresistance Endurancetestapplyingtheelectricstress(voltage&current)duringacycleoflowandhighthermalstress.

    0C,30min>25C,5min>50C,30min=1cycle10cycles

    Vibrationtest Endurancetestapplyingvibrationtosimulatetransportationanduse.

    1055Hz,15mmamplitude.60secineachof3directionsX,Y,ZFor15minutes

    3

    Staticelectricitytest Endurancetestapplyingelectricstaticdischarge.

    VS=800V,RS=1.5k,CS=100pFOnetime

    Note1:Nocondensationtobeobserved.Note2:Conductedafter4hoursofstorageat25C,0%RH.Note3:Testperformedonproductitself,notinsideacontainer.

    PrecautionsforusingLCDs/LCMsSeePrecautionsatwww.newhavendisplay.com/specs/precautions.pdf

    WarrantyInformationandTerms&Conditionshttp://www.newhavendisplay.com/index.php?main_page=terms