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

    Just reading through the datasheet of ATAES132, and realise that I already have support for it on the board. It uses a standard I2C / SPI eeprom footprint, and that is already on the board. So if anyone would like to use it, they only need to replace the flash.

    Anyway, I have finished re-routing things.. and the ATSHA204 is now incorporated in the design, so challenge/response authentication could be implemented.

    Just need to do the last couple of reviews, before I press the order button for a new set of pcb's

    AnticimexA 1 Reply Last reply
    1
    • RJ_MakeR Offline
      RJ_MakeR Offline
      RJ_Make
      Hero Member
      wrote on last edited by
      #125

      Is it not possible to just encrypt the entire packet with an AES library on both ends?

      RJ_Make

      1 Reply Last reply
      0
      • tbowmoT tbowmo

        Just reading through the datasheet of ATAES132, and realise that I already have support for it on the board. It uses a standard I2C / SPI eeprom footprint, and that is already on the board. So if anyone would like to use it, they only need to replace the flash.

        Anyway, I have finished re-routing things.. and the ATSHA204 is now incorporated in the design, so challenge/response authentication could be implemented.

        Just need to do the last couple of reviews, before I press the order button for a new set of pcb's

        AnticimexA Offline
        AnticimexA Offline
        Anticimex
        Contest Winner
        wrote on last edited by
        #126

        @tbowmo Does your design support both I2C and single-write ATSHA204?

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

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

          @Anticimex

          It's single wire atsha204, it's connected to A3. I couldn't fit in the 8 pin variants of the atsha204, so that ruled out the full I2C bus version. It even took me a couple of hours of re-routing to make enough room for the sot23 housing of the ATSHA204.

          Anyway, schematic / pcb layouts are as follows

          MySensorV2-schematic.png
          MySensorV2-full.png MySensorV2-bottom.png MySensorV2-top.png

          AnticimexA RJ_MakeR 2 Replies Last reply
          1
          • tbowmoT tbowmo

            @Anticimex

            It's single wire atsha204, it's connected to A3. I couldn't fit in the 8 pin variants of the atsha204, so that ruled out the full I2C bus version. It even took me a couple of hours of re-routing to make enough room for the sot23 housing of the ATSHA204.

            Anyway, schematic / pcb layouts are as follows

            MySensorV2-schematic.png
            MySensorV2-full.png MySensorV2-bottom.png MySensorV2-top.png

            AnticimexA Offline
            AnticimexA Offline
            Anticimex
            Contest Winner
            wrote on last edited by
            #128

            @tbowmo Excellent.

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

            1 Reply Last reply
            0
            • tbowmoT tbowmo

              @Anticimex

              It's single wire atsha204, it's connected to A3. I couldn't fit in the 8 pin variants of the atsha204, so that ruled out the full I2C bus version. It even took me a couple of hours of re-routing to make enough room for the sot23 housing of the ATSHA204.

              Anyway, schematic / pcb layouts are as follows

              MySensorV2-schematic.png
              MySensorV2-full.png MySensorV2-bottom.png MySensorV2-top.png

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

              @tbowmo Once again,... Well Done!

              RJ_Make

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

                And for the fun of it.. Just made a github repository of the design

                https://github.com/tbowmo/MySensorMicro

                Just in case anyone would like to have a closer look in eagle.

                1 Reply Last reply
                1
                • RJ_MakeR Offline
                  RJ_MakeR Offline
                  RJ_Make
                  Hero Member
                  wrote on last edited by
                  #131

                  I wonder what kind of "hit" on battery life authentication/encryption will have?

                  RJ_Make

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

                    I do not think it is a big issue. Authentication is normally only needed on nodes that have actuators. And this implies that they always have to listen for incoming data and are therefore inherently non-battery friendly The ATSHA has a very low power consumption, so the added cost for message signing procedures is probably negligible compared to the cost of running the radio continuously.

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

                    1 Reply Last reply
                    0
                    • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          22

                                          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