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 tbowmo

    Hmm I was tricked by the "crypto-authentication" note on atmel site, so thought it only did auth.

    Still, lowest vcc is 2.5v. If they could make a device that could operate down to 1.8v instead instead, it would be more interesting.

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

    @tbowmo Yeah the 2.5v would be a problem, unless we can build an extremely efficient boost...

    RJ_Make

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

      @ServiceXp

      Yes, but I am trying to avoid booster circuits at all costs in this design. Also the main function is to collect temperature and humidity values from around the house. So for my part encryption is not a must have for this device.

      btw I'm almost there with rerouting rev 2 to make room for the atsha204 (in sot23 housing)

      1 Reply Last reply
      1
      • 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
                                          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