How to wire battery sensor with battery voltage reports...
-
It Seems to be a power issue-it works better with usb power supply. Ill check more when i get home.
What does st-fail means? Is it some missing/failed axcknowledge message from gw?
@sundberg84 said:
It Seems to be a power issue-it works better with usb power supply. Ill check more when i get home.
What does st-fail means? Is it some missing/failed axcknowledge message from gw?
I think, that it means that the radio didn't receive an acknowledge from the receiving part. There are multiple ACK's in the system. both inter radio (from point to point, which is the one st=ok /st=fail is about). If there are repeaters between the sensor node, and the gw, then this ACK is only for the direct next uplink (repeater).
But also you can ask mysensor to send an ack for each message, this travels across repeaters from GW to sensor (or the other way arround).
So in this case, it means that the radio transmits, but there is no receiver ack'ing that it has heard the broadcast.
-
Ok, tHanks! Will try to move closer to gw and see what happens.
-
Yes - moving it closer to the gateway improves numbers of st=ok but still not 100% (not even close) even if i only have a fem meters between. Needs to check my soldering and wiring.
Thank you for answers - will upload new image when ready and it works.
-
Hi!
Ok, i wanted to share my "sollution" or atleast current setup if someone else in the future has the same problem.

The radio and battery voltage sensor (R1/R2) is not connected to Step up regulator.
Also DHT22 sensor needs atleast 3v to operate so i put the arduino and DHT22 after the voltage regulator.Im sleeping the node for 15min, then sends temp and hum. The Battery status is sent each 8 loop. Now i will have a look how fast the battery is drained. I have not removed the led in the aurdino or step up reg so im guessing quite fast.
I have the radio about 15 meter (1 wall) from the gw - 100% seems to be st=ok.
Any improvement ideas - let me know,
Br
Andreas -
Hi!
Ok, i wanted to share my "sollution" or atleast current setup if someone else in the future has the same problem.

The radio and battery voltage sensor (R1/R2) is not connected to Step up regulator.
Also DHT22 sensor needs atleast 3v to operate so i put the arduino and DHT22 after the voltage regulator.Im sleeping the node for 15min, then sends temp and hum. The Battery status is sent each 8 loop. Now i will have a look how fast the battery is drained. I have not removed the led in the aurdino or step up reg so im guessing quite fast.
I have the radio about 15 meter (1 wall) from the gw - 100% seems to be st=ok.
Any improvement ideas - let me know,
Br
Andreas -
@hek just let me know if you need any additional designers for the homepage :+1: haha
/Andreas
-
The 0,1uF capacitor is usually put in parallell with the 470k. Unless your battery wires are very long or interfered I think it's useless as it is.
-
Hi!
Ok, i wanted to share my "sollution" or atleast current setup if someone else in the future has the same problem.

The radio and battery voltage sensor (R1/R2) is not connected to Step up regulator.
Also DHT22 sensor needs atleast 3v to operate so i put the arduino and DHT22 after the voltage regulator.Im sleeping the node for 15min, then sends temp and hum. The Battery status is sent each 8 loop. Now i will have a look how fast the battery is drained. I have not removed the led in the aurdino or step up reg so im guessing quite fast.
I have the radio about 15 meter (1 wall) from the gw - 100% seems to be st=ok.
Any improvement ideas - let me know,
Br
Andreas@sundberg84 said:
Hi!
Ok, i wanted to share my "sollution" or atleast current setup if someone else in the future has the same problem.

The radio and battery voltage sensor (R1/R2) is not connected to Step up regulator.
Also DHT22 sensor needs atleast 3v to operate so i put the arduino and DHT22 after the voltage regulator.Im sleeping the node for 15min, then sends temp and hum. The Battery status is sent each 8 loop. Now i will have a look how fast the battery is drained. I have not removed the led in the aurdino or step up reg so im guessing quite fast.
I have the radio about 15 meter (1 wall) from the gw - 100% seems to be st=ok.
Any improvement ideas - let me know,
Br
AndreasHi all, I'm newbie with these libraries.
And I'm a bit confused about the picture.
I'm guessing is that the picture still similar with the battery page in build sites. What makes me confused is that resistor position. And also what is the source to measure in the voltage divider? Is it vcc? -
@sundberg84 said:
Hi!
Ok, i wanted to share my "sollution" or atleast current setup if someone else in the future has the same problem.

The radio and battery voltage sensor (R1/R2) is not connected to Step up regulator.
Also DHT22 sensor needs atleast 3v to operate so i put the arduino and DHT22 after the voltage regulator.Im sleeping the node for 15min, then sends temp and hum. The Battery status is sent each 8 loop. Now i will have a look how fast the battery is drained. I have not removed the led in the aurdino or step up reg so im guessing quite fast.
I have the radio about 15 meter (1 wall) from the gw - 100% seems to be st=ok.
Any improvement ideas - let me know,
Br
AndreasHi all, I'm newbie with these libraries.
And I'm a bit confused about the picture.
I'm guessing is that the picture still similar with the battery page in build sites. What makes me confused is that resistor position. And also what is the source to measure in the voltage divider? Is it vcc?@funky81 said:
Hi all, I'm newbie with these libraries.
And I'm a bit confused about the picture.
I'm guessing is that the picture still similar with the battery page in build sites. What makes me confused is that resistor position. And also what is the source to measure in the voltage divider? Is it vcc?Im a newbie as well, also a bit on and off building...
Yes, i have tried to work from the battery build site. I saw you did a own post about this and worked it out.-
I have also tried to take power to the radio from the booster - but this seems to drain the battery very fast, annyone else experienced this?
-
Also i tried to take power to the radio from the arduino - and it works well, is there any downsides with this?
-
Is the radio using any power not used? It seems like the battery last longer with the radio connected to the arduino instread of the battery. When the arduino sleeps - so does the radio i guess, but does the radio sleep any time connected directly to the battery?
-
-
Would be awesome if you made a fritz sketch of this :)
-
Would be awesome if you made a fritz sketch of this :)
@ronnyandre - hehe! That was a while ago :)
I even made a PCB for everyone to use (including full schematics)!Check it out here: https://www.openhardware.io/view/4/EasyNewbie-PCB-for-MySensors