Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Turning off/dimming backlight on LCD without I2C interface

Turning off/dimming backlight on LCD without I2C interface

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 623 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mhkid
    wrote on last edited by
    #1

    I have a 16x2 LCD without an I2C interface. I looked but can't seem to find an example of turning the backlight on and off or dim when using the LiquidCrystal.h library. Is there an example sketch and wiring diagram someone can point me to? Sorry for the basic question I just can't seem to find an example.

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by gohan
      #2

      If I remember well there should be a backlight pin that powers the backlight, just use a digital pin to control that. I'd still advise to get the i2c interface meanwhile

      M 2 Replies Last reply
      0
      • gohanG gohan

        If I remember well there should be a backlight pin that powers the backlight, just use a digital pin to control that. I'd still advise to get the i2c interface meanwhile

        M Offline
        M Offline
        mhkid
        wrote on last edited by mhkid
        #3

        @gohan I'm not an expert here so bear with me. On the LCD pin 15 goes to (+) and pin 16 goes to (-). Are you saying to connect (+) to a digital pin then set to HIGH or LOW to turn off and on?

        1 Reply Last reply
        0
        • gohanG gohan

          If I remember well there should be a backlight pin that powers the backlight, just use a digital pin to control that. I'd still advise to get the i2c interface meanwhile

          M Offline
          M Offline
          mhkid
          wrote on last edited by
          #4

          @gohan I just tried that and answered my own question (it worked). Thanks for the pointer.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          14

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular