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. My Project
  3. My Slim 2AA Battery Node

My Slim 2AA Battery Node

Scheduled Pinned Locked Moved My Project
498 Posts 71 Posters 342.6k Views 69 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.
  • A Offline
    A Offline
    ahhk
    Hardware Contributor
    wrote on last edited by
    #15

    Hi,

    great job! I think i will use your board to for small window -sensors.
    But one question: i cannot upload sketches via arduino-ide when the 1mhz bootloader is flashed. i checked the wires and everything else and i tested a 8mhz/internal bootloader - works fine. but the 1mhz-bootloader just does not accept uploads?

    m26872M 1 Reply Last reply
    0
    • A ahhk

      Hi,

      great job! I think i will use your board to for small window -sensors.
      But one question: i cannot upload sketches via arduino-ide when the 1mhz bootloader is flashed. i checked the wires and everything else and i tested a 8mhz/internal bootloader - works fine. but the 1mhz-bootloader just does not accept uploads?

      m26872M Offline
      m26872M Offline
      m26872
      Hardware Contributor
      wrote on last edited by m26872
      #16

      @ahhk There's also the precompiled bootloader for 4800 baud in the link above. Did you try that one too? I think 9600 baud was maximum serial speed at 1MHz. Lower should be safer.
      Or what do you mean with "does not accept uploads"? Is it locked?
      Double checked boards.txt settings?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ahhk
        Hardware Contributor
        wrote on last edited by ahhk
        #17

        Hi,

        i can upload via RX/TX with arduino IDE with the 8mhz/internal bootloader. but if i flash the 1mhz bootloader from the link above (atmega328_1a.hex), i cannot upload the same way...

        TX/RX is connected correctly. I can upload a sketch via "Upload with programmer" and receive and transmit characters with 9600baud. tested with the example-sketch "SerialEvent".

        IT is a brand new 328P - not locked...

        boards.txt shows

        ##############################################################
        
        apm96.name=APM Optiboot internal 1MHz noBOD 9600baud
        
        apm96.upload.tool=avrdude
        apm96.upload.protocol=arduino
        apm96.upload.maximum_size=32256
        apm96.upload.speed=9600
        apm96.bootloader.tool=avrdude
        apm96.bootloader.low_fuses=0x62
        apm96.bootloader.high_fuses=0xde
        apm96.bootloader.extended_fuses=0x07
        apm96.bootloader.path=optiboot_v50
        apm96.bootloader.file=atmega328_1a.hex
        apm96.bootloader.unlock_bits=0x3F
        apm96.bootloader.lock_bits=0x2F
        apm96.build.mcu=atmega328p
        apm96.build.f_cpu=1000000L
        apm96.build.core=arduino
        apm96.build.variant=standard
        
        ##############################################################
        

        i didnt try the 4800baud bootloader until now....i will do now...

        m26872M 1 Reply Last reply
        0
        • A ahhk

          Hi,

          i can upload via RX/TX with arduino IDE with the 8mhz/internal bootloader. but if i flash the 1mhz bootloader from the link above (atmega328_1a.hex), i cannot upload the same way...

          TX/RX is connected correctly. I can upload a sketch via "Upload with programmer" and receive and transmit characters with 9600baud. tested with the example-sketch "SerialEvent".

          IT is a brand new 328P - not locked...

          boards.txt shows

          ##############################################################
          
          apm96.name=APM Optiboot internal 1MHz noBOD 9600baud
          
          apm96.upload.tool=avrdude
          apm96.upload.protocol=arduino
          apm96.upload.maximum_size=32256
          apm96.upload.speed=9600
          apm96.bootloader.tool=avrdude
          apm96.bootloader.low_fuses=0x62
          apm96.bootloader.high_fuses=0xde
          apm96.bootloader.extended_fuses=0x07
          apm96.bootloader.path=optiboot_v50
          apm96.bootloader.file=atmega328_1a.hex
          apm96.bootloader.unlock_bits=0x3F
          apm96.bootloader.lock_bits=0x2F
          apm96.build.mcu=atmega328p
          apm96.build.f_cpu=1000000L
          apm96.build.core=arduino
          apm96.build.variant=standard
          
          ##############################################################
          

          i didnt try the 4800baud bootloader until now....i will do now...

          m26872M Offline
          m26872M Offline
          m26872
          Hardware Contributor
          wrote on last edited by
          #18

          @ahhk Reset issue? Maybe try other startup times (low fuse 42h or 52h), other usb2serial or adjust reset R and C.

          1 Reply Last reply
          0
          • m26872M Offline
            m26872M Offline
            m26872
            Hardware Contributor
            wrote on last edited by
            #19

            For info. I've prototyped and ordered a slightly improved version of the pcb. Note that this is UNTESTED and experimental.
            Eagle brd-file and board house link. Use it for inspiration. Don't expect it to be and tested until next month at least.
            board_v1.2.PNG

            1 Reply Last reply
            0
            • mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #20

              Great work @m26872
              Thanks for sharing!

              1 Reply Last reply
              0
              • F Offline
                F Offline
                frenchclem
                wrote on last edited by
                #21

                Really great idea @m26872 !!
                I'm waiting for the V1.2 test and review before ordering some boards on DirtyPcb.
                One Tip/question : have you thought on panelizing your slimnode, because we could easily fit 3 board on the 5X5 limitation ? I also think that DirtyPCB would even process the break routing to ease board separation.

                m26872M 1 Reply Last reply
                0
                • F frenchclem

                  Really great idea @m26872 !!
                  I'm waiting for the V1.2 test and review before ordering some boards on DirtyPcb.
                  One Tip/question : have you thought on panelizing your slimnode, because we could easily fit 3 board on the 5X5 limitation ? I also think that DirtyPCB would even process the break routing to ease board separation.

                  m26872M Offline
                  m26872M Offline
                  m26872
                  Hardware Contributor
                  wrote on last edited by m26872
                  #22

                  @frenchclem
                  AAMOF I ordered a panelized version just a few days ago. I'm completely new to all this, so I leave no guarantees...
                  Here's the brd-file.

                  Edit 3/12: Boardhouse link removed (the panelized version of v1.2 contains a faulty via between D13 and SCK.)

                  1 Reply Last reply
                  2
                  • F Offline
                    F Offline
                    frenchclem
                    wrote on last edited by
                    #23

                    I guess if you ordered panelized version, you have tested the V1.2 ? Would you mind sharing the schematics also please ?
                    I'm also very new to this, I've never ordered PCB on Dirtypcb, how long does it takes to arrive in Europe ?

                    m26872M 1 Reply Last reply
                    0
                    • GertSandersG Offline
                      GertSandersG Offline
                      GertSanders
                      Hardware Contributor
                      wrote on last edited by
                      #24

                      Delivery times depend mostly on shipping time. DirtyPCB have their boards made usually within a week after uploading the files. But shipping can take 3-4 weeks to get to Europe.

                      1 Reply Last reply
                      0
                      • F frenchclem

                        I guess if you ordered panelized version, you have tested the V1.2 ? Would you mind sharing the schematics also please ?
                        I'm also very new to this, I've never ordered PCB on Dirtypcb, how long does it takes to arrive in Europe ?

                        m26872M Offline
                        m26872M Offline
                        m26872
                        Hardware Contributor
                        wrote on last edited by
                        #25

                        @frenchclem
                        No I actually ordered before I got the first sample, due to the delivery time. But now (just a day after) I got the first v1.2. Delivery time was 4 weeks (to Sweden). Soon tested...

                        I don't think there are any changes to the already published schematics.

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          frenchclem
                          wrote on last edited by
                          #26

                          @GertSanders @m26872
                          Thanks guys for the good work I just ordered your boards
                          Will definitely let you know how things goes

                          GertSanders, did you find a nice box for your board + battery ?

                          1 Reply Last reply
                          0
                          • GertSandersG Offline
                            GertSandersG Offline
                            GertSanders
                            Hardware Contributor
                            wrote on last edited by GertSanders
                            #27

                            @frenchclem Not yet, the height is indeed the limiting factor. I'm now looking for a small box that can hold the sensor on it's side. SO for the moment the sensors are scattered around the house without a box around them (usually in places where the cat does not go or could find them).

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              frenchclem
                              wrote on last edited by
                              #28

                              @GertSanders thats what I was worried about. What is the height of the sensor + battery ?

                              1 Reply Last reply
                              0
                              • GertSandersG Offline
                                GertSandersG Offline
                                GertSanders
                                Hardware Contributor
                                wrote on last edited by GertSanders
                                #29

                                @frenchclem
                                I can not measure that now (at work), but I guess around 35mm if batteries are mounted on he bottom. By using the extrnal (JST connector) power option, the height of PCB, processor and radio is around 22mm I think.

                                Most boxes have an internal clearance of around 20-25mm.
                                Some boxes have 40mm internal clearance and are good in height, but those are usually also to long and wide for my taste.

                                @m26872 's board certainly is lower, since batteries are not on the bottom but in the axis of the board. The radio is also directed away from the processor on his board, so it can be mounted lower (directly on PCB instead of on a header). I really like that concept, since it will fit the plastic cableducts made by Legrand:
                                http://www.ecataleg.be/fr/categorie/3020/moulure-et-goulotte-murale-en-pc-abs-sans-halogene

                                1 Reply Last reply
                                0
                                • GertSandersG Offline
                                  GertSandersG Offline
                                  GertSanders
                                  Hardware Contributor
                                  wrote on last edited by
                                  #30

                                  @frenchclem
                                  Just to confirm: 35mm is the height with the small radio.
                                  Using the larger radio (with PA+LNA) you need 41mm height
                                  Without battery holders, and the small radio, the height is 22 mm
                                  Width is 25mm for AAA battery holders mounted, 33mm for AA battery holder, and length is 53mm (AAA batteries) and 58mm (AA batteries)

                                  1 Reply Last reply
                                  0
                                  • m26872M Offline
                                    m26872M Offline
                                    m26872
                                    Hardware Contributor
                                    wrote on last edited by
                                    #31

                                    v1.2 tested and working. But the design of crossing R1 and C2 was a horrible choice - it's impossible to fit both nicely under/inside the uC socket. Perhaps possible with a 1/8W R1, but otherwise R1, C2 or both must be placed on bottom side.

                                    Good news is that all versions and orders are OK apart from this little inconvenience.

                                    I'll try to make a better version ASAP.

                                    AWIA 1 Reply Last reply
                                    1
                                    • m26872M m26872

                                      v1.2 tested and working. But the design of crossing R1 and C2 was a horrible choice - it's impossible to fit both nicely under/inside the uC socket. Perhaps possible with a 1/8W R1, but otherwise R1, C2 or both must be placed on bottom side.

                                      Good news is that all versions and orders are OK apart from this little inconvenience.

                                      I'll try to make a better version ASAP.

                                      AWIA Offline
                                      AWIA Offline
                                      AWI
                                      Hero Member
                                      wrote on last edited by AWI
                                      #32

                                      @m26872 I have assembled 6 boards now and am very happy with the design. I use strips as a socket for the Atmega. This leaves enough room for components under it. Also made one with SPI connector. Works perfect! Thank you for sharing the design and instructions.upload-422d1df5-f52b-46fd-b28c-67493daa9fdc upload-aea4bc1e-e16a-4881-a378-e609a6c2f0c8

                                      m26872M 1 Reply Last reply
                                      5
                                      • AWIA AWI

                                        @m26872 I have assembled 6 boards now and am very happy with the design. I use strips as a socket for the Atmega. This leaves enough room for components under it. Also made one with SPI connector. Works perfect! Thank you for sharing the design and instructions.upload-422d1df5-f52b-46fd-b28c-67493daa9fdc upload-aea4bc1e-e16a-4881-a378-e609a6c2f0c8

                                        m26872M Offline
                                        m26872M Offline
                                        m26872
                                        Hardware Contributor
                                        wrote on last edited by
                                        #33

                                        @AWI Great idea with the strips! And thanks for verifying (v1.2?).

                                        AWIA 1 Reply Last reply
                                        0
                                        • m26872M Offline
                                          m26872M Offline
                                          m26872
                                          Hardware Contributor
                                          wrote on last edited by m26872
                                          #34

                                          I've now ordered yet another prototype version (1.4):
                                          http://dirtypcbs.com/view.php?share=13310&accesskey=58c87fe605eb91958938f70b5efc8629

                                          Eagle brd-file.

                                          Photo here.

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