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. Minimal design thoughts

Minimal design thoughts

Scheduled Pinned Locked Moved Hardware
299 Posts 34 Posters 177.6k Views 17 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.
  • tbowmoT Offline
    tbowmoT Offline
    tbowmo
    Admin
    wrote on last edited by tbowmo
    #25

    Schematic as it is at the moment:
    sensor-alpha1.png

    And the board as it is right now
    sensor-alpha1-brd.png

    I know it says eeprom for IC2, but the footprint is the same for SPI flashes.

    the eeprom is placed on the bottom layer. Also, the nrf24 is placed on the bottom (so the eeprom is "in the middle of the sandwich". The dimensions of the total board will be about 15x30mm. This is the same size as the radio module. The empty area on the top is the area below the antenna.

    Still need to make changes to the DFN package (upper right). and make a footprint for a bmp180 barometric sensor (and find a good home for it on the board).

    Also, need to tidy up the routing, I used the autorouter which is very bad at placing the traces (haven't got any better since I used eagle the last time 11 years ago..) So maybe I just end rip everything up and hand route it by hand (this is the fun part of pcb designs, trying to mingle everything in to place :) thinking about the things my teacers told me 20 years ago about PCB design (oh f*ck I feel like an old geezer now! :))

    Oh yeah, btw. there is also made room for a crystal (32Khz) on there.

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

      And yes, I know i'm missing pull ups on i2c bus, and decoupling capacitors on the 328

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

        This will be a very small board indeed! Not an expert but couldn't the radio interfere with MCU at these short distances?

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

          @hek

          This will be a very small board indeed! Not an expert but couldn't the radio interfere with MCU at these short distances?

          It would be more the other way arround. The MCU is making trouble for the receive path of the radio module. But the radio module has a large gnd plane on the bottom towards the mcu board, so it should be shielded.

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

            A new schematic / layout

            I'm almost ready for sending it off to China, and get some boards back :)

            Changes since last:
            2 LED's added (figured debug output could be nice)
            pullups added on i2c bus
            caps changed to 0603 footprint
            added a couple of extra caps for decoupling (MCU)
            Added BMP180 barometric sensor (only need 1 node with this one though)
            Moved components arround, squeezing things a little bit more together.
            Routed manually this time, not that big a board, so no need to use the autorute function

            Testpads on upper right corner of the pcba is GND, RXD/TXD and VCC, again nice to have serial available for debugging the first couple of boards.

            Board is designed with dirtypcbs.com in mind for production (Used their DRU file in eagle to check things).

            Schematic:
            sensor-alpha2.png

            and pcb layout:
            sensor-alpha2-brd.png

            1 Reply Last reply
            1
            • bjornhallbergB Offline
              bjornhallbergB Offline
              bjornhallberg
              Hero Member
              wrote on last edited by
              #30

              Fantastic! But I agree that is is perhaps a bit odd to have a footprint for a BMP180 on every board. You'll get a lot of boards when ordering 10x 5x5cm PCBs.

              0603 ... time to get soldering. Haha. But those solder pads look pretty big actually. Is this the issue where Eagle actually makes 0603 caps more solderable than 0805 by making the pads longer?

              tbowmoT 1 Reply Last reply
              0
              • bjornhallbergB bjornhallberg

                Fantastic! But I agree that is is perhaps a bit odd to have a footprint for a BMP180 on every board. You'll get a lot of boards when ordering 10x 5x5cm PCBs.

                0603 ... time to get soldering. Haha. But those solder pads look pretty big actually. Is this the issue where Eagle actually makes 0603 caps more solderable than 0805 by making the pads longer?

                tbowmoT Offline
                tbowmoT Offline
                tbowmo
                Admin
                wrote on last edited by
                #31

                @bjornhallberg said:

                Fantastic! But I agree that is is perhaps a bit odd to have a footprint for a BMP180 on every board. You'll get a lot of boards when ordering 10x 5x5cm PCBs.

                I know, but I thought that I just as well could put one in there when I was designing the pcb. Otherwise I would have to get it on an external pcb (sparkfun sells bmp180 breakut boards). And there was room for it :)

                0603 ... time to get soldering. Haha. But those solder pads look pretty big actually. Is this the issue where Eagle actually makes 0603 caps more solderable than 0805 by making the pads longer?

                Don't know, last time I used eagle (about 10 years ago) I made layouts with 0805 components, (and an atmega8). Actually I think that the board I made back then is still being used in production.

                /Thomas

                1 Reply Last reply
                0
                • bjornhallbergB Offline
                  bjornhallbergB Offline
                  bjornhallberg
                  Hero Member
                  wrote on last edited by bjornhallberg
                  #32

                  Any thoughts on how to panelize it? You'd get like six boards on a 5x5 if those dimensions hold? Perhaps you could do some alternative layouts for different sensors? I understand dirtypcbs no longer do grooving (if they ever did) ... how much pcb space is lost to routing typically?

                  In case anyone else is wondering about dirtypcbs, they seem to do an ok job typically:
                  http://lab.kjlr.dk/p/handystick
                  http://hackers.gallery/236/electronics/pcb-itead-studio-vs-dirtypcbs

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

                    The full size is 16x31 mm at the moment. So it's almost the same size as the normal nrf24 modules on ebay. So if I panelize them i can get 4 modules in total on a single 5x5 area.

                    Let's see when i come around to order them. I just like the dirty pcb as it reminds me of a song from my favorite rockband (ac/dc) :)

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

                      Arh.. just found out that the pinheader for the radio was turned 180 degrees, so instead of the 2 boards being on top of eatch other, they would "go in two different directions". Had to rip up most of the board, and re-arrange things again.

                      sensor-alpha3-brd.png

                      only changes on the schematic, is that the LED's are moved to a couple of other pins.

                      / Thomas

                      1 Reply Last reply
                      1
                      • N Offline
                        N Offline
                        NotYetRated
                        wrote on last edited by
                        #35

                        Very interesting, this one board would cover all that I need for the majority of my sensors. Would need a couple of sensors with IR, and a couple of others. Is the reason for this the reduced foot print, a reduced cost over arduino pro's, or something else?

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

                          @NotYetRated

                          One of the reasons is that I wanted to go with battery, without all the extra "cruft" that is on standard arduino boards (like regulators etc.),

                          Also I want to make it as clean as possible, as I'm planning on creating 10-20 nodes in total I don't like to make them as "birdsnests" with multiple boards stiched together with wires.

                          It also almost became an obsesson to see how small I could get it :).

                          Maybe I can save a little $ by roling my own layout, but not the main driving force.

                          N 1 Reply Last reply
                          0
                          • tbowmoT tbowmo

                            @NotYetRated

                            One of the reasons is that I wanted to go with battery, without all the extra "cruft" that is on standard arduino boards (like regulators etc.),

                            Also I want to make it as clean as possible, as I'm planning on creating 10-20 nodes in total I don't like to make them as "birdsnests" with multiple boards stiched together with wires.

                            It also almost became an obsesson to see how small I could get it :).

                            Maybe I can save a little $ by roling my own layout, but not the main driving force.

                            N Offline
                            N Offline
                            NotYetRated
                            wrote on last edited by
                            #37

                            @tbowmo Ahh, understood! I too plan for, somewhere around 20 nodes. However I plan to wall wort power most of mine. The only real exception will be a few outside, and inconvenient to reach places.

                            I do like the idea of eliminating as much of the "birds nest" as possible... My first couple of, what I am currently calling prototype sensors, are, well inside their boxes, very ugly. haha.

                            1 Reply Last reply
                            0
                            • daulagariD Offline
                              daulagariD Offline
                              daulagari
                              Hero Member
                              wrote on last edited by
                              #38

                              @tbowmo Very nice design!

                              Personally I would make something similar but with the option to charge things using an external solar cell or just a charger. With the new generation of low-leakage NiMH rechargeable batteries I am very tempted using these to power the sensor.

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

                                @daulagari

                                Is it necessary to use solar power? A couple of standard AA batteries, is probably good for 2000mAh, and with a consumption of below 50uA, you got battery power for 4-5 years..

                                Also the sun doesn't shine inside my house ;)

                                / Thomas

                                1 Reply Last reply
                                0
                                • daulagariD Offline
                                  daulagariD Offline
                                  daulagari
                                  Hero Member
                                  wrote on last edited by
                                  #40

                                  Is it necessary to use solar power? A couple of standard AA batteries, is probably good for 2000mAh, and with a consumption of below 50uA, you got battery power for 4-5 years..

                                  Sounds great, 4-5 years without changing batteries but will that be real? The bad thing is that if true it take 4-5 years to prove it.

                                  Also the sun doesn't shine inside my house

                                  But a solar cell does not need solar to generate (some) current unless your house is completely dark ;-)

                                  But yes, if it is only 2-3 year going with rechargeable batteries is overkill.

                                  tbowmoT 1 Reply Last reply
                                  0
                                  • daulagariD daulagari

                                    Is it necessary to use solar power? A couple of standard AA batteries, is probably good for 2000mAh, and with a consumption of below 50uA, you got battery power for 4-5 years..

                                    Sounds great, 4-5 years without changing batteries but will that be real? The bad thing is that if true it take 4-5 years to prove it.

                                    Also the sun doesn't shine inside my house

                                    But a solar cell does not need solar to generate (some) current unless your house is completely dark ;-)

                                    But yes, if it is only 2-3 year going with rechargeable batteries is overkill.

                                    tbowmoT Offline
                                    tbowmoT Offline
                                    tbowmo
                                    Admin
                                    wrote on last edited by
                                    #41

                                    @daulagari said:

                                    Is it necessary to use solar power? A couple of standard AA batteries, is probably good for 2000mAh, and with a consumption of below 50uA, you got battery power for 4-5 years..

                                    Sounds great, 4-5 years without changing batteries but will that be real? The bad thing is that if true it take 4-5 years to prove it.

                                    Probably not 4-5 years (it was just quick, off the head, calculations), but I would think that at least 2 years of service time should be obtainable.. But yes, we will first see it in a couple of years :D

                                    Also the sun doesn't shine inside my house

                                    But a solar cell does not need solar to generate (some) current unless your house is completely dark ;-)

                                    But yes, if it is only 2-3 year going with rechargeable batteries is overkill.

                                    I plan to place my sensors in corners, or somewhere else, where there isn't any direct light on them. And then they don't create enough power to charge the batteries., so solarpower is just adding to the cost of the project, without any real benefit..

                                    1 Reply Last reply
                                    0
                                    • N Offline
                                      N Offline
                                      NotYetRated
                                      wrote on last edited by
                                      #42

                                      Woah, wait.... 2 years of power?? Okay, if I could even get, say 18 months, I would go with battery powered over wall worts in a majority of my sensors.

                                      I was assuming battery power may last 3-6 months or so, given the motion detection.

                                      tbowmoT 1 Reply Last reply
                                      0
                                      • N NotYetRated

                                        Woah, wait.... 2 years of power?? Okay, if I could even get, say 18 months, I would go with battery powered over wall worts in a majority of my sensors.

                                        I was assuming battery power may last 3-6 months or so, given the motion detection.

                                        tbowmoT Offline
                                        tbowmoT Offline
                                        tbowmo
                                        Admin
                                        wrote on last edited by
                                        #43

                                        @NotYetRated said:

                                        Woah, wait.... 2 years of power?? Okay, if I could even get, say 18 months, I would go with battery powered over wall worts in a majority of my sensors.

                                        I was assuming battery power may last 3-6 months or so, given the motion detection.

                                        With motion detection you probably are further down, also one problem is that the PIR sensors I have seen is only 3.3V, which means you need a step up converter to power it from battery. This also increases the powerdrain on the batteries.

                                        1 Reply Last reply
                                        0
                                        • N Offline
                                          N Offline
                                          NotYetRated
                                          wrote on last edited by
                                          #44

                                          Ahh okay. Ill stick with building my stuff out for wall power where possible, and probably test a few of your boards when available. :)

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


                                          27

                                          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