💬 Battery Powered Sensors
-
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.
-
@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 ?
-
@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 ?
@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
-
-
@rozpruwacz This one here on aliexpress.
-
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 ?
-
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 ?
@rozpruwacz Both resistors are 10k. I can measure the amps, i'll do this tonight and get back to you. thanks again
-
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.
-
Try adding a 0,1uF cheramic capacitor on the booster from Out to Gnd. Also external capacitor on the radio is crusial!
-
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?
-
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.
-
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?
@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
-
@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
@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.
-
@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.
@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.
-
Search the forum. Booster VS not booster - its always a tradeoff.
Some people go further and skip booster and lower BOD on the arduino instead.
I would say 1.9V is pretty good... I have had my longest temp sensor now since the beginning (Almost 3 years) and changed 2xAA once. If you are using sleep and measure once you will get away with a long lasting sensor.
