LiPo battery in Vin

hello, I’m a little confused on the usage of LiPo batteries and I want to ask if I can use a LiPo of 3.7 V of 500 mAh on the Seeeduino Xiao, I read that it used 3.3V or 5V but I’m not sure if need to use a resistance to drop the 3.7V to 3.3V, also I don’t know which tags to use.

The VIN pad on the bottom of the XIAO is connected to the input of the voltage regulator. The regulator is an LDO regulator with a minimum differential of 250mv so you can use a LiPo battery down to ~3.5 volts. Obviously not a complete discharge but depending on your application (i.e. are you using sleep) it could last a long time. Removing the power LED (can make it last a really long time). Obviously you will need a battery charger. Incidentally this is exactly what I will be doing for a kitchen timer that will be sleeping most of the time and awakened with a button.

If you connect the USB cable while the battery is connected to the VIN, the battery will be charged without current control, so you should be careful.