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. Hardware
  3. Yet Another RGB driver (activeRGB)

Yet Another RGB driver (activeRGB)

Scheduled Pinned Locked Moved Hardware
69 Posts 4 Posters 15.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.
  • S Samuel235

    @activemind said:

    I can go ahead and connect the remaining pins on MySX connector but I wasnt sure about pins which would always be connected to the 3 FETs (3,5 &6) Do I connect them too? Do I need pullup/pulldown?

    If they're connected to something else, then no, do not connect them to the header. You won't need any pullup/pulldown resistors as they won't be activated in the software.

    The board will be powered by external 12V supply, which would be driving both the LEDs and MySensors circuitry. I envison it being a 2.1 mm DC barrel connector. How do I show that ?

    I'm not sure how you would do it in your software, however i do know that within CADSOFT EAGLE it makes the board and the schematic in the same software and what you do to one it does to the other, so you must have everything on the schematic that you wish to have on the board.

    Yes, thats the intent. To be able to supply either 5v or 3.3v. The main reason for doing this was to be a able to use sensors which need 5V. The freebie that comes along is that you can use either pro mini 5v or 3.3v version.

    Right okay, well as long as your chosen resistors allow this voltage to be provided you will be good to go!

    A Offline
    A Offline
    activemind
    wrote on last edited by
    #6

    @Samuel235 said:

    The board will be powered by external 12V supply, which would be driving both the LEDs and MySensors circuitry. I envison it being a 2.1 mm DC barrel connector. How do I show that ?

    I'm not sure how you would do it in your software, however i do know that within CADSOFT EAGLE it makes the board and the schematic in the same software and what you do to one it does to the other, so you must have everything on the schematic that you wish to have on the board.

    I am using KiCad as that was the true free software for a beginner. I will google around to see how I can show power input points or maybe look at some other MySensors PCB done in KiCad.

    Question: Trying to select component footprints. The header pitch AFAIK needs to be 2.54mm but for some reason I see 2mm in KiCad. Just checking to make sure thats NOT what I want?

    -AM

    S 1 Reply Last reply
    0
    • A activemind

      @Samuel235 said:

      The board will be powered by external 12V supply, which would be driving both the LEDs and MySensors circuitry. I envison it being a 2.1 mm DC barrel connector. How do I show that ?

      I'm not sure how you would do it in your software, however i do know that within CADSOFT EAGLE it makes the board and the schematic in the same software and what you do to one it does to the other, so you must have everything on the schematic that you wish to have on the board.

      I am using KiCad as that was the true free software for a beginner. I will google around to see how I can show power input points or maybe look at some other MySensors PCB done in KiCad.

      Question: Trying to select component footprints. The header pitch AFAIK needs to be 2.54mm but for some reason I see 2mm in KiCad. Just checking to make sure thats NOT what I want?

      -AM

      S Offline
      S Offline
      Samuel235
      Hardware Contributor
      wrote on last edited by
      #7

      @activemind, it could well be what you want. However because i don't know KiCad, i dont know how to edit the package footprint. It may be worth getting another off of the net (if you can, eagle its called a library and you can make your own) or to make your own. I always make my own so i'm sure i know my part will fit that footprint and 9/10 times the datasheet for the part gives a recommended footprint spec too.

      MySensors 2.1.1
      Controller - OpenHAB (Virtual Machine)
      Gateway - Arduino Mega MQTT Gateway W5100

      A 1 Reply Last reply
      0
      • S Samuel235

        @activemind, it could well be what you want. However because i don't know KiCad, i dont know how to edit the package footprint. It may be worth getting another off of the net (if you can, eagle its called a library and you can make your own) or to make your own. I always make my own so i'm sure i know my part will fit that footprint and 9/10 times the datasheet for the part gives a recommended footprint spec too.

        A Offline
        A Offline
        activemind
        wrote on last edited by
        #8

        @Samuel235 said:

        @activemind, it could well be what you want. However because i don't know KiCad, i dont know how to edit the package footprint. It may be worth getting another off of the net (if you can, eagle its called a library and you can make your own) or to make your own. I always make my own so i'm sure i know my part will fit that footprint and 9/10 times the datasheet for the part gives a recommended footprint spec too.

        Datasheet, right, but for headers and caps and resistors? I see the same thing for through hole resistors too 20mm, 15mm & 10mm...which one to pick?

        I pulled in a couple of footprints from github mysensors project but havent verified them. Wanted to tackle the easier (?) components first like resistors, caps and headers.

        As a side node, all my components are through hole and easy to solder. No SMD here :-)

        -AM

        S 1 Reply Last reply
        0
        • A activemind

          @Samuel235 said:

          @activemind, it could well be what you want. However because i don't know KiCad, i dont know how to edit the package footprint. It may be worth getting another off of the net (if you can, eagle its called a library and you can make your own) or to make your own. I always make my own so i'm sure i know my part will fit that footprint and 9/10 times the datasheet for the part gives a recommended footprint spec too.

          Datasheet, right, but for headers and caps and resistors? I see the same thing for through hole resistors too 20mm, 15mm & 10mm...which one to pick?

          I pulled in a couple of footprints from github mysensors project but havent verified them. Wanted to tackle the easier (?) components first like resistors, caps and headers.

          As a side node, all my components are through hole and easy to solder. No SMD here :-)

          -AM

          S Offline
          S Offline
          Samuel235
          Hardware Contributor
          wrote on last edited by
          #9

          @activemind, a normal through hole resistor is measuring around 10mm for me here. It may depend on the resistors you can get your hands on though, but i would say 10mm is what you're after. You could play it super safe and go 15 or 20 but it will take up much more room on your board. I would say the same for caps too. However, i don't use through-hole caps unless breadboarding.

          If this is your first board then through hole is the best thing for you :+1:

          MySensors 2.1.1
          Controller - OpenHAB (Virtual Machine)
          Gateway - Arduino Mega MQTT Gateway W5100

          A 1 Reply Last reply
          0
          • S Samuel235

            @activemind, a normal through hole resistor is measuring around 10mm for me here. It may depend on the resistors you can get your hands on though, but i would say 10mm is what you're after. You could play it super safe and go 15 or 20 but it will take up much more room on your board. I would say the same for caps too. However, i don't use through-hole caps unless breadboarding.

            If this is your first board then through hole is the best thing for you :+1:

            A Offline
            A Offline
            activemind
            wrote on last edited by
            #10

            @Samuel235 said:

            @activemind, a normal through hole resistor is measuring around 10mm for me here. It may depend on the resistors you can get your hands on though, but i would say 10mm is what you're after. You could play it super safe and go 15 or 20 but it will take up much more room on your board. I would say the same for caps too. However, i don't use through-hole caps unless breadboarding.

            If this is your first board then through hole is the best thing for you :+1:

            Done! I will go with 10mm through hole resistors. Do I want to vertical mount them to save some space though I am targetting 5x5cm PCB so I dont know if I will be in a space crunch!

            I can handle/solder surface mount but as you said, this is my first PCB and I want to play it safe and go with through hole components.

            Onto caps now...I am not sure I even know what all these types mean, will have to google them :-)

            All I am looking for is normal through hole electrolytic caps like the one I see on Easy PCB

            -AM

            S 1 Reply Last reply
            0
            • A activemind

              @Samuel235 said:

              @activemind, a normal through hole resistor is measuring around 10mm for me here. It may depend on the resistors you can get your hands on though, but i would say 10mm is what you're after. You could play it super safe and go 15 or 20 but it will take up much more room on your board. I would say the same for caps too. However, i don't use through-hole caps unless breadboarding.

              If this is your first board then through hole is the best thing for you :+1:

              Done! I will go with 10mm through hole resistors. Do I want to vertical mount them to save some space though I am targetting 5x5cm PCB so I dont know if I will be in a space crunch!

              I can handle/solder surface mount but as you said, this is my first PCB and I want to play it safe and go with through hole components.

              Onto caps now...I am not sure I even know what all these types mean, will have to google them :-)

              All I am looking for is normal through hole electrolytic caps like the one I see on Easy PCB

              -AM

              S Offline
              S Offline
              Samuel235
              Hardware Contributor
              wrote on last edited by
              #11

              @activemind Awesome, not sure if you will need to stand them up, that is for you to play around with the layout.

              Those caps are just electrolytic radial cans.

              MySensors 2.1.1
              Controller - OpenHAB (Virtual Machine)
              Gateway - Arduino Mega MQTT Gateway W5100

              1 Reply Last reply
              0
              • A Offline
                A Offline
                activemind
                wrote on last edited by
                #12

                @Samuel235 - I just want to say thanks for taking the time to walkthrough a noob with his first PCB. Appreciate it!

                For the resistor, just keeping them horizontal for now.

                For the caps, I see Tanta1C_Size type and Discret type in my KiCad apart from SMD types.. Not sure what they mean

                Let me google around to see what footprint people choose in KiCad.

                -AM

                1 Reply Last reply
                1
                • A Offline
                  A Offline
                  activemind
                  wrote on last edited by
                  #13

                  OK, done with the footprint for all the components. A big thanks to all the people who uploaded footprints to github. I was able to use a couple of them.

                  Now, onto PCB layout!

                  Whats the grid size I should select? Also track size and via sizes too? I have no idea what they need to be or whats a good safe number.

                  How do I define what my board size will be so that I can start arranging componets because after pulling in the netlist they are all on top of each other :-)

                  My target PCB manufacturer is Itead or dirtyPCB with 5x5 sizing.

                  -AM

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Samuel235
                    Hardware Contributor
                    wrote on last edited by
                    #14

                    I work on a 0.1mm grid to make the PCB, and sometimes a 0.01mm grid. Whatever you feel comfortable and happy with. There is no standard grid size for the pcb itself, unlike the schematic of 0.1". Track sizes and vias are normally 8-10mil trace and 0.3-0.6mm drill via diameter for dc <5v. I would make an outline dimension of 50mm x 50mm and make it smaller if you can once you have placed all components on there. Please be aware that each board house has different requirements for drill holes and minimum spacing/trace widths.

                    This is the guidelines for ITEAD - http://support.iteadstudio.com/support/solutions/articles/1000156313-normal-condition-of-pcb-capabilities

                    MySensors 2.1.1
                    Controller - OpenHAB (Virtual Machine)
                    Gateway - Arduino Mega MQTT Gateway W5100

                    A 1 Reply Last reply
                    0
                    • S Samuel235

                      I work on a 0.1mm grid to make the PCB, and sometimes a 0.01mm grid. Whatever you feel comfortable and happy with. There is no standard grid size for the pcb itself, unlike the schematic of 0.1". Track sizes and vias are normally 8-10mil trace and 0.3-0.6mm drill via diameter for dc <5v. I would make an outline dimension of 50mm x 50mm and make it smaller if you can once you have placed all components on there. Please be aware that each board house has different requirements for drill holes and minimum spacing/trace widths.

                      This is the guidelines for ITEAD - http://support.iteadstudio.com/support/solutions/articles/1000156313-normal-condition-of-pcb-capabilities

                      A Offline
                      A Offline
                      activemind
                      wrote on last edited by
                      #15

                      @Samuel235 said:

                      I work on a 0.1mm grid to make the PCB, and sometimes a 0.01mm grid. Whatever you feel comfortable and happy with. There is no standard grid size for the pcb itself, unlike the schematic of 0.1". Track sizes and vias are normally 8-10mil trace and 0.3-0.6mm drill via diameter for dc <5v. I would make an outline dimension of 50mm x 50mm and make it smaller if you can once you have placed all components on there. Please be aware that each board house has different requirements for drill holes and minimum spacing/trace widths.

                      This is the guidelines for ITEAD - http://support.iteadstudio.com/support/solutions/articles/1000156313-normal-condition-of-pcb-capabilities

                      Thanks again @Samuel235 .

                      I made an attempt at untangling the rats nest and it kinda looks okay but..I think I have incorrect footprints for resistors and caps. They seem too big compared to arduino pro mini & NRF.

                      These are decoupling caps, so all other boards should have them. I need to look around at other board files to see if I can find the correct footprints because my gut feel is what I have is wrong!

                      -AM
                      PS: trying to figure out how I can post what I currently have besides taking a screenshot!

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        activemind
                        wrote on last edited by activemind
                        #16

                        Here is what it currently looks like which I am sure is wrong!!

                        0_1465855211897_RGB.jpg

                        Suggestions?

                        -AM

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Samuel235
                          Hardware Contributor
                          wrote on last edited by Samuel235
                          #17

                          We could do with someone getting involved that has KiCad experience because i just have zero. I'm assuming that all those header pins and the different sized resistors are wrong too.

                          I'm not too sure why the arduino is actually shown on the board with separate serial header either. You only need 2 rows of female headers for your arduino to soxket in to.

                          I can only assume the libraries used here are incorrect on certain things.

                          MySensors 2.1.1
                          Controller - OpenHAB (Virtual Machine)
                          Gateway - Arduino Mega MQTT Gateway W5100

                          A 1 Reply Last reply
                          0
                          • S Samuel235

                            We could do with someone getting involved that has KiCad experience because i just have zero. I'm assuming that all those header pins and the different sized resistors are wrong too.

                            I'm not too sure why the arduino is actually shown on the board with separate serial header either. You only need 2 rows of female headers for your arduino to soxket in to.

                            I can only assume the libraries used here are incorrect on certain things.

                            A Offline
                            A Offline
                            activemind
                            wrote on last edited by
                            #18

                            @Samuel235 said:

                            We could do with someone getting involved that has KiCad experience because i just have zero. I'm assuming that all those header pins and the different sized resistors are wrong too.

                            I'm not too sure why the arduino is actually shown on the board with seperate serial header either. You only need 2 rows of female headers for your arduino to soxket in to.

                            The arduino footprint in from github. So I would assume that is correct!

                            I found the issue with resistor footprint. I had chosen 20mm for 3 and 10mm for the remaining ones. I think I want 10mm for all of them. Though R1,R2 & R4 need to higher wattage but I will deal with that detail after I have sorted out the size issue.

                            I also realized that I need to add connectors for 12V input power and 4 LED output signals!

                            Duh! :-)

                            -AM

                            S 1 Reply Last reply
                            0
                            • A activemind

                              @Samuel235 said:

                              We could do with someone getting involved that has KiCad experience because i just have zero. I'm assuming that all those header pins and the different sized resistors are wrong too.

                              I'm not too sure why the arduino is actually shown on the board with seperate serial header either. You only need 2 rows of female headers for your arduino to soxket in to.

                              The arduino footprint in from github. So I would assume that is correct!

                              I found the issue with resistor footprint. I had chosen 20mm for 3 and 10mm for the remaining ones. I think I want 10mm for all of them. Though R1,R2 & R4 need to higher wattage but I will deal with that detail after I have sorted out the size issue.

                              I also realized that I need to add connectors for 12V input power and 4 LED output signals!

                              Duh! :-)

                              -AM

                              S Offline
                              S Offline
                              Samuel235
                              Hardware Contributor
                              wrote on last edited by
                              #19

                              @activemind, learning is the name of the game 😉

                              MySensors 2.1.1
                              Controller - OpenHAB (Virtual Machine)
                              Gateway - Arduino Mega MQTT Gateway W5100

                              A 1 Reply Last reply
                              0
                              • S Samuel235

                                @activemind, learning is the name of the game 😉

                                A Offline
                                A Offline
                                activemind
                                wrote on last edited by
                                #20

                                @Samuel235 said:

                                @activemind, learning is the name of the game 😉

                                Very true! Once again, thanks much for active feedback! :-)

                                -AM

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  activemind
                                  wrote on last edited by
                                  #21

                                  Looking better after I fixed the cap and resistor footprints...

                                  0_1465860123469_RGB.jpg

                                  Do I need to be concerned about arduino footprints if I got them from mysensors github?

                                  Need to add labels now and size the PCB?

                                  -AM

                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    Samuel235
                                    Hardware Contributor
                                    wrote on last edited by
                                    #22

                                    Looking much neater and correct now. I wouldn't say you need to be doubting the footprints on github, but i still don't like the look of how KiCAD is showing this on the board. If that was in Eagle it would be showing that i need to solder each component of the arduino onto my board, not pushing a arduino into a socket. However, KiCAD may be completely different to the way it displays things though. Like i said before, we need someone with some KiCAD experience around here, i can't remember who uses it here :(

                                    MySensors 2.1.1
                                    Controller - OpenHAB (Virtual Machine)
                                    Gateway - Arduino Mega MQTT Gateway W5100

                                    1 Reply Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      activemind
                                      wrote on last edited by
                                      #23

                                      Played around with the placement a little more and I think I am happy with it now as this layout gives me space for silkscreen label and mounting holes.

                                      I also got rid of the 2 pin jumper as it didnt really serve any purpose. Now LM317 always outputs 5V which is stepped down to 3.3V by LE33. Depending upon 3 jumper position you can use 3v3 or 5v pro mini. MySX header has both 5v and 3v3 so you can power the sensors off of that.

                                      Trying to fix the github arduino pro model because I dont think its correct. There are 4 extra pins which are not there in the sparkfun model. Also, my 3D drawing does not have a different color compared to PCB. Need to fix those.

                                      Anyways, here is the updated layout.

                                      0_1465924279504_RGB.jpg

                                      Once I cleanup all of the above and incorporate feedback (if any), I can start looking at routing the board :-) (which I have never done earlier).

                                      -AM

                                      S 1 Reply Last reply
                                      0
                                      • A activemind

                                        Played around with the placement a little more and I think I am happy with it now as this layout gives me space for silkscreen label and mounting holes.

                                        I also got rid of the 2 pin jumper as it didnt really serve any purpose. Now LM317 always outputs 5V which is stepped down to 3.3V by LE33. Depending upon 3 jumper position you can use 3v3 or 5v pro mini. MySX header has both 5v and 3v3 so you can power the sensors off of that.

                                        Trying to fix the github arduino pro model because I dont think its correct. There are 4 extra pins which are not there in the sparkfun model. Also, my 3D drawing does not have a different color compared to PCB. Need to fix those.

                                        Anyways, here is the updated layout.

                                        0_1465924279504_RGB.jpg

                                        Once I cleanup all of the above and incorporate feedback (if any), I can start looking at routing the board :-) (which I have never done earlier).

                                        -AM

                                        S Offline
                                        S Offline
                                        Samuel235
                                        Hardware Contributor
                                        wrote on last edited by
                                        #24

                                        @activemind Looks a little better. Check the spacing between the MySX header and the side of where the arduino will sit, allow enough room for yourself there.

                                        MySensors 2.1.1
                                        Controller - OpenHAB (Virtual Machine)
                                        Gateway - Arduino Mega MQTT Gateway W5100

                                        1 Reply Last reply
                                        0
                                        • A Offline
                                          A Offline
                                          activemind
                                          wrote on last edited by
                                          #25

                                          @Samuel235 Looks fine to my noob eyes :-)

                                          Here is a view from a different angle (I also fixed my 3D model paths)

                                          0_1465925706075_RGB.jpg

                                          -AM

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