I need to keep the Nano 33 BLE running for 1.5 hr. I have the 3.7V battery connected to the board and it runs ok.
If I want to check the Vin voltage, do I need to make a voltage divider to analogread the Vin voltage? Or is there a built-in function?
You can find the schematic of the Nano 33 BLE in the store under DOCUMENTATION.
The Vin pin is only connected to the power converter. Vin is much higher than what the Arduino 33 BLE I/O can handle. 3.3V that is what the name comes from. So, you will need to use a voltage divider.