While ago i created a project whic i dont want to work with that again. It is a remote for my other project. Im currently using it with usb wire. So i must plug it in to the phone charger or my pc. But i want to use li-po battery for that. So my question is whic voltage limits can arduino nano take from usb?
I dont want to use the V in pin (i dont want to take apart the hard case of my project, that wire is already out of the case)
Well, if it is a genuine Nano, then the path between the USB socket and the power to the Nano's processor chip is more or less direct. It just goes through a Schottky diode (0.4 volt loss).
Vin would anyway not be the correct pin to use because that goes through the voltage regulator. The +5V pin would be the right choice for a battery that did not exceed 5 volts.
However, you may have to change the brown out voltage fuse settings if you are reducing the voltage.
You may have to reduce the clock rate to say 8MHz again by a fuse setting to avoid overclocking it.
If you use a 7.4V LiPo battery you can connect it directly to Vin pin. There will be some wasted power in the 5V voltage regulator, not the ideal condition for a battery powered circuit.
A Nano is not suitable for battery power. It includes the USB-serial converter which will draw power even if the mega328 sleeps.
The most efficient way to power a Pro Mini is directly from the LiPo battery, but the 16 MHz version may not reliably run at 3.7 V. You want the 8 MHz version which is specified to run at 3.3 V but has no issues (the processor is after all, the same) at 5 V including for programming.
"Vin" is generally useless anyway and as the regulator may draw some standing current, you should disconnect it when running from a battery.