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.
  • ร Offline
    ร Offline
    รอเรือ
    wrote on last edited by รอเรือ
    #364

    Hi there! I need to buy some PCBs on Dirty PCBs but the URL http://dirtypcbs.com/view.php?share=13847&accesskey= seems broken. Any ideas? Thanks!

    m26872M 1 Reply Last reply
    0
    • ร รอเรือ

      Hi there! I need to buy some PCBs on Dirty PCBs but the URL http://dirtypcbs.com/view.php?share=13847&accesskey= seems broken. Any ideas? Thanks!

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

      @รอเรือ Apparently they've moved to a new site. Perhaps you can try this link: http://dev.dirtypcbs.com/store/designer/details/m26872/663/myslim2aabatterynodepcbv2-0panelized

      I think you must have a user account and login first. Please report back if it's working or not.

      Edit: Wrong link the first time.

      ร 1 Reply Last reply
      0
      • m26872M m26872

        @รอเรือ Apparently they've moved to a new site. Perhaps you can try this link: http://dev.dirtypcbs.com/store/designer/details/m26872/663/myslim2aabatterynodepcbv2-0panelized

        I think you must have a user account and login first. Please report back if it's working or not.

        Edit: Wrong link the first time.

        ร Offline
        ร Offline
        รอเรือ
        wrote on last edited by
        #366

        Thanks @m26872

        That link didn't work either. However, by browsing all the shared PCBs I found this URL That link is accessible without logging in first.

        Cheers

        m26872M 1 Reply Last reply
        0
        • ร รอเรือ

          Thanks @m26872

          That link didn't work either. However, by browsing all the shared PCBs I found this URL That link is accessible without logging in first.

          Cheers

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

          @รอเรือ Thanks a lot! All links are now changed.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            Eawo
            wrote on last edited by Eawo
            #368

            Hey im building my first slim node and i wonder if someone has a sketch for 2 reed switches? i have found the sketch for only 1 reed switch in this thread. Im going to use it for my mailbox. How long do u think it can run on 2x aa batteries?
            Do i have to add 2x 10M resistors? or doesnt it work with external resistors then using more then 1 reed switch?

            m26872M 2 Replies Last reply
            0
            • E Eawo

              Hey im building my first slim node and i wonder if someone has a sketch for 2 reed switches? i have found the sketch for only 1 reed switch in this thread. Im going to use it for my mailbox. How long do u think it can run on 2x aa batteries?
              Do i have to add 2x 10M resistors? or doesnt it work with external resistors then using more then 1 reed switch?

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

              @Eawo The example sketch should fit your needs. link Change the pull-ups activation to Low if you use external ones.
              I'd expect battery life 5-10 years depending on things such mailbox opening frequency, use of heartbeat signal, battery self discharge and climate.

              1 Reply Last reply
              1
              • E Eawo

                Hey im building my first slim node and i wonder if someone has a sketch for 2 reed switches? i have found the sketch for only 1 reed switch in this thread. Im going to use it for my mailbox. How long do u think it can run on 2x aa batteries?
                Do i have to add 2x 10M resistors? or doesnt it work with external resistors then using more then 1 reed switch?

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

                @Eawo Using internal resistors will only give you a few months battery time. One external pull-up for each switch will work and 1M resistors or any arbitrary "high" value is just as good.

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  Eawo
                  wrote on last edited by
                  #371

                  Thanks
                  ok now my problem is uploading the sketch it wont work on 1mhz bootloader i tried both a and b hex and the 2 diffrent Board.txt.
                  I get it to work with the 8Mhz breadboard bootloader.
                  But then using 1mhz bootloaders it always timesout

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    Eawo
                    wrote on last edited by
                    #372

                    after a few hours frustration i went donwstars grabbed 2x new atmega328p breadboards and wolla everything works :). I Think i burned my first to putting them in the socket wrong.

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      Eawo
                      wrote on last edited by
                      #373

                      i have wired everything but it wont work for me :( i have solder the 2 reed switch from gnd to d2 and gnd to d3. and ive done the same 2 1m resistors. I can see the node in domotics but no activity then i open and close.

                      GertSandersG 1 Reply Last reply
                      0
                      • E Eawo

                        i have wired everything but it wont work for me :( i have solder the 2 reed switch from gnd to d2 and gnd to d3. and ive done the same 2 1m resistors. I can see the node in domotics but no activity then i open and close.

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

                        @Eawo
                        The reed switches need to sit between GND and D2 or D3 as you have connected.

                        The 1M pull up resistors need to connect between Vcc and D2 or D3.

                        This way D2 or D3 are electrically connected to Vcc when the switches are open (pulled high). When the switches close, D2 and D3 get connected to GND.

                        1 Reply Last reply
                        1
                        • rollercontainerR Offline
                          rollercontainerR Offline
                          rollercontainer
                          wrote on last edited by
                          #375

                          I only come down to 12µA with one reed switch, 1MOhm pullup, 1Mhz bootloader and the binarySwitchSleepSketch. Measured with two different multimeters. This is nearly ten times higher than in the first posting. Changing all internal pullups to LOW doesn't change anything.

                          Is there a way to optimize the power consumption or is it "good enough" ?

                          AWIA sundberg84S 2 Replies Last reply
                          0
                          • rollercontainerR rollercontainer

                            I only come down to 12µA with one reed switch, 1MOhm pullup, 1Mhz bootloader and the binarySwitchSleepSketch. Measured with two different multimeters. This is nearly ten times higher than in the first posting. Changing all internal pullups to LOW doesn't change anything.

                            Is there a way to optimize the power consumption or is it "good enough" ?

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

                            @rollercontainer For sub 8uA consumption you need to go to "deep sleep" where the internal timers of the processor are disabled. Only wake up on interrupt. sleep( interrupt1, FALLING, 0);

                            rollercontainerR 1 Reply Last reply
                            0
                            • rollercontainerR rollercontainer

                              I only come down to 12µA with one reed switch, 1MOhm pullup, 1Mhz bootloader and the binarySwitchSleepSketch. Measured with two different multimeters. This is nearly ten times higher than in the first posting. Changing all internal pullups to LOW doesn't change anything.

                              Is there a way to optimize the power consumption or is it "good enough" ?

                              sundberg84S Offline
                              sundberg84S Offline
                              sundberg84
                              Hardware Contributor
                              wrote on last edited by sundberg84
                              #377

                              @rollercontainer - I just build a slimnode and 13uA is without anything connected what i can reach as well.
                              For comparison i aim below 100uA when i do this with pro mini and they last around a year with 2xAA so my guess is 13uA is good enough.

                              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
                              • AWIA AWI

                                @rollercontainer For sub 8uA consumption you need to go to "deep sleep" where the internal timers of the processor are disabled. Only wake up on interrupt. sleep( interrupt1, FALLING, 0);

                                rollercontainerR Offline
                                rollercontainerR Offline
                                rollercontainer
                                wrote on last edited by
                                #378

                                @sundberg84: Thanks, so I will stick to my 12µA :-)

                                @AWI: I am using sleep with Interrupt as in this example:

                                sleep(PRIMARY_BUTTON_PIN-2, CHANGE, SECONDARY_BUTTON_PIN-2, CHANGE, 0);
                                

                                https://github.com/mysensors/MySensors/blob/development/examples/BinarySwitchSleepSensor/BinarySwitchSleepSensor.ino#L120

                                AWIA 1 Reply Last reply
                                0
                                • rollercontainerR rollercontainer

                                  @sundberg84: Thanks, so I will stick to my 12µA :-)

                                  @AWI: I am using sleep with Interrupt as in this example:

                                  sleep(PRIMARY_BUTTON_PIN-2, CHANGE, SECONDARY_BUTTON_PIN-2, CHANGE, 0);
                                  

                                  https://github.com/mysensors/MySensors/blob/development/examples/BinarySwitchSleepSensor/BinarySwitchSleepSensor.ino#L120

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

                                  @rollercontainer Your sleep looks good. Did you remove this piece of code?

                                  // Activate internal pull-ups
                                  	digitalWrite(PRIMARY_BUTTON_PIN, HIGH);
                                  	digitalWrite(SECONDARY_BUTTON_PIN, HIGH);
                                  

                                  Take a look at this thread for a < 1 uA consumption...

                                  rollercontainerR Tim AbelsT 2 Replies Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    aneco
                                    wrote on last edited by aneco
                                    #380

                                    Since a few months I am very interested in Mysensors and this PCB. I have ordered the PCB and components to build some sensors as for a home security system. For experimental purpose I build one on a breadboard and that is working fine.
                                    A few days ago I started to solder the components on the PCB. The firs one is working fine, but the next sensors have an issue with the transceiver. After 3 boards failing I soldered one without the transceiver. Then I tested it by holding the transceiver at the board and it was working fine. After soldering the transceiver again a not working board.

                                    I tested one board by pressing another transceiver on top of the soldered one and I saw some communication in MYSController. The ATMega is still working on the breadboard. The PCB and Breadboard are powered by the same batterypack.

                                    Before soldering I tested all the transceivers with my breadboard and they are working fine. I am also using an anti-static bracelet.

                                    What am I doing wrong??
                                    0_1486492736615_1.jpg

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

                                      Have you desoldered one radio to see if it's back alive again? What's your distance to Gateway? Maybe some filtering or antenna effect by your fingers and breadboard? What if you leave a working radio on the breadboard then just connect it with wires to PCB?

                                      A 1 Reply Last reply
                                      0
                                      • m26872M m26872

                                        Have you desoldered one radio to see if it's back alive again? What's your distance to Gateway? Maybe some filtering or antenna effect by your fingers and breadboard? What if you leave a working radio on the breadboard then just connect it with wires to PCB?

                                        A Offline
                                        A Offline
                                        aneco
                                        wrote on last edited by
                                        #382

                                        @m26872
                                        Distance is about 50cm. They are both on my desk. If testing then I do not tough the sensor. Just when trien pressing a radio an a non function radio.
                                        I tried to de-solder the radio but did not succeed. Cut the pins, removed them and soldered wires to it. Connected to a new radio. Strange part is that the on very irregular basis message are received in MYSController. Also with a radio which is functioning well on the breadboard

                                        sundberg84S 1 Reply Last reply
                                        0
                                        • A aneco

                                          @m26872
                                          Distance is about 50cm. They are both on my desk. If testing then I do not tough the sensor. Just when trien pressing a radio an a non function radio.
                                          I tried to de-solder the radio but did not succeed. Cut the pins, removed them and soldered wires to it. Connected to a new radio. Strange part is that the on very irregular basis message are received in MYSController. Also with a radio which is functioning well on the breadboard

                                          sundberg84S Offline
                                          sundberg84S Offline
                                          sundberg84
                                          Hardware Contributor
                                          wrote on last edited by
                                          #383

                                          @aneco - 50cm is a big problem for me! Its to close and the node - gw is having a hard time communicating for some reason. I wish I didnt set my gw up in the workplace where i build because every time im testing some node I have to go to the next room. Maybe you could try this?

                                          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

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


                                          9

                                          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