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. Scene Controller

Scene Controller

Scheduled Pinned Locked Moved Development
52 Posts 20 Posters 26.2k Views 6 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.
  • R Offline
    R Offline
    Rek
    wrote on last edited by
    #11

    my w5100 shield was giving me trouble when trying to use it with the rf24. check wires error. Will try soft spi today and see if I can get it working.

    hekH 1 Reply Last reply
    0
    • R Rek

      my w5100 shield was giving me trouble when trying to use it with the rf24. check wires error. Will try soft spi today and see if I can get it working.

      hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by hek
      #12

      @Rek

      Yep, check out the github issue above. TMRh20 has already created a branch for us to test.

      1 Reply Last reply
      0
      • N naveen

        @hek said:

        Here comes a little preview of the upcoming touch display scene controller example.

        Hope to finalize a little youtube clip before the release.

        scenecontroller.jpg

        Wow, was this started only when I mentioned it? Because if so, kudos on the quick turn around! Looks great! You as well, @korttoma , what's yours like??

        Do you need a pen to touch the buttons or are your fingers okay?

        Does it seem pretty accurate (how many buttons could you cram on that screen)?

        I'm wondering if its worth putting some serious time in to print a nice body and get a rechargeable LiIon and a charging dock, or if its just simpler to get a cheap android tablet or something.

        korttomaK Offline
        korttomaK Offline
        korttoma
        Hero Member
        wrote on last edited by
        #13

        @naveen said:

        @korttoma , what's yours like??

        WP_20141005_005.jpg

        The picture is a little dark but you get the idea. White box with blue buttons.

        • Tomas
        NuubiN 1 Reply Last reply
        2
        • BulldogLowellB Offline
          BulldogLowellB Offline
          BulldogLowell
          Contest Winner
          wrote on last edited by
          #14

          nice job thomas!

          korttomaK 1 Reply Last reply
          0
          • korttomaK korttoma

            @naveen said:

            @korttoma , what's yours like??

            WP_20141005_005.jpg

            The picture is a little dark but you get the idea. White box with blue buttons.

            NuubiN Offline
            NuubiN Offline
            Nuubi
            wrote on last edited by
            #15

            @korttoma Hey, that looks good! Where did you get the enclosure?

            korttomaK 1 Reply Last reply
            0
            • NuubiN Nuubi

              @korttoma Hey, that looks good! Where did you get the enclosure?

              korttomaK Offline
              korttomaK Offline
              korttoma
              Hero Member
              wrote on last edited by
              #16

              @Nuubi from a local electronics shop

              the producer of the box seems to be Hammond Manufacturing maybe your local supplier have the same box ;)

              • Tomas
              1 Reply Last reply
              0
              • BulldogLowellB BulldogLowell

                nice job thomas!

                korttomaK Offline
                korttomaK Offline
                korttoma
                Hero Member
                wrote on last edited by
                #17

                @BulldogLowell said:

                nice job thomas!

                Thanks Jim, btw I figured out a neet way to dim the backlight using just a resistor and a transistor. On the I2C LCD driver board there is a jumper for the backlight and I just connected the transistor to these 2 pins and the gate via a 10kR to a PWM pin. Works great.

                Also I want to thank you Jim again cause I started from your weather station scene controller and ended up with this:

                https://codebender.cc/sketch:44676

                • Tomas
                1 Reply Last reply
                1
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by hek
                  #18

                  Finally got around wrapping this up. Hope to provide a youtube demo clip in the coming days. But everything is checked in on github.

                  Used the following touch screen when creating the example.

                  https://codebender.cc/sketch:54953

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

                    Hi Hek - Can you advise what the physical size of the LCD pcb is?

                    I have a really nice bamboo box that my wifes sunglasses came in ( image here) and this might be an ideal case for it!
                    http://www.pinterest.com/pin/201958364513700248/

                    ( imho...the box is nicer than her sunglasses ( which are now broken anyway )

                    1 Reply Last reply
                    0
                    • hekH Offline
                      hekH Offline
                      hek
                      Admin
                      wrote on last edited by
                      #20

                      10x6.5 (cm)
                      Stacked height about 3.2 cm (2650+shield+display)

                      greglG 1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #21

                        First post updated with youtube clip and a link to the build page.

                        1 Reply Last reply
                        0
                        • hekH hek

                          10x6.5 (cm)
                          Stacked height about 3.2 cm (2650+shield+display)

                          greglG Offline
                          greglG Offline
                          gregl
                          Hero Member
                          wrote on last edited by
                          #22

                          @hek thanks Hek

                          1 Reply Last reply
                          0
                          • RJ_MakeR Offline
                            RJ_MakeR Offline
                            RJ_Make
                            Hero Member
                            wrote on last edited by
                            #23

                            @hek
                            Man you are costing me a fortune... Now there's another project I will need to try.. :-)

                            Seriously though, very cool!

                            RJ_Make

                            1 Reply Last reply
                            0
                            • L Offline
                              L Offline
                              lunarok
                              wrote on last edited by
                              #24

                              Will it be possible to use with 3.5 LCD instead of 3.2 ? Many differences for the code to make ?
                              Because now we can find 3.5LCD directly connectable on 2560 and total is cheaper too.

                              hekH 1 Reply Last reply
                              0
                              • L lunarok

                                Will it be possible to use with 3.5 LCD instead of 3.2 ? Many differences for the code to make ?
                                Because now we can find 3.5LCD directly connectable on 2560 and total is cheaper too.

                                hekH Offline
                                hekH Offline
                                hek
                                Admin
                                wrote on last edited by
                                #25

                                @lunarok

                                It depends on if the display is supported by the UTFT library I used in the example.

                                1 Reply Last reply
                                0
                                • JohnJ Offline
                                  JohnJ Offline
                                  John
                                  Plugin Developer
                                  wrote on last edited by
                                  #26

                                  Very cool display, well done!

                                  My Domotica project: http://www.pidome.org

                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    lunarok
                                    wrote on last edited by
                                    #27

                                    Hi,

                                    Can't use the sketch.
                                    From codebender include on mysensors it just say there was an error compiling it.
                                    When I clone it, directly on codebenders it say there was a communication error.
                                    When try with local IDE, there is a lot of errors about the time library

                                    This type (for each month and day)
                                    libraries/Time/DateStrings.cpp:18:18: error: variable ‘monthStr1’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
                                    char monthStr1[] PROGMEM = "January";

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      lunarok
                                      wrote on last edited by
                                      #28

                                      @hek : can you update the mysensors lib in codebenders ? On scene controller page you ask to modify SOFTSPI, it's not on codebenders (unless it makes a copy for me) but it is on git

                                      1 Reply Last reply
                                      0
                                      • hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by hek
                                        #29

                                        Codebender has a bug when library contains large files (UTFT in this case). This has been reported to them and they will fix it eventually. In the meantime I have just re-uploaded the libraries without these binary (pdf files). But I think they need to clear some caches before it actually compiles.

                                        Enabling SOFTSPI in the MySensors lib-config just for the SceneController is harder because we can only keep one version of the MySensors library at the time in our "repository" on codebender.

                                        Regarding the DateStrings compilation error .. I've just pushed an update which works in IDE 1.5.8 now.

                                        1 Reply Last reply
                                        0
                                        • tbowmoT Offline
                                          tbowmoT Offline
                                          tbowmo
                                          Admin
                                          wrote on last edited by
                                          #30

                                          @hek
                                          Can't you define the SoftSPI settings in the sketch, before you load the library header file? (And then make some conditional defines in the library)

                                          (I admit, I don't know the arduino toolchain fully, so I could be mistaken here.. But in "normal" c/c++ compilers you can do it)

                                          Or is the libraries at codebender precompiled?

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


                                          9

                                          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