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. Announcements
  3. 💬 Battery Powered Sensors

💬 Battery Powered Sensors

Scheduled Pinned Locked Moved Announcements
battery
347 Posts 55 Posters 67.1k Views 53 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.
  • rozpruwaczR Offline
    rozpruwaczR Offline
    rozpruwacz
    wrote on last edited by
    #99

    but the dht22 would not work, it requires at least 3.3v (however i succesuffly used it with 3V). I think that NRF has some decoupling capacitors onboard, so unless the boost converter design is not totaly wrong it shouldn't be a problem. schematic would be helpful.

    F 1 Reply Last reply
    0
    • rozpruwaczR rozpruwacz

      but the dht22 would not work, it requires at least 3.3v (however i succesuffly used it with 3V). I think that NRF has some decoupling capacitors onboard, so unless the boost converter design is not totaly wrong it shouldn't be a problem. schematic would be helpful.

      F Offline
      F Offline
      FatBeard
      wrote on last edited by
      #100

      @rozpruwacz 0_1498042165035_Mini Arduino Sensor W FTDI Double Sided Ordered_bb.jpg

      Here is my breadboard design, i'm afraid the schematic in fritzing isn't really in a state to post here. It's unreadable. The resistors shown in the diagram wouldn't have the correct values i used. The values i used are from the arduino site for creating an arduino. The ones shown are used for the sake of creating a pcb. The DHT22 goes on the 4 pin header, the NRF goes on the 8 pin header.

      F 1 Reply Last reply
      0
      • F FatBeard

        @rozpruwacz 0_1498042165035_Mini Arduino Sensor W FTDI Double Sided Ordered_bb.jpg

        Here is my breadboard design, i'm afraid the schematic in fritzing isn't really in a state to post here. It's unreadable. The resistors shown in the diagram wouldn't have the correct values i used. The values i used are from the arduino site for creating an arduino. The ones shown are used for the sake of creating a pcb. The DHT22 goes on the 4 pin header, the NRF goes on the 8 pin header.

        F Offline
        F Offline
        FatBeard
        wrote on last edited by
        #101

        @FatBeard I should point out that the step up was an afterthought and it was the ground and vout of the stepup were connected directly to the power rail along the bottom. It powers the whole circuit.

        1 Reply Last reply
        0
        • rozpruwaczR Offline
          rozpruwaczR Offline
          rozpruwacz
          wrote on last edited by
          #102

          @FatBeard said in 💬 Battery Powered Sensors:

          goes on

          ok, but what about boost converter ? as i understand the problem is when You use the boost converter ? is it some kind of module ? or your design ?

          F 1 Reply Last reply
          0
          • rozpruwaczR rozpruwacz

            @FatBeard said in 💬 Battery Powered Sensors:

            goes on

            ok, but what about boost converter ? as i understand the problem is when You use the boost converter ? is it some kind of module ? or your design ?

            F Offline
            F Offline
            FatBeard
            wrote on last edited by
            #103

            @rozpruwacz Ya, it's a module and it's the 3.3v step up module recommended on this page. Thanks for your help by the way

            1 Reply Last reply
            0
            • rozpruwaczR Offline
              rozpruwaczR Offline
              rozpruwacz
              wrote on last edited by
              #104

              @FatBeard said in 💬 Battery Powered Sensors:

              recommended

              which one ? could you paste a link ?

              F 1 Reply Last reply
              0
              • rozpruwaczR rozpruwacz

                @FatBeard said in 💬 Battery Powered Sensors:

                recommended

                which one ? could you paste a link ?

                F Offline
                F Offline
                FatBeard
                wrote on last edited by
                #105

                @rozpruwacz This one here on aliexpress.

                https://www.aliexpress.com/item/1-PC-NEW-DC-0-8-3-3V-to-DC-3-3V-StepUP-Boost-Power-Mini/32724005061.html

                1 Reply Last reply
                0
                • rozpruwaczR Offline
                  rozpruwaczR Offline
                  rozpruwacz
                  wrote on last edited by
                  #106

                  unless the dht22 pull up resistor is not to low, which would cause large current when the data pin is held low, i don;t see any mistakes ... are you able to measure the current drawn from the boost converter ?

                  F 1 Reply Last reply
                  0
                  • rozpruwaczR rozpruwacz

                    unless the dht22 pull up resistor is not to low, which would cause large current when the data pin is held low, i don;t see any mistakes ... are you able to measure the current drawn from the boost converter ?

                    F Offline
                    F Offline
                    FatBeard
                    wrote on last edited by
                    #107

                    @rozpruwacz Both resistors are 10k. I can measure the amps, i'll do this tonight and get back to you. thanks again

                    1 Reply Last reply
                    0
                    • rozpruwaczR Offline
                      rozpruwaczR Offline
                      rozpruwacz
                      wrote on last edited by
                      #108

                      one other thought, what type of nrf module You use in your gateway ? from my expirience i know that the PA+LNA modules are very sensitive to noise. Do you have other sensors in your network that are affected ? maybe it is the problem with the gateway nrf module and not the sensors nfr module ? You can try to shield the modules somehow.

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

                        Try adding a 0,1uF cheramic capacitor on the booster from Out to Gnd. Also external capacitor on the radio is crusial!

                        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
                        • F Offline
                          F Offline
                          FatBeard
                          wrote on last edited by
                          #110

                          The NRF is a NRF24L01+ without the antenna on the gateeway and all of the sensors. I'm going to try the capacitor idea now. I'll try measuring current shortly too.

                          1 Reply Last reply
                          0
                          • F Offline
                            F Offline
                            FatBeard
                            wrote on last edited by
                            #111

                            I made progress. So the capacitor idea doesn't seem to work. However rozpruwacz suggested measuring the current which I did. I disconnected the negative wire and put my multimeter in between the negative from the battery and the ground pin on the step up module. I measured 72ma when the device powers up, then it runs at .16ma when in sleep mode. But here is the thing, in this configuration, mysensors worked as a thermometer. I got humidity and temperature readings from the sensor to my mqtt server through the gateway over the nrfs. When I removed the multimeter again from the equation it stopped working. Surely this would hint at what the problem is for someone more familiar with electronics than myself?

                            sundberg84S 1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              FatBeard
                              wrote on last edited by
                              #112

                              Any thoughts on what I could do to fix the issue permanently without the multimeter?

                              1 Reply Last reply
                              0
                              • gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #113

                                why don't you connect the radio directly to battery?

                                1 Reply Last reply
                                0
                                • rozpruwaczR Offline
                                  rozpruwaczR Offline
                                  rozpruwacz
                                  wrote on last edited by
                                  #114

                                  this is very wierd ... maybe try another nrf module ? also try what gohan suggested. But it should work as it is. I have similar configuration, but the boost converter has pass trough mode, so i can switch it on and off from the atmega and have no problems with that setup, no matter if the boost converter is os or off, the communication is ok. Can you upload a picture of your setup ? maybe we see something you didn't realize is important to say.

                                  1 Reply Last reply
                                  0
                                  • F FatBeard

                                    I made progress. So the capacitor idea doesn't seem to work. However rozpruwacz suggested measuring the current which I did. I disconnected the negative wire and put my multimeter in between the negative from the battery and the ground pin on the step up module. I measured 72ma when the device powers up, then it runs at .16ma when in sleep mode. But here is the thing, in this configuration, mysensors worked as a thermometer. I got humidity and temperature readings from the sensor to my mqtt server through the gateway over the nrfs. When I removed the multimeter again from the equation it stopped working. Surely this would hint at what the problem is for someone more familiar with electronics than myself?

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

                                    @FatBeard - Could it be that the step up booster are making alot of noice. When you connect your multimeter it works in some way like a filter and reduces the noice?

                                    I have made alot of these sensors and i strongly suggest you connect i like @gohan suggest - radio directly to the bat.

                                    This is how i have created my EasyPCB and with alot of trial and error - radio + booster isnt a good idea.

                                    https://www.openhardware.io/view/4/EasyNewbie-PCB-for-MySensors

                                    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

                                    F 1 Reply Last reply
                                    0
                                    • sundberg84S sundberg84

                                      @FatBeard - Could it be that the step up booster are making alot of noice. When you connect your multimeter it works in some way like a filter and reduces the noice?

                                      I have made alot of these sensors and i strongly suggest you connect i like @gohan suggest - radio directly to the bat.

                                      This is how i have created my EasyPCB and with alot of trial and error - radio + booster isnt a good idea.

                                      https://www.openhardware.io/view/4/EasyNewbie-PCB-for-MySensors

                                      F Offline
                                      F Offline
                                      FatBeard
                                      wrote on last edited by
                                      #116

                                      @sundberg84 Ok, thanks guys. I'll try your suggestions out tonight. I would have preferred to do it through the step up to get the most out of the batteries but maybe this is not practical.

                                      rozpruwaczR 1 Reply Last reply
                                      0
                                      • gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #117

                                        maybe you could use the booster, but you would need to analyze the kind of noise and build a specific filter for that.

                                        1 Reply Last reply
                                        0
                                        • F FatBeard

                                          @sundberg84 Ok, thanks guys. I'll try your suggestions out tonight. I would have preferred to do it through the step up to get the most out of the batteries but maybe this is not practical.

                                          rozpruwaczR Offline
                                          rozpruwaczR Offline
                                          rozpruwacz
                                          wrote on last edited by
                                          #118

                                          @FatBeard boost converter has limited efficiency, this means that it eat the battery power. Nrf can work down to 1.9 V so it is not so obvious that the booster actually will make your sensor live longer.

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


                                          14

                                          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