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. OpenHardware.io
  3. 💬 MySensor Dioder (Ikea)

💬 MySensor Dioder (Ikea)

Scheduled Pinned Locked Moved OpenHardware.io
contest2017diodermysensorshuergbledtrimmerarduinoikea
41 Posts 10 Posters 13.5k Views 10 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.
  • openhardware.ioO Offline
    openhardware.ioO Offline
    openhardware.io
    wrote on last edited by openhardware.io
    #1

    https://www.openhardware.io/view/80/MySensor-Dioder-Ikea

    1 Reply Last reply
    2
    • m26872M Offline
      m26872M Offline
      m26872
      Hardware Contributor
      wrote on last edited by
      #2

      Nice work! I'm impressed.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mortommy
        wrote on last edited by
        #3

        Thank you!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Adam McCartney
          wrote on last edited by
          #4

          i take it i could use an Arduino nano and not have to worry about the voltage Regulator? it can take 5v or 3.3v meaning i already have all the parts to replicate this with my existing Dioder setup..:)

          1 Reply Last reply
          0
          • loralgL Offline
            loralgL Offline
            loralg
            wrote on last edited by
            #5

            Thank you for the awesome work you have done! Would you be willing to share your OpenHAB items and sitemap setup to get this to work?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mortommy
              wrote on last edited by
              #6

              I'll post items, rules and sitemap as soon as I'll have the stable version.

              1 Reply Last reply
              0
              • barduinoB Offline
                barduinoB Offline
                barduino
                wrote on last edited by
                #7

                This is great.

                I just got myself one of these Dioders

                Could you detail the connections between arduino and the ikea board?

                For example when you label AIN6 on the ikea board picture it connects to D6 in arduino?

                • 3 for RGB (AIN6, AIN5, AIN4) - (D6, D5, D3)
                • 3 for Buttons (OEN, AIN2, AIN3) - (D7, D4, D2)
                • 1 ground
                • 1 5v to arduino vin?
                • 1 Color Wheel (AIN7 to Arduino A0)?

                Is this correct?

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mortommy
                  wrote on last edited by mortommy
                  #8

                  Hi,
                  3 pins for RGB: R (AIN4) -> D3; G (AIN5) -> D6; B (AIN6) -> D5
                  3 pins for buttons: S1(AIN3) -> D7; S2(CEN) -> D2; S3(AIN2) -> D4
                  1 ground
                  1 5V to Arduino's Vcc if it is 5V version or to RAW if it is 3,3V version
                  1 color wheel (AIN7) -> A0

                  barduinoB 1 Reply Last reply
                  0
                  • M mortommy

                    Hi,
                    3 pins for RGB: R (AIN4) -> D3; G (AIN5) -> D6; B (AIN6) -> D5
                    3 pins for buttons: S1(AIN3) -> D7; S2(CEN) -> D2; S3(AIN2) -> D4
                    1 ground
                    1 5V to Arduino's Vcc if it is 5V version or to RAW if it is 3,3V version
                    1 color wheel (AIN7) -> A0

                    barduinoB Offline
                    barduinoB Offline
                    barduino
                    wrote on last edited by
                    #9

                    Thanks @mortommy

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mortommy
                      wrote on last edited by
                      #10

                      please find items and rules here: https://github.com/mortommy/MySensorDioder

                      1 Reply Last reply
                      0
                      • loralgL Offline
                        loralgL Offline
                        loralg
                        wrote on last edited by
                        #11

                        @mortommy Thank you!

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          mortommy
                          wrote on last edited by
                          #12

                          I just updated the rules.

                          loralgL 1 Reply Last reply
                          0
                          • M mortommy

                            I just updated the rules.

                            loralgL Offline
                            loralgL Offline
                            loralg
                            wrote on last edited by
                            #13

                            @mortommy Awesome thanks for the update!

                            1 Reply Last reply
                            0
                            • kevvetteK Offline
                              kevvetteK Offline
                              kevvette
                              wrote on last edited by
                              #14

                              Just for clarification, you posted in a comment that S3(AIN2) -> D11 but shouldn't it be D4 per schematic and source code? Also, it looks like R20 has been removed. Why was that done and is it critical to make this work? Thanks, nice work.

                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                mortommy
                                wrote on last edited by
                                #15

                                Hi @kevvette ,
                                yes, my mistake, S3 goes to D4, I'll correct the post, thank you.
                                Regarding the R20, it is just a jumper and first I thought I could use that point for some connection but at the end I didn't use it, so I reestablished the connection. It is not needed to remove the R20.

                                1 Reply Last reply
                                0
                                • TON RIJNAARDT Offline
                                  TON RIJNAARDT Offline
                                  TON RIJNAARD
                                  wrote on last edited by
                                  #16

                                  Hello,

                                  Very nice project!
                                  Is it possible to use in DOMOTICZ?

                                  Ton

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    mortommy
                                    wrote on last edited by
                                    #17

                                    Hi,

                                    if you are already using a gateway in Domoticz I guess so. From the mysensor point of view is a RGB sensor (or light switch or dimmer light) the source of the command sento to the serial gateway and then to the ikea mysensorized sensor it doesn't matter.

                                    1 Reply Last reply
                                    0
                                    • Juan8tacoJ Offline
                                      Juan8tacoJ Offline
                                      Juan8taco
                                      wrote on last edited by
                                      #18

                                      Hello,
                                      I was using your code from MySensorDioder_133.ino
                                      I downloaded the library from https://github.com/mysensors/MySensors
                                      I tried to run the code but I got a error message saying no such file located.
                                      These were the two files that couldn't be found
                                      MyTransportNRF24.h
                                      MySensor.h
                                      I was wondering if you had the same issues when you were working on the code?

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        mortommy
                                        wrote on last edited by mortommy
                                        #19

                                        Hi,
                                        yes it happens sometimes. Try to import the library by Arduino IDE (Sketch -> Include Library -> MySensors). You'll have in the sketch two new lines:

                                        
                                        #include <MyConfig.h>
                                        #include <MySensors.h>
                                        
                                        

                                        and you can delete the same lines already included in the code.

                                        Remember that the sketch is based on mysensor library 1.5.4 it is not converted to 2.0 yet.

                                        Hope it helps.

                                        1 Reply Last reply
                                        0
                                        • Juan8tacoJ Offline
                                          Juan8tacoJ Offline
                                          Juan8taco
                                          wrote on last edited by
                                          #20

                                          Thank you,

                                          I found those missing files and uses the mysensor library 1.5.4 but after I put all the files it asked for I got this odd message. I was looking for the error but had no luck. It says that "was not declared in this scope". Did you happened to run into this issue?

                                          0_1479706500439_upload-81042e07-857f-48cb-aef0-f62af70f2189

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


                                          8

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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