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. Troubleshooting
  3. Atmega328+rfm69HW sleep mode problem
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Atmega328+rfm69HW sleep mode problem

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 3 Posters 3.1k Views 3 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.
  • T Offline
    T Offline
    TimO
    Hero Member
    wrote on last edited by
    #2

    I recently discovered the same problem in my design and after weeks of debugging I found out that I was using the wrong flux. So my first guess here: have you double checked the wiring?
    Have you switched the RFM69 module?

    mar.conteM 1 Reply Last reply
    0
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #3

      Hello.

      It depends. You don't give enough informations:

      • hardware? 328p standalone with custom board, the circuit? arduino mini, hacked ? ..
      • Measurement? how do you measure power consumption? multimeter only, not the most precise, uCurrent Gold ? ..
      • software? what's your sketch? are you using Mysensors? have you tried Gammon sketch "J" ? ..

      you should be able to get a few uA. Without any lib, i already got that; 140nA for 328p, <1uA rfm69 in sleep mode..

      Side note : you don't need to create two topics, Mysensors is an active community ;)

      mar.conteM 1 Reply Last reply
      1
      • T TimO

        I recently discovered the same problem in my design and after weeks of debugging I found out that I was using the wrong flux. So my first guess here: have you double checked the wiring?
        Have you switched the RFM69 module?

        mar.conteM Offline
        mar.conteM Offline
        mar.conte
        wrote on last edited by
        #4

        @TimO
        Yes have rfm69hw....the problem is wiring? What do you think? To change wiring is solution?

        M.C.

        1 Reply Last reply
        0
        • scalzS scalz

          Hello.

          It depends. You don't give enough informations:

          • hardware? 328p standalone with custom board, the circuit? arduino mini, hacked ? ..
          • Measurement? how do you measure power consumption? multimeter only, not the most precise, uCurrent Gold ? ..
          • software? what's your sketch? are you using Mysensors? have you tried Gammon sketch "J" ? ..

          you should be able to get a few uA. Without any lib, i already got that; 140nA for 328p, <1uA rfm69 in sleep mode..

          Side note : you don't need to create two topics, Mysensors is an active community ;)

          mar.conteM Offline
          mar.conteM Offline
          mar.conte
          wrote on last edited by mar.conte
          #5

          @scalz
          Hardware 328 standalone with 8mhzinternal bod inactive; in breadboard with rfm69hw only;
          With gommon sketch 20uah, with pir and rfm69 and lowpower library 4 mah
          For mesuring ampere extech voltmeter standard in serial with source 3,3 v Tanks

          M.C.

          1 Reply Last reply
          0
          • scalzS Offline
            scalzS Offline
            scalz
            Hardware Contributor
            wrote on last edited by scalz
            #6

            if you follow gammon howto for connecting 328p on breadboard, + sketch J, without the radio you should get 140nA.
            why do you want to use lowpower lib? you can try gammon low power sketch for testing if your hardware is ok, then move to mysensors.
            For your PIR, i don't know it depends of your module. i use custom made stuff so..
            Maybe the 20uA is due to imprecision of voltmeter only, not sure, i use an uCurrent.

            mar.conteM 2 Replies Last reply
            0
            • scalzS scalz

              if you follow gammon howto for connecting 328p on breadboard, + sketch J, without the radio you should get 140nA.
              why do you want to use lowpower lib? you can try gammon low power sketch for testing if your hardware is ok, then move to mysensors.
              For your PIR, i don't know it depends of your module. i use custom made stuff so..
              Maybe the 20uA is due to imprecision of voltmeter only, not sure, i use an uCurrent.

              mar.conteM Offline
              mar.conteM Offline
              mar.conte
              wrote on last edited by mar.conte
              #7

              @scalz
              Ok i rebuild all and try with gammon low power , what is my sensor library for try with rfm69?
              I want try with simple sleep forever and interrupt pin to wake when pir is high
              Tanks

              M.C.

              1 Reply Last reply
              0
              • scalzS scalz

                if you follow gammon howto for connecting 328p on breadboard, + sketch J, without the radio you should get 140nA.
                why do you want to use lowpower lib? you can try gammon low power sketch for testing if your hardware is ok, then move to mysensors.
                For your PIR, i don't know it depends of your module. i use custom made stuff so..
                Maybe the 20uA is due to imprecision of voltmeter only, not sure, i use an uCurrent.

                mar.conteM Offline
                mar.conteM Offline
                mar.conte
                wrote on last edited by
                #8

                @scalz
                Can you advise bootloader with internal Clock 8mhz and bod disable?it'same the bootloader in the Arduino ide board like 8mhzinternal for gammon sketch? Tanks

                M.C.

                1 Reply Last reply
                0
                • scalzS Offline
                  scalzS Offline
                  scalz
                  Hardware Contributor
                  wrote on last edited by scalz
                  #9

                  it is not recommended to disable bod in fuses (better set it to 1.8v)
                  It's better to disable it by software in sleep function like in Mysensors sleep, or gammon sketch.
                  you can use MYSbootloader or Sensebender Micro bootloader, lowpowerlab dualoptiboot etc..
                  or this link too https://www.mysensors.org/about/bootloader

                  mar.conteM 1 Reply Last reply
                  0
                  • scalzS scalz

                    it is not recommended to disable bod in fuses (better set it to 1.8v)
                    It's better to disable it by software in sleep function like in Mysensors sleep, or gammon sketch.
                    you can use MYSbootloader or Sensebender Micro bootloader, lowpowerlab dualoptiboot etc..
                    or this link too https://www.mysensors.org/about/bootloader

                    mar.conteM Offline
                    mar.conteM Offline
                    mar.conte
                    wrote on last edited by
                    #10

                    @scalz
                    Tanks bye

                    M.C.

                    1 Reply Last reply
                    0
                    • mar.conteM Offline
                      mar.conteM Offline
                      mar.conte
                      wrote on last edited by
                      #11

                      Hy,
                      I have insert into ide board the sensebender micro, it' S possible to use sensebender micro bootloader 8mhz for my project like: atmega328 8mhz internal pir sensor, rfm69 in sleep mode with 2 aa battery for low consumption?
                      Tanks

                      M.C.

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