Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cubecell 1/2AA (HTCC-AB02A) won't Tx under battery power #211

Open
aimeeraymond opened this issue Dec 17, 2021 · 8 comments
Open

Cubecell 1/2AA (HTCC-AB02A) won't Tx under battery power #211

aimeeraymond opened this issue Dec 17, 2021 · 8 comments

Comments

@aimeeraymond
Copy link

I have two Cubecell 1/2AA boards. They will transmit LoRaWan to TTN without issue when connected to the USB port (with or without the battery installed). If I disconnect the node from USB power (hence using battery power), then the node will not transmit.

To isolate the issue, I installed the Lora Ping-Pong application onto both nodes using, https://github.com/HelTecAutomation/CubeCell-Arduino/tree/master/libraries/LoRa/examples/LoRaBasic/pingpong. I commented out the lines for "turnOnRGB()", as this board does not have the RGB component and the script won't compile without doing so.
The ping-pong script runs for both nodes when they are powered by USB. When I unplug one node from USB, so it is running on battery, the ping-pong immediately stops. The USB-connected node's serial output indicates that is it waiting to receive a packet (hence the Battery-powered node failed to transmit). Putting the Battery-powered node back on USB power, the ping-pong immediately resumes, but it's packet counter resets to 1.

When on USB power, there is a red-LED on between the USB connector and the RST button.
When on battery power, there are no LED's on.

On one of the nodes, the first time I installed the battery there was a flicker of a green LED located between the USB connector and the USER button. I have not been able to get the green LED on after that first flicker. On the second node, I have never seen the green LED on.

For Node A, the battery readings (taken by multimeter) are:
loose battery, 3.55V,
no USB connection, installed in the battery holder reads 3.44V and alternates to 2.79V (goes repeatedly back and forth at the pace of the ping-pong)
VDD & Pin 19 =3.4/2.79 alternating, VIN & VEXT = 0
with USB connection, installed in battery holder reads solid 3.55V and is increasing slowly (charging?), not alternating, stopped increasing at 3.65V

For Node B,
loose battery, 3.44V
no USB connection, in battery holder, 1.60V not alternating like Node A
VDD & Pin 19 =1.6V not alternating, VIN & VEXT = 0
with USB connection, in battery holder, 3.44 V and increased to 3.6V, not alternating

Given the difference between the battery voltage when in the battery holder, and one alternating vs not alternating, I put the same ping-pong script on a third CubeCell Dev Board (AB01) running on USB power. Both Node A & Node B resumed ping-pong when they were USB-powered.

CubeCell Dev Board on battery power would ping-pong with 1/2AA Node A or Node B, but only when the 1/2AA node was on USB-power.

Why won't CubeCell 1/2AA transmit under battery power?

@jezdd
Copy link
Contributor

jezdd commented Jan 3, 2022

Share your full code, we have 12 x CubeCell 1/2AA working on battery - last for years too.

@aimeeraymond
Copy link
Author

aimeeraymond commented Jan 3, 2022

I am using the example PingPong script. I commented out Line 135 "// turnOnRGB(0,0);". I installed same script on two CubeCell 1/2AA.

Cubecell_PingPong_dot_ino.txt

@tekk
Copy link

tekk commented Feb 6, 2022

What type of battery have you used?
Link to exact model?

@aimeeraymond
Copy link
Author

aimeeraymond commented Feb 7, 2022 via email

@dl5dla
Copy link

dl5dla commented Sep 8, 2022

I run into same or similar problem (I guess). Two of my four modules, powered by battery only, join the TTN network and send out regularly messages. The other two do this only when connected to USB. All of them have the same battery type and volatgae across batteries is around 3.6V.

@aimeeraymond: did you solve the problem meanwhile?

@aimeeraymond
Copy link
Author

aimeeraymond commented Sep 8, 2022 via email

@dl5dla
Copy link

dl5dla commented Sep 10, 2022

Thanks for your comments. I also assume a physical fault on my Cubecell 1/2 boards. I had one of them operated outside (in waterproof case), it worked for several weeks, but then stopped working. A second one is working on the roof since March without problems, but the last two one show the faulty behaviour (as you also initially described.

@dl5dla
Copy link

dl5dla commented Oct 15, 2022

I did some more investigations with my four modules. Again, I found that one of the modules stopped working after a longer time although I measured a voltage of ca. 3.4V across the battery (plugged into the holder of the module). When I replaced the battery with a new one, the module starts sending again.

In my opinion all my modules are ok. When not TX'ing, the power consumption of the module is that low, that even a discharged battery (with a big internal resistence in this state) provides a sufficient voltage to the module. But when it's TX'ing, the module draws relevant more current from the battery and this leads to a big voltage across the internal resistence, and therefore leads to only a small supply voltage below the voltage limits of the module. And one cannot realy report this reduced voltage by getBatteryVoltage() during operation, as this function call is done outside the TX phase.

BTW, I used one of the modules to measure the solar power of a small photovoltaik module on the roof. The battery lasted 6-7 months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants