Vin: This pin can be used to power the board with a DC voltage source.
If the power is fed through this pin,
the USB power source is disconnected.
This pin is an INPUT.
Respect the voltage limits to assure
the proper functionality of the board.
I want to be able to charge the battery through USB.
But how can I do that if the Arduino keeps disconnecting the USB connection when powered with Vin. It's like, it will charge the battery and past 5V a MOSFet will let the battery power the Arduino
and then the USB power will disconnect. So I will always end up at 5V which will be the cut off
on my battery.
If there was such a >6.6 USB disconnection on the Nano 33 BLE Sense,
that would be perfect because my battery will be between 5 and 6.6V
I was under the impression I could use the 3.3V pin of the Arduino to charge the battery.
USB 3.0 can provide
0.9a at 5V
and
USB 2.0 can provide
0.5a at 5V
So at 3.3V that would be lower than these values which I kind of like because it's conservative for the battery.
I'm sure I'm missing out something obvious here but then how could you power the Arduino and shields connected to it while it's connected to the USB power supply ? Or it's just impossible and it's done a different way ?
True. I should study the basics first.
So I understand because both power sources share a common ground,
the current could not go to the charging wire of the battery
but would leave through the ground, choosing the path of least resistance.