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
    #133

    Hmm thinking about it, authentication could be valuable on sensors as well.

    If you use the sensor readings to control another actuator, then an attacker could send in his own bogus sensor values in order to trigger system events. He does need to know the specifics about your setup though, so the question is if it's affordable to the mischief to do anything like that :)

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

      Yep. This is true, and something I eventually have to add support for.

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

      1 Reply Last reply
      0
      • tbowmoT tbowmo

        @Dirk_H said:

        @tbowmo I don't see a Load Capacitor on the crystal. Especially if you need a precise clock you should use some. Have a look at https://www.adafruit.com/blog/2012/01/24/choosing-the-right-crystal-and-caps-for-your-design/ for example about Load Capacitors.

        I know that normally the crystal require load capacitors, but for the low freq. oscilator (32Khz) its not necessary (as far as I have read), that's why I omitted them from the design. I'll try and dig out the datasheets when I'm at home and double check things.

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

        @tbowmo said:

        @Dirk_H said:

        @tbowmo I don't see a Load Capacitor on the crystal. Especially if you need a precise clock you should use some. Have a look at https://www.adafruit.com/blog/2012/01/24/choosing-the-right-crystal-and-caps-for-your-design/ for example about Load Capacitors.

        I know that normally the crystal require load capacitors, but for the low freq. oscilator (32Khz) its not necessary (as far as I have read), that's why I omitted them from the design. I'll try and dig out the datasheets when I'm at home and double check things.

        Got around to check up on datasheet for atmel328p, when using lowfrequency oscilator, it has internal load capacitors. If you look at page 33 in the datasheet. So it's not necessary for external capacitors

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

          very soon the next prototype pcb revision will be ordered from China. Gonna be exciting. Almost like Christmas, where the kids just wanna open their gifts :)

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

            And pcb's are ordered.. Again, using dirtypcbs.com, for the order..

            I have used a panelizer tool from http://blog.thisisnotrocketscience.nl/ to panelize the boards this time, so it should be easier to depanelize it when they get here..

            0f7e7ea77da42f064aec6af94953d91b-4461_top.png

            bjornhallbergB 1 Reply Last reply
            2
            • tbowmoT tbowmo

              And pcb's are ordered.. Again, using dirtypcbs.com, for the order..

              I have used a panelizer tool from http://blog.thisisnotrocketscience.nl/ to panelize the boards this time, so it should be easier to depanelize it when they get here..

              0f7e7ea77da42f064aec6af94953d91b-4461_top.png

              bjornhallbergB Offline
              bjornhallbergB Offline
              bjornhallberg
              Hero Member
              wrote on last edited by
              #138

              @tbowmo Looks great!

              Haven't actually ordered anything produced by the panelizer yet, but the results look really amazing:

              panelizing2.jpg

              I was planning to finally get around to some boost regulators. But I need to design mine from scratch (these are just scavenged from other places) so they follow the same design guide lines and can be plugged in seamlessly to the main pcb.

              Would be great if there were some sort of common design to follow for designing shields and such.

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

                As you all probably have noticed, there is an mysensor logo on the boards, that I just ordered.. :)

                I have been cooperating with @hek for a while, and this is going to be an "official Mysensor pcb" :)

                We have been in discussions with a vendor in china, for doing SMT assembly as well.. We are currently waiting for the pcb's to arrive and get them populated, to verify that everything is as it should be, before we start up production in China.

                For a batch of 100 units, the price is about 13$ per unit, plus shipping/handling fee, this is without any profits to the project

                One question though, I made room for an ATSHA204 chip on the board, that could be used for authentication purposes, we want to know if this should be mounted as default on the board, as it will add arround 1$ to the unit price.

                Also how many would be interested in ordering one (or 10, 20, 50?) of them? :) (just so that we get an indication if we should make a batch of 100 units, or 500 units)

                RJ_MakeR DwaltD 2 Replies Last reply
                0
                • tbowmoT tbowmo

                  As you all probably have noticed, there is an mysensor logo on the boards, that I just ordered.. :)

                  I have been cooperating with @hek for a while, and this is going to be an "official Mysensor pcb" :)

                  We have been in discussions with a vendor in china, for doing SMT assembly as well.. We are currently waiting for the pcb's to arrive and get them populated, to verify that everything is as it should be, before we start up production in China.

                  For a batch of 100 units, the price is about 13$ per unit, plus shipping/handling fee, this is without any profits to the project

                  One question though, I made room for an ATSHA204 chip on the board, that could be used for authentication purposes, we want to know if this should be mounted as default on the board, as it will add arround 1$ to the unit price.

                  Also how many would be interested in ordering one (or 10, 20, 50?) of them? :) (just so that we get an indication if we should make a batch of 100 units, or 500 units)

                  RJ_MakeR Offline
                  RJ_MakeR Offline
                  RJ_Make
                  Hero Member
                  wrote on last edited by
                  #140

                  @tbowmo

                  That's 2 questions... :-)

                  1. Yes, It's worth it to me (Hopefully there will be MySensors software support down the road)
                  2. I would probably start off with 3 to 5.

                  Will there be a "kit" price for those who want to populate and reflow themselves?

                  RJ_Make

                  tbowmoT 1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    As you all probably have noticed, there is an mysensor logo on the boards, that I just ordered.. :)

                    I have been cooperating with @hek for a while, and this is going to be an "official Mysensor pcb" :)

                    We have been in discussions with a vendor in china, for doing SMT assembly as well.. We are currently waiting for the pcb's to arrive and get them populated, to verify that everything is as it should be, before we start up production in China.

                    For a batch of 100 units, the price is about 13$ per unit, plus shipping/handling fee, this is without any profits to the project

                    One question though, I made room for an ATSHA204 chip on the board, that could be used for authentication purposes, we want to know if this should be mounted as default on the board, as it will add arround 1$ to the unit price.

                    Also how many would be interested in ordering one (or 10, 20, 50?) of them? :) (just so that we get an indication if we should make a batch of 100 units, or 500 units)

                    DwaltD Offline
                    DwaltD Offline
                    Dwalt
                    wrote on last edited by
                    #141

                    @tbowmo

                    I would also be interested in at least 5 boards (initially) if they were populated, not ready for smt soldering yet.

                    Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                    1 Reply Last reply
                    0
                    • RJ_MakeR RJ_Make

                      @tbowmo

                      That's 2 questions... :-)

                      1. Yes, It's worth it to me (Hopefully there will be MySensors software support down the road)
                      2. I would probably start off with 3 to 5.

                      Will there be a "kit" price for those who want to populate and reflow themselves?

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

                      @ServiceXp said:

                      @tbowmo

                      That's 2 questions... :-)

                      I edited it a couple of times while talking with @hek last evening, so it slipped. Hope you can forgive me ;)

                      1. Yes, It's worth it to me (Hopefully there will be MySensors software support down the road)
                      2. I would probably start off with 3 to 5.

                      Will there be a "kit" price for those who want to populate and reflow themselves?

                      No kit version, the pcb will be released under oshw so you could order it yourself, and source the components. However my unit price for the initial units will hit 11-12$, so it's only 1 or 2$ extra to get it smt assembled in China.

                      The more units we can order the cheaper it will become.

                      bjornhallbergB 1 Reply Last reply
                      0
                      • tbowmoT tbowmo

                        @ServiceXp said:

                        @tbowmo

                        That's 2 questions... :-)

                        I edited it a couple of times while talking with @hek last evening, so it slipped. Hope you can forgive me ;)

                        1. Yes, It's worth it to me (Hopefully there will be MySensors software support down the road)
                        2. I would probably start off with 3 to 5.

                        Will there be a "kit" price for those who want to populate and reflow themselves?

                        No kit version, the pcb will be released under oshw so you could order it yourself, and source the components. However my unit price for the initial units will hit 11-12$, so it's only 1 or 2$ extra to get it smt assembled in China.

                        The more units we can order the cheaper it will become.

                        bjornhallbergB Offline
                        bjornhallbergB Offline
                        bjornhallberg
                        Hero Member
                        wrote on last edited by bjornhallberg
                        #143

                        @tbowmo I might be interested in a few, seeing as this PCB has some pretty unique features, but I'm still in the market for a board with an on-board regulator that will give me a bit more flexibility.

                        The problem (for me) is that while waiting for any official hardware, I've bought a lot of other stuff. I had another 10x Arduino Pro Mini arrive just yesterday for instance. Plus the booster project above. I ordered a couple of hundred brand inductors and capacitors as well as ltc3525 ICs. So basically now I don't have a choice but to go it alone for the most part :sweat:

                        What we could need right now is some clear direction, like whether the ATSHA204 is the way to go. Or some common form factor that would allow future shields or whatnot.

                        Also, for something really small like this, to be put into production, I would have liked to have tried with the "smd / mini nrf24" version that is also available on Ebay, just to keep the size down even further. I just got three of those yesterday and they are indeed very tiny (pin header spacing is 1.27mm). Whether they work ok or not I do not know. I do know that some people on the forum have posted project pictures with these mini nrf24. I guess what I'm saying is that lowpowerlabs already invented the wheel here: http://lowpowerlab.com/moteino/
                        Would be great to hang a mini nrf24 flat off of the back if at all possible. But given what we know of the nrf24 it would probably blow up in our faces compared to the RFM12B/RFM69 that the moteino uses. Of course, they also use a wire antenna while we still trust the pcb antenna ...

                        tbowmoT 1 Reply Last reply
                        0
                        • bjornhallbergB bjornhallberg

                          @tbowmo I might be interested in a few, seeing as this PCB has some pretty unique features, but I'm still in the market for a board with an on-board regulator that will give me a bit more flexibility.

                          The problem (for me) is that while waiting for any official hardware, I've bought a lot of other stuff. I had another 10x Arduino Pro Mini arrive just yesterday for instance. Plus the booster project above. I ordered a couple of hundred brand inductors and capacitors as well as ltc3525 ICs. So basically now I don't have a choice but to go it alone for the most part :sweat:

                          What we could need right now is some clear direction, like whether the ATSHA204 is the way to go. Or some common form factor that would allow future shields or whatnot.

                          Also, for something really small like this, to be put into production, I would have liked to have tried with the "smd / mini nrf24" version that is also available on Ebay, just to keep the size down even further. I just got three of those yesterday and they are indeed very tiny (pin header spacing is 1.27mm). Whether they work ok or not I do not know. I do know that some people on the forum have posted project pictures with these mini nrf24. I guess what I'm saying is that lowpowerlabs already invented the wheel here: http://lowpowerlab.com/moteino/
                          Would be great to hang a mini nrf24 flat off of the back if at all possible. But given what we know of the nrf24 it would probably blow up in our faces compared to the RFM12B/RFM69 that the moteino uses. Of course, they also use a wire antenna while we still trust the pcb antenna ...

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

                          @bjornhallberg said:

                          @tbowmo I might be interested in a few, seeing as this PCB has some pretty unique features, but I'm still in the market for a board with an on-board regulator that will give me a bit more flexibility.

                          The problem (for me) is that while waiting for any official hardware, I've bought a lot of other stuff. I had another 10x Arduino Pro Mini arrive just yesterday for instance. Plus the booster project above. I ordered a couple of hundred brand inductors and capacitors as well as ltc3525 ICs. So basically now I don't have a choice but to go it alone for the most part :sweat:

                          What we could need right now is some clear direction, like whether the ATSHA204 is the way to go. Or some common form factor that would allow future shields or whatnot.

                          Also, for something really small like this, to be put into production, I would have liked to have tried with the "smd / mini nrf24" version that is also available on Ebay, just to keep the size down even further. I just got three of those yesterday and they are indeed very tiny (pin header spacing is 1.27mm). Whether they work ok or not I do not know. I do know that some people on the forum have posted project pictures with these mini nrf24. I guess what I'm saying is that lowpowerlabs already invented the wheel here: http://lowpowerlab.com/moteino/
                          Would be great to hang a mini nrf24 flat off of the back if at all possible. But given what we know of the nrf24 it would probably blow up in our faces compared to the RFM12B/RFM69 that the moteino uses. Of course, they also use a wire antenna while we still trust the pcb antenna ...

                          I forgot about the mini nrf24 modules. But I don't think that we could have squeezed it that much more in size, we could probably save 2-3mm in stack height, but that's about it.

                          Also, this board was designed from the beginning to be a battery operated node. That is why there is no regulator on board (besides the fact that there is no room for it). I selected the components for their ability to work on low voltages all, except the atsha204, is able to work on a VCC as low as 1.8V)

                          I have seen lot's of questions asking about battery operation of 3.3V arduino mini pro, with DHT22 sensors attached. People cut LED's and regulators on the arduino, in order to get the power consumption as low as possible. This is where this particular board fits in. It's ready for battery operation, and has the temperature / humidity sensor build in.

                          It started out because I wanted an "easy" clean option for sensor nodes for my own application, without any wire nests between arduino and nrf24 modules. I hope that it will be useful for others as well, and might be able to get others going with the mysensor project.

                          For my own part, I could use up to 20 of these, for measuring temperature / humidity in every room in the house (and out side as well)

                          Btw. all those arduinos you've bought, could be turned into something else :)

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

                            I snapped some pictures just so everyone can see the difference between the nrf24 modules.
                            _MG_3962.jpg
                            _MG_3963.jpg
                            Of course, like I said, I don't even know if the "mini" works in a satisfactory manner. I'm gonna get some smaller pitch headers so I can make a prototype. But the PCB antenna actually seems to be the exact same size so I have high hopes for that aspect at least.

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

                              @bjornhallberg

                              The antenna still needs to hang over "free air" (or an unrouted PCB area), this is the area where the logo is located on the current design. It could be moved to the opposite end of the pcb (where the nrf24 pinheader is located).

                              If we switch to the mini module, then the pinheader for the radio is removed, but then you need a "larger" area where there is no components at all, in order to mount the nrf module flat to the sensor pcb. So in theory it will not be that much smaller, only the pinheader distance between the two pcbs can be removed.. lenght /width will be almost the same, maybe a bit longer as there is not that much room to give, with the current number of components (Si7021, eeprom, atsha204 etc).

                              bjornhallbergB 1 Reply Last reply
                              0
                              • tbowmoT tbowmo

                                @bjornhallberg

                                The antenna still needs to hang over "free air" (or an unrouted PCB area), this is the area where the logo is located on the current design. It could be moved to the opposite end of the pcb (where the nrf24 pinheader is located).

                                If we switch to the mini module, then the pinheader for the radio is removed, but then you need a "larger" area where there is no components at all, in order to mount the nrf module flat to the sensor pcb. So in theory it will not be that much smaller, only the pinheader distance between the two pcbs can be removed.. lenght /width will be almost the same, maybe a bit longer as there is not that much room to give, with the current number of components (Si7021, eeprom, atsha204 etc).

                                bjornhallbergB Offline
                                bjornhallbergB Offline
                                bjornhallberg
                                Hero Member
                                wrote on last edited by
                                #147

                                @tbowmo Yeah, you're probably right. It would take some re-design and you might not save all that much space, given all the other components as you say.

                                Still, it'd be great to achieve something ... flatter ... like:
                                http://harizanov.com/2014/07/diy-internet-of-things-fire-alarm/
                                Runs an attiny84 though, but still.

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

                                  @bjornhallberg

                                  Could you measure the mini pcb? the width of the module, and lenght of the area with gnd, and the length of the antenna area (and total length of the module, should be the two lengths added together)

                                  bjornhallbergB 1 Reply Last reply
                                  0
                                  • tbowmoT tbowmo

                                    @bjornhallberg

                                    Could you measure the mini pcb? the width of the module, and lenght of the area with gnd, and the length of the antenna area (and total length of the module, should be the two lengths added together)

                                    bjornhallbergB Offline
                                    bjornhallbergB Offline
                                    bjornhallberg
                                    Hero Member
                                    wrote on last edited by
                                    #149

                                    @tbowmo I found an old post I made here:
                                    http://forum.mysensors.org/topic/413/is-there-a-schematic-of-the-nrf24-board/2
                                    I checked the measurements and they seem right. In addition, the antenna-area is about 8mm long.

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

                                      @bjornhallberg

                                      made a mockup of the nrf24 mini module, and tried to place it on the sensor board.. If I should use it, I have to remove the ISP pinheader from the board, as there is no room for it.

                                      Also, it is filling up almost half the populated pcb area on the sensor board, which means that there is not enough space for the components, and we have to make a bigger pcb, in order to have room for everything.

                                      bjornhallbergB 1 Reply Last reply
                                      0
                                      • tbowmoT tbowmo

                                        @bjornhallberg

                                        made a mockup of the nrf24 mini module, and tried to place it on the sensor board.. If I should use it, I have to remove the ISP pinheader from the board, as there is no room for it.

                                        Also, it is filling up almost half the populated pcb area on the sensor board, which means that there is not enough space for the components, and we have to make a bigger pcb, in order to have room for everything.

                                        bjornhallbergB Offline
                                        bjornhallbergB Offline
                                        bjornhallberg
                                        Hero Member
                                        wrote on last edited by
                                        #151

                                        @tbowmo Yeah, better to save it for a future project. I mean, there will never be a one size fits all and that is what is so great about MySensors. All the PCBs designed so far have a purpose and a market. And ideally, we'd want a few of each in the sensor network to complement each other.

                                        The reason I brought up the "mini", aside from wanting a flatter sensor node, is that the module seems to be getting more common on Ebay as well as cheaper. I've seen some sellers that sell them for the same price as the regular NRF24 now (in 10pcs). Four months ago, they were rare and many times more expensive. So if they work as advertised they could soon replace the NRF24 module we've all come to use.

                                        In this context, and knowing very little of antennas, it is too bad they don't have a version without the PCB antenna altogether. We could add our own antennas and more easily fit the module on miniscule sensor nodes such as yours.

                                        1 Reply Last reply
                                        0
                                        • T Offline
                                          T Offline
                                          tlund
                                          wrote on last edited by
                                          #152

                                          I would be interested in 5 units. I lean towards including ATSHA204 and smt assembled, but I would buy without and unassembled.

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


                                          19

                                          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