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

    @blacey said:

    @tbowmo you can sign me up too however I can handle the component side of it if you share the mouser BOM.

    The BOM should be available at
    http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=a509f9ca59

    It should match the current PCB layout for the major number of parts. I haven't looked at the crystal yet, to see if that fits, as I have changed the footprint to the one provided by the manufacturer in china when going with rev. 2.

    At the moment I'm considering if the crystal should be dropped from the BOM, kind of missing a real purpose for it at the moment, as I don't think that "precise timing" is necessary for a node that repports in at a regular interval.. I (for one) don't care if it reports temperature / humidity "exactly" every 60 seconds, or if it's every 55 or 65 seconds.. But others might have another priority?

    Schematics / PCB layout is available on github : https://github.com/tbowmo/MySensorMicro (please double check BOM from mouser, and the eagle files. I might have missed something :))

    blaceyB Offline
    blaceyB Offline
    blacey
    Admin
    wrote on last edited by
    #242

    @tbowmo Awesome! I'm on it :+1:

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

      So, a small update on the rev.2 board status.

      I am verifying the rest of the board now, before we kick of an initial testrun of 5 boards at the manufacturer. Everything seems to be working, electrically..

      Unfortunately something has happened in the SPI library in arduino, so the external flash, is now crashing the arduino sketch, while initializing. Someone else has already reported it to lowpowerlabs github repo https://github.com/LowPowerLab/SPIFlash/issues/8

      Having had the above issues, I have already build, and disassembled two nodes, trying to debug things :s

      Oh the fun of debugging embedded things...

      update

      I found a solution, someone else had made the necessary changes to lowpowerlabs spiflash library (check the issue comments in the link above)

      I also read in the release notes for arduino 1.6.0, that they have changed the SPI library to support transactions. Will this have any effect on MySensors? (@hek, any comments?)

      1 Reply Last reply
      1
      • S Offline
        S Offline
        sharath krishna
        wrote on last edited by
        #244

        @tbowmo : if the connections are fine when can we expect he board for production ?? looks everything is fine

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

          @sharath-krishna

          We are getting closer to a launch. A production partner has been found. All on-board hardware have been verified as OK! And I'm verifying the last bits (Want to have a complete node running, before giving a GO..) Also finishing the software that should be preloaded on the atmega.

          Depending on how things are going, we should be able to make the first trial batch within the next couple of weeks (I hope!) which we then need to verify before starting the big machine.

          Going to be an exiting spring this year :)

          1 Reply Last reply
          1
          • D Offline
            D Offline
            doblanch
            wrote on last edited by
            #246

            To where will you be able to ship the nodes ? I live in France. I don't know where you are located...

            hekH 1 Reply Last reply
            0
            • D doblanch

              To where will you be able to ship the nodes ? I live in France. I don't know where you are located...

              hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #247

              @doblanch

              It will be shipped directly from the producer to any location.

              D 1 Reply Last reply
              1
              • hekH hek

                @doblanch

                It will be shipped directly from the producer to any location.

                D Offline
                D Offline
                doblanch
                wrote on last edited by
                #248

                @hek Thank you for your reply. I'm going to deploy may be like 5/6 nodes. Another question, By any chance, did you think about a case which accept module+battery ?

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

                  A case already was on my short-list and we could very well provide it.

                  Depending on demand it could be 3d-printed or for larger quantities done with mold injection by our partner.

                  But I would really need some help from a (talented) 3d modeller for this. Do we have anyone here that can help out?

                  The box must have a battery compartment for 2XAA. A big question is if it also should have space for an extra sensor?
                  Would be great if we could provide a couple of cover-options for things like motion (HC-SR501) and another for light/uv/ir sensor. Hope we can get creative together here.

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

                    A small update from the workbench here :)

                    The first rev.2 node is transmitting like it has never done anything else right now.

                    Next up is programming the bootloader, I am having some troubles in that area.. It seems that it is programmed, but I can't get it to accept any downloads from the arduino IDE.

                    Anyone got any hints for me to follow?

                    AnticimexA 1 Reply Last reply
                    0
                    • tbowmoT tbowmo

                      A small update from the workbench here :)

                      The first rev.2 node is transmitting like it has never done anything else right now.

                      Next up is programming the bootloader, I am having some troubles in that area.. It seems that it is programmed, but I can't get it to accept any downloads from the arduino IDE.

                      Anyone got any hints for me to follow?

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

                      @tbowmo have you checked that the fuse configuration matches the HW with respect to frequencies and such?

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

                        @Anticimex

                        I have checked, and double checked fuses :) I'm using avrdude to program the bootloader directly, and it seems that it is starting up (the LED is lighting up as it is supposed to). Also when I program a sketch via ISP (using jtagice3) serial is working fine, so it seems that fuse settings is right for oscillator (at least)

                        But I might have missed something with the fuse settings.

                        I get these fuses
                        AVRDUDE -U lfuse:w:0xE2:m -U hfuse:w:0xDA:m -U efuse:w:0xFE:m -U lock:w:0xFF:m

                        from http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p&LOW=E2&HIGH=DA&EXTENDED=FE&LOCKBIT=FF

                        AnticimexA tekkaT 2 Replies Last reply
                        0
                        • tbowmoT tbowmo

                          @Anticimex

                          I have checked, and double checked fuses :) I'm using avrdude to program the bootloader directly, and it seems that it is starting up (the LED is lighting up as it is supposed to). Also when I program a sketch via ISP (using jtagice3) serial is working fine, so it seems that fuse settings is right for oscillator (at least)

                          But I might have missed something with the fuse settings.

                          I get these fuses
                          AVRDUDE -U lfuse:w:0xE2:m -U hfuse:w:0xDA:m -U efuse:w:0xFE:m -U lock:w:0xFF:m

                          from http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p&LOW=E2&HIGH=DA&EXTENDED=FE&LOCKBIT=FF

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

                          @tbowmo I am just taking wild guesses and the one thing that came to my mind if you seem to have bootloader running but cannot download is that the serial line is out of sync for some reason. But I have not dissected the arduino bootloader or the protocol so I am in deep murky waters making assumptions now :)

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

                            @Anticimex

                            Yeah, but it's hard to debug things in the bootloader.

                            AnticimexA 1 Reply Last reply
                            0
                            • tbowmoT tbowmo

                              @Anticimex

                              Yeah, but it's hard to debug things in the bootloader.

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

                              @tbowmo Tell me about it. It's what I do for a living :)
                              You don't have means to pick up the serial line after the FTDI adapter by any chance? It perhaps reveals garbage or signs of non-matching BAUD rates.

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

                              1 Reply Last reply
                              0
                              • tbowmoT tbowmo

                                @Anticimex

                                I have checked, and double checked fuses :) I'm using avrdude to program the bootloader directly, and it seems that it is starting up (the LED is lighting up as it is supposed to). Also when I program a sketch via ISP (using jtagice3) serial is working fine, so it seems that fuse settings is right for oscillator (at least)

                                But I might have missed something with the fuse settings.

                                I get these fuses
                                AVRDUDE -U lfuse:w:0xE2:m -U hfuse:w:0xDA:m -U efuse:w:0xFE:m -U lock:w:0xFF:m

                                from http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p&LOW=E2&HIGH=DA&EXTENDED=FE&LOCKBIT=FF

                                tekkaT Offline
                                tekkaT Offline
                                tekka
                                Admin
                                wrote on last edited by tekka
                                #256

                                @tbowmo

                                The fuse settings say 8Mhz internal, 2kb bootloader. Which bootloader are you using and did you adjust the baud settings in the boards.txt for the IDE (i.e. upload.speed=57600)? Also, do you get serial output at the set baud rate when uploading a simple serial output sketch via isp? Alternatively, I recommend recompiling the bootloader at 8Mhz for correct baud settings.

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

                                  @tekka

                                  It's DualOptiboot that I'm using, compiled for 8Mhz (internal RC oscillator).

                                  1 Reply Last reply
                                  0
                                  • hekH hek

                                    A case already was on my short-list and we could very well provide it.

                                    Depending on demand it could be 3d-printed or for larger quantities done with mold injection by our partner.

                                    But I would really need some help from a (talented) 3d modeller for this. Do we have anyone here that can help out?

                                    The box must have a battery compartment for 2XAA. A big question is if it also should have space for an extra sensor?
                                    Would be great if we could provide a couple of cover-options for things like motion (HC-SR501) and another for light/uv/ir sensor. Hope we can get creative together here.

                                    D Offline
                                    D Offline
                                    doblanch
                                    wrote on last edited by
                                    #258

                                    @hek Hello, I have a friend who is working with 3D modeling. i can study it. I do not guaranty for the moment, as it doesn't rely on me directly. however I can do the best, and try to move forward.
                                    If I understand correctly, we need the place for the sensor+antenna+AA battery...
                                    On the PCB, is there some hole to place some screws ?
                                    How should we close the case ? by putting some screw or just putting a cover ? make sense ?

                                    hekH 1 Reply Last reply
                                    0
                                    • D doblanch

                                      @hek Hello, I have a friend who is working with 3D modeling. i can study it. I do not guaranty for the moment, as it doesn't rely on me directly. however I can do the best, and try to move forward.
                                      If I understand correctly, we need the place for the sensor+antenna+AA battery...
                                      On the PCB, is there some hole to place some screws ?
                                      How should we close the case ? by putting some screw or just putting a cover ? make sense ?

                                      hekH Offline
                                      hekH Offline
                                      hek
                                      Admin
                                      wrote on last edited by
                                      #259

                                      @doblanch

                                      The board has humidity/temperature build in. So we only need space for maybe one extra sensor (question is how large volume this would need?).
                                      Punch out holes for wires to external things like permanent power, buttons or reed-switches.

                                      Click on cover would be nice but requires more accuracy in the making. A screw wouldn't be a big problem.

                                      Many variables... ;)

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

                                        @tekka @Anticimex

                                        Bootloader is working now.. I tried to compile for another target, atmega328_pro8, which worked.. (used "pro8" the other day, which also compiles for atmega328.. Hmm.. go figure)

                                        1 Reply Last reply
                                        1
                                        • hekH hek

                                          @doblanch

                                          The board has humidity/temperature build in. So we only need space for maybe one extra sensor (question is how large volume this would need?).
                                          Punch out holes for wires to external things like permanent power, buttons or reed-switches.

                                          Click on cover would be nice but requires more accuracy in the making. A screw wouldn't be a big problem.

                                          Many variables... ;)

                                          D Offline
                                          D Offline
                                          doblanch
                                          wrote on last edited by
                                          #261

                                          @hek I know , yes for the T/H sensor. As we put 2 AA battery, we have to know if we want to stack sensor/battery or not...otherwise, battery and sensor will be on the same plan.
                                          I think that we can start without extra sensor, and add it in function of request, I'm going to buy a 3D printer, It will be my first tests.

                                          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