HelTecAutomation / CubeCell-Arduino

Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support.
248 stars 137 forks source link

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

Open aimeeraymond opened 2 years ago

aimeeraymond commented 2 years ago

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 commented 2 years ago

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

aimeeraymond commented 2 years ago

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 commented 2 years ago

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

aimeeraymond commented 2 years ago

I am using EEMB, Model ER14250, Lithium Thionyl Chloride Battery, 3.6V, ER14250 lithium battery, 3.6V- EEMB Battery https://www.eemb.com/model/er14250.html

-aimee

From: Peter Javorsky @.> Sent: Sunday, February 6, 2022 7:18 AM To: HelTecAutomation/CubeCell-Arduino @.> Cc: aimeeraymond @.>; Author @.> Subject: Re: [HelTecAutomation/CubeCell-Arduino] Cubecell 1/2AA (HTCC-AB02A) won't Tx under battery power (Issue #211)

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

— Reply to this email directly, view it on GitHub https://github.com/HelTecAutomation/CubeCell-Arduino/issues/211#issuecomment-1030852978 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2453UVTXH3U3Y3ADVXRITUZ2GLBANCNFSM5KH5BEHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AH2453T6FGANHC26X7KPXDTUZ2GLBA5CNFSM5KH5BEHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHVYZC4Q.gif Message ID: @. @.> >

dl5dla commented 1 year ago

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 commented 1 year ago

Peter,

I have not solved this problem, and these boards still sit on my desk. We have successful developed our own PCB using the CubeCell Module Plus, and built nearly 100 nodes. We have many nodes that do not perform correctly. I ordered a serious microscope to do a more detailed visual inspection of the boards. We removed the protective cover on the CubeCell ModulePlus. On inspection, we found potential soldering errors on the CubeCell part. I’ve not finished the investigation yet. I do intend to share the pictures with Heltec and to discuss with them.

So from this learning, I would encourage you to get the unit under a microscope and take a look. If you don’t have a microscope, I can give you recommendation.

-aimee

From: Peter Jonas (DL5DLA) @.> Sent: Thursday, September 8, 2022 7:06 AM To: HelTecAutomation/CubeCell-Arduino @.> Cc: aimeeraymond @.>; Mention @.> Subject: Re: [HelTecAutomation/CubeCell-Arduino] Cubecell 1/2AA (HTCC-AB02A) won't Tx under battery power (Issue #211)

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 https://github.com/aimeeraymond : did you solve the problem meanwhile?

— Reply to this email directly, view it on GitHub https://github.com/HelTecAutomation/CubeCell-Arduino/issues/211#issuecomment-1240766260 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2453SR7QPCSXNA33W2JZDV5HXFVANCNFSM5KH5BEHA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AH2453W5BVTLHHFSHCTAHOTV5HXFVA5CNFSM5KH5BEHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJH2JONA.gif Message ID: @. @.> >

dl5dla commented 1 year ago

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 commented 1 year ago

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.