Skip to content
  • 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. OpenHardware.io
  3. 💬 Stamp size MySensor node
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

💬 Stamp size MySensor node

Scheduled Pinned Locked Moved OpenHardware.io
atmega328atsha204acoincellmysensor
50 Posts 13 Posters 13.0k Views 11 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.
  • carlierdC Offline
    carlierdC Offline
    carlierd
    wrote on last edited by
    #3

    Very good ! So small !
    I really need to learn how solder SMD part ! More and more design are using small components.

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #4

      Well done! Nice!

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • macieiksM Offline
        macieiksM Offline
        macieiks
        wrote on last edited by
        #5

        Hello,

        I have a question about the dimensions. Could you tell me what is the exact measure when fully assembled with nrf24 and with / without goldpins? I have tiny, transparent boxes and curious if I can fit them inside :D

        RPI2 + RFLink + PiFace D2 + Aeon Z-Wave Gen5 + Foscams FI9821P&R2 + MySensors + UPS APC Back-UPS 950VA
        RPI2 + RFXtrx433e + Foscams FI9821P + MySensors + UPS APC Back-UPS 950VA
        RPIB+ + TP-Link MR3420 + Huawei E173 GarageDomoticz :)

        GertSandersG 1 Reply Last reply
        0
        • macieiksM macieiks

          Hello,

          I have a question about the dimensions. Could you tell me what is the exact measure when fully assembled with nrf24 and with / without goldpins? I have tiny, transparent boxes and curious if I can fit them inside :D

          GertSandersG Offline
          GertSandersG Offline
          GertSanders
          Hardware Contributor
          wrote on last edited by
          #6

          @macieiks

          The pcb itself is 21 mm wide and 23 mm long.

          With the radio the longest side becomes 30 mm long and 21 mm wide.

          Without any pins mounted, the board is just under 5 mm think.

          If the dual row angled headers are mounted, the longest side (30 mm with radio) becomes 39 mm.
          You will need to add the length of the contacts + wire to that for a complete length.

          You can also turn the dual row angled header inwards (towards the radio), then the maximum length is still 30 mm.

          NeverDieN 1 Reply Last reply
          1
          • GertSandersG GertSanders

            @macieiks

            The pcb itself is 21 mm wide and 23 mm long.

            With the radio the longest side becomes 30 mm long and 21 mm wide.

            Without any pins mounted, the board is just under 5 mm think.

            If the dual row angled headers are mounted, the longest side (30 mm with radio) becomes 39 mm.
            You will need to add the length of the contacts + wire to that for a complete length.

            You can also turn the dual row angled header inwards (towards the radio), then the maximum length is still 30 mm.

            NeverDieN Offline
            NeverDieN Offline
            NeverDie
            Hero Member
            wrote on last edited by
            #7

            @GertSanders What is the difference between the v1 version of your stamp size mysensor node that's on OSH PARK and the V2 version that's on your website that you linked to in your OP ( https://www.openhardware.io/view/76/Stamp-size-MySensor-node )?

            GertSandersG 1 Reply Last reply
            0
            • NeverDieN NeverDie

              @GertSanders What is the difference between the v1 version of your stamp size mysensor node that's on OSH PARK and the V2 version that's on your website that you linked to in your OP ( https://www.openhardware.io/view/76/Stamp-size-MySensor-node )?

              GertSandersG Offline
              GertSandersG Offline
              GertSanders
              Hardware Contributor
              wrote on last edited by
              #8

              @NeverDie
              None. The plan was to enhance it, so I copied my version 1 to version 2. But then I decided to publish it in Openhardware anyway.
              This board is a proof of concept for me.
              My next version will have a 8Mhz crystal. The addional powerconsumption is negligable bit the accuracy of timing is much better (and constant, even with dropping voltage).
              So the board on OSH Park is identical to the one on Openhardware.io

              1 Reply Last reply
              0
              • NeverDieN Offline
                NeverDieN Offline
                NeverDie
                Hero Member
                wrote on last edited by NeverDie
                #9

                Thanks! I ordered it yesterday from OSH PARK, so good to hear.

                Have you found something where you really do need the 8mhz crystal oscillator, or were you adding it as a "just in case"?

                GertSandersG 1 Reply Last reply
                0
                • NeverDieN NeverDie

                  Thanks! I ordered it yesterday from OSH PARK, so good to hear.

                  Have you found something where you really do need the 8mhz crystal oscillator, or were you adding it as a "just in case"?

                  GertSandersG Offline
                  GertSandersG Offline
                  GertSanders
                  Hardware Contributor
                  wrote on last edited by
                  #10

                  @NeverDie
                  I have a use case where I need the clock to be acurate. For realy low power nodes like the ones with reed switches, I also prefer the internal oscillator.

                  1 Reply Last reply
                  0
                  • alexsh1A Offline
                    alexsh1A Offline
                    alexsh1
                    wrote on last edited by alexsh1
                    #11

                    @GertSanders

                    Goedenavond Gert,

                    What's your boards.txt file is saying please? I uploaded the bootloader (optiboot_atmega328_08M_038400_D8) and all went OK until I upload my first sketch.
                    After that I am getting:

                    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x32
                    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0f
                    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xfb
                    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x32
                    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0f
                    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x73
                    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xff
                    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x32
                    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x0f
                    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xfb
                    

                    I have to upload the bootloader again in order to upload the sketch - something is clearly not working. This is my extract from boards.txt:

                    BlueBoard.menu.mhz.8Mhz= 8Mhz - internal oscillator D8 LED for atmega328-tqfp
                    BlueBoard.menu.mhz.8Mhz.bootloader.low_fuses=0xE2
                    BlueBoard.menu.mhz.8Mhz.bootloader.high_fuses=0xDE
                    BlueBoard.menu.mhz.8Mhz.build.f_cpu=8000000L 
                    BlueBoard.menu.mhz.8Mhz.upload.speed=38400
                    BlueBoard.menu.mhz.8Mhz.bootloader.file=myoptiboot/optiboot_atmega328_08M_038400_D8.hex
                    
                    GertSandersG 1 Reply Last reply
                    0
                    • alexsh1A alexsh1

                      @GertSanders

                      Goedenavond Gert,

                      What's your boards.txt file is saying please? I uploaded the bootloader (optiboot_atmega328_08M_038400_D8) and all went OK until I upload my first sketch.
                      After that I am getting:

                      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x32
                      avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0f
                      avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xfb
                      avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x32
                      avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0f
                      avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x73
                      avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xff
                      avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x32
                      avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x0f
                      avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xfb
                      

                      I have to upload the bootloader again in order to upload the sketch - something is clearly not working. This is my extract from boards.txt:

                      BlueBoard.menu.mhz.8Mhz= 8Mhz - internal oscillator D8 LED for atmega328-tqfp
                      BlueBoard.menu.mhz.8Mhz.bootloader.low_fuses=0xE2
                      BlueBoard.menu.mhz.8Mhz.bootloader.high_fuses=0xDE
                      BlueBoard.menu.mhz.8Mhz.build.f_cpu=8000000L 
                      BlueBoard.menu.mhz.8Mhz.upload.speed=38400
                      BlueBoard.menu.mhz.8Mhz.bootloader.file=myoptiboot/optiboot_atmega328_08M_038400_D8.hex
                      
                      GertSandersG Offline
                      GertSandersG Offline
                      GertSanders
                      Hardware Contributor
                      wrote on last edited by
                      #12

                      @alexsh1

                      Here is my extract for this type:

                      32PinBoard.name=atmega328p based - 32 pin TQFP
                      
                      32PinBoard.upload.tool=arduino:avrdude
                      32PinBoard.upload.protocol=arduino
                      32PinBoard.upload.maximum_size=32256
                      32PinBoard.upload.maximum_data_size=2048
                      
                      32PinBoard.bootloader.tool=arduino:avrdude
                      
                      32PinBoard.bootloader.unlock_bits=0x3F
                      32PinBoard.bootloader.lock_bits=0x0F
                      
                      
                      32PinBoard.build.core=arduino:arduino
                      32PinBoard.build.mcu=atmega328p
                      
                      32PinBoard.build.board=AVR_GERTSANDERS32PinBoard
                      32PinBoard.build.variant=32PinBoard
                      
                      32PinBoard.menu.bod.4v3=4V3
                      32PinBoard.menu.bod.4v3.bootloader.extended_fuses=0x04
                      32PinBoard.menu.bod.2v7=2V7
                      32PinBoard.menu.bod.2v7.bootloader.extended_fuses=0x05
                      32PinBoard.menu.bod.1v8=1V8
                      32PinBoard.menu.bod.1v8.bootloader.extended_fuses=0x06
                      32PinBoard.menu.bod.off=Disabled
                      32PinBoard.menu.bod.off.bootloader.extended_fuses=0x07
                      32PinBoard.menu.mhz.8Mi-38K4-D8= 8Mhz - internal - 38K4 - D8
                      32PinBoard.menu.mhz.8Mi-38K4-D8.bootloader.low_fuses=0xE2
                      32PinBoard.menu.mhz.8Mi-38K4-D8.bootloader.high_fuses=0xDE
                      32PinBoard.menu.mhz.8Mi-38K4-D8.build.f_cpu=8000000L 
                      32PinBoard.menu.mhz.8Mi-38K4-D8.upload.speed=38400
                      32PinBoard.menu.mhz.8Mi-38K4-D8.bootloader.file=myoptiboot/optiboot_atmega328_08M_038400_D8.hex
                      
                      alexsh1A 1 Reply Last reply
                      0
                      • GertSandersG GertSanders

                        @alexsh1

                        Here is my extract for this type:

                        32PinBoard.name=atmega328p based - 32 pin TQFP
                        
                        32PinBoard.upload.tool=arduino:avrdude
                        32PinBoard.upload.protocol=arduino
                        32PinBoard.upload.maximum_size=32256
                        32PinBoard.upload.maximum_data_size=2048
                        
                        32PinBoard.bootloader.tool=arduino:avrdude
                        
                        32PinBoard.bootloader.unlock_bits=0x3F
                        32PinBoard.bootloader.lock_bits=0x0F
                        
                        
                        32PinBoard.build.core=arduino:arduino
                        32PinBoard.build.mcu=atmega328p
                        
                        32PinBoard.build.board=AVR_GERTSANDERS32PinBoard
                        32PinBoard.build.variant=32PinBoard
                        
                        32PinBoard.menu.bod.4v3=4V3
                        32PinBoard.menu.bod.4v3.bootloader.extended_fuses=0x04
                        32PinBoard.menu.bod.2v7=2V7
                        32PinBoard.menu.bod.2v7.bootloader.extended_fuses=0x05
                        32PinBoard.menu.bod.1v8=1V8
                        32PinBoard.menu.bod.1v8.bootloader.extended_fuses=0x06
                        32PinBoard.menu.bod.off=Disabled
                        32PinBoard.menu.bod.off.bootloader.extended_fuses=0x07
                        32PinBoard.menu.mhz.8Mi-38K4-D8= 8Mhz - internal - 38K4 - D8
                        32PinBoard.menu.mhz.8Mi-38K4-D8.bootloader.low_fuses=0xE2
                        32PinBoard.menu.mhz.8Mi-38K4-D8.bootloader.high_fuses=0xDE
                        32PinBoard.menu.mhz.8Mi-38K4-D8.build.f_cpu=8000000L 
                        32PinBoard.menu.mhz.8Mi-38K4-D8.upload.speed=38400
                        32PinBoard.menu.mhz.8Mi-38K4-D8.bootloader.file=myoptiboot/optiboot_atmega328_08M_038400_D8.hex
                        
                        alexsh1A Offline
                        alexsh1A Offline
                        alexsh1
                        wrote on last edited by alexsh1
                        #13

                        @GertSanders OK, the issue is in pins_arduino.h in 32PinBoard folder. The standard file is just not good. I'll have to find the right one for tqfp chip.

                        EDIT: copied the "eightanaloginputs" variant in the variant folder, but still can only upload the first sketch after the bootloader, all other uploads are giving me "avrdude: stk500_getsync() attempt x of 10: not in sync:"

                        alexsh1A 1 Reply Last reply
                        0
                        • alexsh1A alexsh1

                          @GertSanders OK, the issue is in pins_arduino.h in 32PinBoard folder. The standard file is just not good. I'll have to find the right one for tqfp chip.

                          EDIT: copied the "eightanaloginputs" variant in the variant folder, but still can only upload the first sketch after the bootloader, all other uploads are giving me "avrdude: stk500_getsync() attempt x of 10: not in sync:"

                          alexsh1A Offline
                          alexsh1A Offline
                          alexsh1
                          wrote on last edited by
                          #14

                          @GertSanders Gert, what pins_arduino.h are you using for this board please? Can you post it here?

                          GertSandersG 2 Replies Last reply
                          0
                          • alexsh1A alexsh1

                            @GertSanders Gert, what pins_arduino.h are you using for this board please? Can you post it here?

                            GertSandersG Offline
                            GertSandersG Offline
                            GertSanders
                            Hardware Contributor
                            wrote on last edited by
                            #15

                            @alexsh1

                            Here is the pins_arduino.h file for the 32pin TQFP package

                            0_1465854245099_pins_arduino.h

                            1 Reply Last reply
                            0
                            • alexsh1A alexsh1

                              @GertSanders Gert, what pins_arduino.h are you using for this board please? Can you post it here?

                              GertSandersG Offline
                              GertSandersG Offline
                              GertSanders
                              Hardware Contributor
                              wrote on last edited by
                              #16

                              @alexsh1

                              And here is a ZIP file with my complete atmega328p definitions

                              0_1465854396475_atmega328p.zip

                              alexsh1A 1 Reply Last reply
                              0
                              • GertSandersG GertSanders

                                @alexsh1

                                And here is a ZIP file with my complete atmega328p definitions

                                0_1465854396475_atmega328p.zip

                                alexsh1A Offline
                                alexsh1A Offline
                                alexsh1
                                wrote on last edited by
                                #17

                                @GertSanders Many thanks for your help. This is probably my bad luck, but I have mixed up C1 and R1 mounting them vertically (not horizontally). What a stupid mistake really given that I have checked it a few times. Anyway, now everything is working.

                                FYG, I looked at your pins_arduino.h - this is a standard one and it is not correct. I corrected the following entries:

                                static const uint8_t SS   = 14;
                                static const uint8_t MOSI = 15;
                                static const uint8_t MISO = 16;
                                static const uint8_t SCK  = 17;
                                
                                static const uint8_t SDA = 27;
                                static const uint8_t SCL = 28;
                                #define LED_BUILTIN 8
                                
                                static const uint8_t A0 = 23;
                                static const uint8_t A1 = 24;
                                static const uint8_t A2 = 25;
                                static const uint8_t A3 = 26;
                                static const uint8_t A4 = 27;
                                static const uint8_t A5 = 28;
                                static const uint8_t A6 = 19;
                                static const uint8_t A7 = 22;
                                
                                GertSandersG 1 Reply Last reply
                                0
                                • alexsh1A alexsh1

                                  @GertSanders Many thanks for your help. This is probably my bad luck, but I have mixed up C1 and R1 mounting them vertically (not horizontally). What a stupid mistake really given that I have checked it a few times. Anyway, now everything is working.

                                  FYG, I looked at your pins_arduino.h - this is a standard one and it is not correct. I corrected the following entries:

                                  static const uint8_t SS   = 14;
                                  static const uint8_t MOSI = 15;
                                  static const uint8_t MISO = 16;
                                  static const uint8_t SCK  = 17;
                                  
                                  static const uint8_t SDA = 27;
                                  static const uint8_t SCL = 28;
                                  #define LED_BUILTIN 8
                                  
                                  static const uint8_t A0 = 23;
                                  static const uint8_t A1 = 24;
                                  static const uint8_t A2 = 25;
                                  static const uint8_t A3 = 26;
                                  static const uint8_t A4 = 27;
                                  static const uint8_t A5 = 28;
                                  static const uint8_t A6 = 19;
                                  static const uint8_t A7 = 22;
                                  
                                  GertSandersG Offline
                                  GertSandersG Offline
                                  GertSanders
                                  Hardware Contributor
                                  wrote on last edited by
                                  #18

                                  @alexsh1
                                  OK, I will check also on my side :-) Thanks for the feedback.

                                  alexsh1A 1 Reply Last reply
                                  0
                                  • GertSandersG GertSanders

                                    @alexsh1
                                    OK, I will check also on my side :-) Thanks for the feedback.

                                    alexsh1A Offline
                                    alexsh1A Offline
                                    alexsh1
                                    wrote on last edited by
                                    #19

                                    @GertSanders No worries! And signing works flawlessly on this node as well with ATSHA204A by the way :)

                                    1 Reply Last reply
                                    0
                                    • alexsh1A Offline
                                      alexsh1A Offline
                                      alexsh1
                                      wrote on last edited by
                                      #20

                                      0_1466010177286_image.jpeg

                                      GertSandersG 1 Reply Last reply
                                      0
                                      • alexsh1A alexsh1

                                        0_1466010177286_image.jpeg

                                        GertSandersG Offline
                                        GertSandersG Offline
                                        GertSanders
                                        Hardware Contributor
                                        wrote on last edited by
                                        #21

                                        @alexsh1
                                        Double plus good !
                                        As I have no signing capability on my raspberry-turned-gateway I'm glad the hard work to simplify signing was done so well by @tbowmo and @Anticimex. Even without testing it I could assume it would work.

                                        AnticimexA 1 Reply Last reply
                                        0
                                        • GertSandersG GertSanders

                                          @alexsh1
                                          Double plus good !
                                          As I have no signing capability on my raspberry-turned-gateway I'm glad the hard work to simplify signing was done so well by @tbowmo and @Anticimex. Even without testing it I could assume it would work.

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

                                          @GertSanders You are welcome :) Btw, if you just patch in support to generate random data for a nonce, you can use the soft signing backend on rPi.

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

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


                                          5

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular