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. Real Time Clock with Display Example

Real Time Clock with Display Example

Scheduled Pinned Locked Moved Development
displayrtc
12 Posts 7 Posters 7.0k 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.
  • K Offline
    K Offline
    korttoma
    Hero Member
    wrote on last edited by korttoma
    #3

    I was thinking the same thing as @GREGL
    I'm using the following to initialize my LCD:

    LiquidCrystal_I2C lcd(0x27,20,4);
    lcd.init();

    Don't think I'm using the same Lib either.

    • Tomas
    1 Reply Last reply
    0
    • greglG Offline
      greglG Offline
      gregl
      Hero Member
      wrote on last edited by gregl
      #4

      I was just poking around on codebender and found the lib..but none of the examples use all these params.

      IIRC ,I use a different lib...as my i2c lcd controllers are pretty old..byvac from memory.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hek
        Admin
        wrote on last edited by
        #5

        Found the new liquidcrystal library while searching my display Funduino/1602.

        The parameters are:

        addr, en,rw,rs,d4,d5,d6,d7,bl,blpol
        

        https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads

        Example:
        http://jaredstemen.blogspot.se/2014/01/getting-funduino-1602-lcd-to-print.html

        1 Reply Last reply
        0
        • K Offline
          K Offline
          korttoma
          Hero Member
          wrote on last edited by
          #6

          Tried the lib out in my setup and it seems to be working just fine so I think I will use that one to so that I can be on the same page as @hek

          • Tomas
          H 1 Reply Last reply
          0
          • K korttoma

            Tried the lib out in my setup and it seems to be working just fine so I think I will use that one to so that I can be on the same page as @hek

            H Offline
            H Offline
            hek
            Admin
            wrote on last edited by
            #7

            @korttoma

            I has been checked in to master.

            https://github.com/mysensors/Arduino/tree/master/libraries/LiquidCrystal

            1 Reply Last reply
            0
            • B Offline
              B Offline
              bjornhallberg
              Hero Member
              wrote on last edited by bjornhallberg
              #8

              These OLED displays seem pretty cool also if the quality is ok and the library doesn't eat up too much space:
              https://www.youtube.com/watch?v=mMiMNTv25Bw
              A lot more information being displayed in a much smaller package. Price is similar to the 16x2 LCD and they run on 3.3-5V apparently. Available as I2C also.

              M 1 Reply Last reply
              0
              • greglG Offline
                greglG Offline
                gregl
                Hero Member
                wrote on last edited by
                #9

                Hey maybe i can use this with the microview http://forum.mysensors.org/topic/48/idea-s-microview/

                1 Reply Last reply
                0
                • B bjornhallberg

                  These OLED displays seem pretty cool also if the quality is ok and the library doesn't eat up too much space:
                  https://www.youtube.com/watch?v=mMiMNTv25Bw
                  A lot more information being displayed in a much smaller package. Price is similar to the 16x2 LCD and they run on 3.3-5V apparently. Available as I2C also.

                  M Offline
                  M Offline
                  marceltrapman
                  Mod
                  wrote on last edited by
                  #10

                  @bjornhallberg said:

                  These OLED displays seem pretty cool also if the quality is ok and the library doesn't eat up too much space:
                  https://www.youtube.com/watch?v=mMiMNTv25Bw
                  A lot more information being displayed in a much smaller package. Price is similar to the 16x2 LCD and they run on 3.3-5V apparently. Available as I2C also.

                  I have a couple of these (I2C) and they are great.
                  I have tried to use them together with a temp sensor but I failed doing so.
                  I was able to compile and upload the sketch but due to a lack of patience I did not investigate why it failed.
                  My gut feeling is that the problem was the use of too many string values...

                  Fulltime Servoy Developer
                  Parttime Moderator MySensors board

                  I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                  I have a FABtotum to print cases.

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Rek
                    wrote on last edited by
                    #11

                    I have a couple of these OLED displays on order, will see if I can get them working with the sensors.

                    1 Reply Last reply
                    0
                    • H hek

                      Put together a new example inspired by @gregl for the RTC module.
                      Also added a display to show date, time and temperature.

                      http://www.mysensors.org/build/display

                      https://codebender.cc/sketch:48371

                      cadetC Offline
                      cadetC Offline
                      cadet
                      wrote on last edited by cadet
                      #12

                      @hek said in Real Time Clock with Display Example:

                      http://www.mysensors.org/build/display

                      Hi

                      Can you modify code for adding temp sensor to GW.
                      And may be display day of week.
                      Thank you.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      17

                      Online

                      12.0k

                      Users

                      11.2k

                      Topics

                      113.4k

                      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