Is battery charging? MKR WIFI 1010 with MKR IoT Carrier - OPLA IoT Kit

I do have OPLA IoT Kit I inserted 18650 battery from my old laptop and it works fine. I can disconnect from USB and is running overnight.
My question is when I have connected via USB does it charge battery ? or I need to charge separately?

Yes the battery charges when plugged into USB.

thanks for your reply, I guess I need to solve my issue now with turning the display off

any idea if it could be possible to Monitor the Battery Level - Voltage? so it will send be signal when level below a certain threshold?

turn off backlight:
pinMode(3, OUTPUT);
digitalWrite(3, LOW);
turn on backlight:
digitalWrite(3, HIGH);

just an idea to read de ADC_BATTERY (@ A32)

 delay(100);
  int Batt = analogRead(ADC_BATTERY);
   delay(100);
 Serial.print("batt read:");
 Serial.println(Batt);
  int batteryLevel = map(Batt, 0, 1023, 0, 420); //need callibration agaist AREF
  Serial.print("batt Volts:");
  Serial.println(batteryLevel);

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.