Go Down

Topic: MKR WAN 1310 How do you use the battery (Read 2854 times) previous topic - next topic

ispybadguys

I just got a pair of 1310's and a 7500 mAH battery with the JST plug. I downloaded the Arduino_PMIC.h by Riccardo Rizzo and it reports that the battery is charging and then when charging is complete. The LED blinks continuously when the battery is installed however when I disconnect the USB everything dies. What am I missing here?

pert

Please provide a detailed description of what you mean by "everything dies".

ispybadguys

Thanks for the quick reply. So I was running a simple sketch that writes sends a LoRa packed to another MRK 1310 and changes the state to LED13. All is working fine with the battery connected and USB plugged in. I disconnect the USB and no more LED13 and no packets going out. The behavior is indistinguishable from power off. Prior to the the LiPo chip was reporting the battery was charged.

pert

If you upload the basic File > Examples > 01.Basics > Blink sketch to the board and power it via the battery, does the LED blink?


ispybadguys


ispybadguys

I measured the two pins on the battery and I see 3.9 volts. This is the battery.

https://smile.amazon.com/AKZYTUE-7200mAh-Battery-Rechargeable-Connector/dp/B07TXJ4SBW/ref=sr_1_1?dchild=1&keywords=AKZYTUE+3.7V+7200mAh+866898+Lipo+Battery+Rechargeable+Lithium+Polymer+ion+Battery+Pack+with+JST+Connector&qid=1592137069&s=electronics&sr=1-1

It says it has a JST connector. It fits in the MKR1310 although it presses in quite tightly. When connected if I measure the two pins where they are soldered to the board and I get nothing. Which explains the no Blink but not the charger being happy.

When the battery is connected to the board the charge light blinks. When the battery is disconnected it is dark.

pert

#6
Jun 14, 2020, 02:44 pm Last Edit: Jun 14, 2020, 02:44 pm by pert Reason: Embed image
It looks to me like the polarity of the connector on that battery is opposite to what the MKR WAN 1310 needs. The positive connection on the MKR WAN 1310's battery connector is on the side closest to the USB socket on the board.

I had the same problem with the JST PH pigtails I bought. What you can do is use something sharp like a safety pin or push pin to pry up the plastic locking tab (indicated by the red circle and arrow on the image below) on the connector just enough so that it no longer locks in the metal insert, then pull the wire and metal insert out of the connector housing. Do that with both wires, then push the inserts back into the housing in the arrangement that matches the MKR WAN 1310's connector polarity.

jonta

I just got a pair of 1310's and a 7500 mAH battery with the JST plug. I downloaded the Arduino_PMIC.h by Riccardo Rizzo and it reports that the battery is charging and then when charging is complete. The LED blinks continuously when the battery is installed however when I disconnect the USB everything dies. What am I missing here?
Could you link some more details about the "Arduino_PMIC.h" mentioned? I tried searching for it but don't quite find it. I am also having some battery issues but would like to verify that the battery is charged first.
Thanks!

pert

Could you link some more details about the "Arduino_PMIC.h" mentioned? I tried searching for it but don't quite find it.
Here it is:
https://github.com/arduino-libraries/Arduino_BQ24195


Go Up