FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    LCD1602 address setting _LCD1602 internal controller instruction

     

    LCD1602 address setting The character generated memory (CGROM) inside the LCD1602 liquid crystal module has stored 160 different dot matrix characters, these characters: Arabic numbers, English letters, commonly used symbols, and Japanese fake names, each character has A fixed code, such as the code of the capital alphabet "A" is 01000001B (41H), showing the display when the module shows the dot matrix character graphics in the address 41h, we can see the letter "a". There is a DDRAM in 1602, that is, the data RAM is displayed, which is used to store the character code to be displayed, a total of 80 bytes. If you want to display a "A" word in the first line of the LCD1602 screen, you should write the code of the "A" word to the DDRAM 00H address. However, if you want ZD to display data at the 00H address of the DDRAM, you must add 80h, ie 80h, to display data at 01H of DDRAM, you must add 80h of 81H. And so on. Description of the controller 11 inside the LCD1602 Although the LCD1602 has 16 pins, the main pin programmed is only three, which are: RS (data command selection), R / W (read write selection), E (enable signal); Some programming is actually the initialization, write commands, write data around these three pins. Command 1: Clear display, command code 01H, and the cursor is reset to the address 00h position. The main function is clear DDRAM and AC values. Instruction 2: The cursor is reset, the cursor returns to the address 00h. When AC = 0, the cursor, the screen will reply the Home bit. Command 3: Sets the movement mode of the cursor and the screen. I / D: The direction of movement of the cursor, the right right shift, low level left S: No left or right movement on the screen. High levels indicate valid, low levels are invalid. Directive 4: Display switch control. The main function is to set the display, cursor and flashing, and off. Command 5: Cursor or Displacement. No matter how the cursor and the picture move, do not return to DDRAM. Directive 6: Function Settings Command. Setting the work mode, that is, initialization instructions. Instruction 7: Character Generator RAM Address Settings. Set the CGRAM address, A5 ~ A0 = 0 ~ 3FH. Directive 8: DDRAM address settings. Command 9: Custom Signal and Cursor Address, that is, the busy flag BF value and address counter AC value (BF: is busy, high) is busy, this time the module cannot receive commands or data, if the low level is represented not busy.) Command 10: Write data, it is divided into two modes. When writing instructions, output RS = 0, RW = 0, D0 - D7 = data, EN changes from high pulses to low pulses, D0 ~ D7 status value output; when writing data, output RS = 1, RW = 0 , D0 - D7 = data, EN changes from high pulses to low pulses, with D0 ~ D7 status value output. Directive 11: Read data, there are two modes. When reading the status, enter RS ​​= 0, RW = H, EN is high change low pulse, there is a D0 ~ D7 state value output; read data is, input RS = 1, RW = 1, EN is high, low pulse, no Output. Xiaobian Recommended reading: LCD1602 liquid crystal display introduction _LCD1602 pin function How to find _LCD1602Proteus simulation in proteus LCD1602 only does not display _LCD1602 simple display program LCD1602 package _LCD1602 initializer What is the pin of LCD1602 A and K? _Lcd1602 connection method with single chip microcomputer

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us