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.
  • hekH hek

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

    https://www.youtube.com/watch?v=lyTrtuxdA7k

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

    @hek
    Fantastic Hek! You just keep amazing us!

    Can you turn on/off/dim the LCD but keep the touch enabled? Im sure the answer is yes, but just asking for sure.

    For night time you'd likely want the screen to dim to 5% and wake up when user touches? Perhaps add a light sensor..or just do this based of the time of day...

    Whilst i love the Imperihome interface, using these on some wallplates would be equally cool!

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

      @naveen said:

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

      FIngers works great.

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

      Depends a bit on screen orientation. If you use short texts you could add dual columns (not supported). And maybe squeeze in another row (the sketch adopts button height after the number of buttons).

      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.

      Oh.. so intent to use it as a carry around remote? I have no idea how long the batteries would last. I was more thinking of permanently install it somewhere on a wall with power.

      Can you turn on/off/dim the LCD but keep the touch enabled? Im sure the answer is yes, but just asking for sure.

      Yes.

      For night time you'd likely want the screen to dim to 5% and wake up when user touches? Perhaps add a light sensor..or just do this based of the time of day...

      Based on time would probably be easiest option here. This has not been implemented yet though.

      I still need to add some deboucing to avoid multiple sends when user touches a button. The touch function sometimes report multiple touches sometimes.

      HELP: When connecting radio yesterday I ran into some troubles getting radio to initialize when sharing SPI with screen/touch/SD card reader on the display.
      Do we have any SPI experts around?

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

        Maybe SoftSPI would be an option.

        Created an issue over at TMRh20's RF24 fork.
        https://github.com/TMRh20/RF24/issues/24

        Has Anyone actually gotten W5100 ethernet module woking with MySensors?
        http://shanes.net/how-to-use-an-nrf24l01-rf24-with-an-arduino-ethernet-shield/

        1 Reply Last reply
        0
        • AnticimexA Offline
          AnticimexA Offline
          Anticimex
          Contest Winner
          wrote on last edited by
          #10

          I will dig around some with mixing W5100 and RF24 sometime next week. I believe using soft SPI for RF24 is the answer due to the fact that many reports that W5100 is misusing the SPI bus (and the library uses the HW SPI block).
          I have verified that W5100 module is working using a simple webserver on my Nano, so if it can keep the SPI bus for itself it is happy.
          I do not like it, but since I already got one W5100 and only intend to use it for my gateway, I can live with customizing the RF24 implementation to use software SPI in this case.

          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

          1 Reply Last reply
          0
          • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          15

                                          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