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?
Please provide a detailed description of what you mean by "everything dies".
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.
If you upload the basic File > Examples > 01.Basics > Blink sketch to the board and power it via the battery, does the LED blink?
No. Blink Stops Blinking.
I measured the two pins on the battery and I see 3.9 volts. This is the battery.
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.
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.
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?
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!
jonta:
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:
pert:
Here it is:
GitHub - arduino-libraries/Arduino_BQ24195: [Beta] Arduino library to control TI BQ24195 PMIC on compatible MKR boards
Great, thanks!