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. 💬 OH MySensors RGBW Controller

💬 OH MySensors RGBW Controller

Scheduled Pinned Locked Moved OpenHardware.io
mysensorspcbrgbwcontroller
106 Posts 18 Posters 29.5k Views 19 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/74/OH-MySensors-RGBW-Controller

    1 Reply Last reply
    1
    • Cliff KarlssonC Offline
      Cliff KarlssonC Offline
      Cliff Karlsson
      wrote on last edited by
      #2

      Is it possible to buy the corrected pcb anywhere?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LastSamurai
        Hardware Contributor
        wrote on last edited by
        #3

        Not yet. You could take the kicad files from my github and change that by yourself. I did start to update my design some weeks ago but as I still have enough of the old boards (and they work with that one tweak) I didn't finish that. Might do that soon so. Once I updated it I will add the new file to my github repo and the openhardware page.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          LastSamurai
          Hardware Contributor
          wrote on last edited by
          #4

          @Cliff-Karlsson I did update my kicad and gerber files in the github repo (are these files automatically updated in the openhardware.io project too?). I haven't tested these yet but they should work without an error now. You could just take these gerber files and order them somewhere.

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

            Nope, you have to press the refresh button in the github-tab.

            1 Reply Last reply
            0
            • Cliff KarlssonC Offline
              Cliff KarlssonC Offline
              Cliff Karlsson
              wrote on last edited by
              #6

              Great, just one stupid question. Do I just upload the gbl file to dirtypcbs/oshpark or how does it work?

              L 1 Reply Last reply
              0
              • Cliff KarlssonC Cliff Karlsson

                Great, just one stupid question. Do I just upload the gbl file to dirtypcbs/oshpark or how does it work?

                L Offline
                L Offline
                LastSamurai
                Hardware Contributor
                wrote on last edited by LastSamurai
                #7

                @Cliff-Karlsson said:

                Great, just one stupid question. Do I just upload the gbl file to dirtypcbs/oshpark or how does it work?

                You take a zip file with all the gerber files inside (I think I already put one into the git), test it online (if you want to; sometimes it doesnt look perfect here) and then you upload it to dirtypcbs. I don't know how oshpark works, but I guess similar.

                Online gerber viewers I use are:
                http://circuitpeople.com/
                http://mayhewlabs.com/3dpcb

                Edit: I did just fix the files, you should be able to just use the RGBWController-Gerber.zip from the github (I will try to update the openhardware.io page now)

                1 Reply Last reply
                0
                • Cliff KarlssonC Offline
                  Cliff KarlssonC Offline
                  Cliff Karlsson
                  wrote on last edited by
                  #8

                  What is the correct pitch for the screw terminals? 2.54mm? 5mm ? or other?

                  L 1 Reply Last reply
                  0
                  • Cliff KarlssonC Cliff Karlsson

                    What is the correct pitch for the screw terminals? 2.54mm? 5mm ? or other?

                    L Offline
                    L Offline
                    LastSamurai
                    Hardware Contributor
                    wrote on last edited by
                    #9

                    @Cliff-Karlsson It should be 5 mm

                    1 Reply Last reply
                    0
                    • AchimA Offline
                      AchimA Offline
                      Achim
                      wrote on last edited by
                      #10

                      dirtypcb says that the outline files are missing
                      No board outline (.GML/.GKO/.GBR) file found.
                      Can you please add this outline files to the GIT.

                      1 Reply Last reply
                      0
                      • Cliff KarlssonC Offline
                        Cliff KarlssonC Offline
                        Cliff Karlsson
                        wrote on last edited by
                        #11

                        I had the same problem with dirtypcbs so I ordered from seedstudio instead. Almost the same price.

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          LastSamurai
                          Hardware Contributor
                          wrote on last edited by
                          #12

                          Oh thats just a naming issue. Rename the "RGBWController-Edge.cuts.gm1" to .gml in the zip file and it should work just fine.

                          1 Reply Last reply
                          0
                          • peerkersezuukerP Offline
                            peerkersezuukerP Offline
                            peerkersezuuker
                            wrote on last edited by
                            #13

                            Just got the v1.3 pcb's from OSH Park, just waiting for some components, and the we go. It will be an exciting christmas ;-)

                            Domoticz / My Sensors / Z-Wave
                            https://www.kermisbuks.nl

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              Jan Gatzke
                              wrote on last edited by
                              #14

                              I got my v1.3 pcbs from Smart Prototyping. Quality is good. The controller works fine BUT the sketch version in your github repo is broken. Seems like the non linear fading part never got finished. I am now using linear fading and the sketch is working. :)

                              peerkersezuukerP 1 Reply Last reply
                              1
                              • J Jan Gatzke

                                I got my v1.3 pcbs from Smart Prototyping. Quality is good. The controller works fine BUT the sketch version in your github repo is broken. Seems like the non linear fading part never got finished. I am now using linear fading and the sketch is working. :)

                                peerkersezuukerP Offline
                                peerkersezuukerP Offline
                                peerkersezuuker
                                wrote on last edited by
                                #15

                                @Jan-Gatzke
                                Hi can you please post your adjusted sketch for further reference?

                                Domoticz / My Sensors / Z-Wave
                                https://www.kermisbuks.nl

                                J 1 Reply Last reply
                                0
                                • peerkersezuukerP peerkersezuuker

                                  @Jan-Gatzke
                                  Hi can you please post your adjusted sketch for further reference?

                                  J Offline
                                  J Offline
                                  Jan Gatzke
                                  wrote on last edited by
                                  #16

                                  @peerkersezuuker

                                  You have to fix the following part:

                                  for (int i = 0; i < NUM_CHANNELS; i++) {
                                      if (isOn) {
                                        // normal fading
                                        //analogWrite(channels[i], dimming / 100.0 * values[i]);
                                  
                                        // non linear fading, idea from https://diarmuid.ie/blog/pwm-exponential-led-fading-on-arduino-or-other-platforms/
                                        analogWrite(channels[i], pow (2, (dimming / R)) - 1);
                                      } else {
                                        analogWrite(channels[i], 0);
                                      }
                                    }
                                  

                                  Corrected Version

                                  for (int i = 0; i < NUM_CHANNELS; i++) {
                                      if (isOn) {
                                        // normal fading
                                        analogWrite(channels[i], dimming / 100.0 * values[i]);
                                  
                                        // non linear fading, idea from https://diarmuid.ie/blog/pwm-exponential-led-fading-on-arduino-or-other-platforms/
                                        //analogWrite(channels[i], pow (2, (dimming / R)) - 1);
                                      } else {
                                        analogWrite(channels[i], 0);
                                      }
                                    }
                                  

                                  Or else all channels are set to the Value of dimming. The sketch on openhardware.io is broken, too.

                                  peerkersezuukerP 1 Reply Last reply
                                  0
                                  • J Jan Gatzke

                                    @peerkersezuuker

                                    You have to fix the following part:

                                    for (int i = 0; i < NUM_CHANNELS; i++) {
                                        if (isOn) {
                                          // normal fading
                                          //analogWrite(channels[i], dimming / 100.0 * values[i]);
                                    
                                          // non linear fading, idea from https://diarmuid.ie/blog/pwm-exponential-led-fading-on-arduino-or-other-platforms/
                                          analogWrite(channels[i], pow (2, (dimming / R)) - 1);
                                        } else {
                                          analogWrite(channels[i], 0);
                                        }
                                      }
                                    

                                    Corrected Version

                                    for (int i = 0; i < NUM_CHANNELS; i++) {
                                        if (isOn) {
                                          // normal fading
                                          analogWrite(channels[i], dimming / 100.0 * values[i]);
                                    
                                          // non linear fading, idea from https://diarmuid.ie/blog/pwm-exponential-led-fading-on-arduino-or-other-platforms/
                                          //analogWrite(channels[i], pow (2, (dimming / R)) - 1);
                                        } else {
                                          analogWrite(channels[i], 0);
                                        }
                                      }
                                    

                                    Or else all channels are set to the Value of dimming. The sketch on openhardware.io is broken, too.

                                    peerkersezuukerP Offline
                                    peerkersezuukerP Offline
                                    peerkersezuuker
                                    wrote on last edited by
                                    #17

                                    @Jan-Gatzke
                                    Thank you for your post.
                                    I hope the Mosfet's are comming in today, then i can build it up and play with it.

                                    Domoticz / My Sensors / Z-Wave
                                    https://www.kermisbuks.nl

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      LastSamurai
                                      Hardware Contributor
                                      wrote on last edited by
                                      #18

                                      @Jan-Gatzke Thank you for correcting it ;) I never got around to making the fading part work a 100% so I reverted back to my normal linear fading for my controllers. Seems like I forgot to correct that in my git repo :frowning: Sorry for that, I will fix it after christmas.
                                      Great to hear that others are using the controllers too! Have fun with them and update me if you change something or build some (other) cool thing with them!

                                      1 Reply Last reply
                                      0
                                      • peerkersezuukerP Offline
                                        peerkersezuukerP Offline
                                        peerkersezuuker
                                        wrote on last edited by
                                        #19

                                        A little question, the v1.3 is this the one with the corrected mosfet placement ?
                                        I build and programmed one now, but i only get a bright white light, and no response when i switch the node. So now i am in doubt...

                                        With regards
                                        Peer

                                        Domoticz / My Sensors / Z-Wave
                                        https://www.kermisbuks.nl

                                        J 1 Reply Last reply
                                        0
                                        • peerkersezuukerP peerkersezuuker

                                          A little question, the v1.3 is this the one with the corrected mosfet placement ?
                                          I build and programmed one now, but i only get a bright white light, and no response when i switch the node. So now i am in doubt...

                                          With regards
                                          Peer

                                          J Offline
                                          J Offline
                                          Jan Gatzke
                                          wrote on last edited by
                                          #20

                                          @peerkersezuuker

                                          The node always starts with white on. This is normal behaviour.

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


                                          25

                                          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