If you put batteries 7, 5V will work perfectly, but you can put the UPS less metres from your PI Raspberry; just be sure that the voltage regulator to support it, the tutorial is compatible.
Kama kuweka betri 7, 5V kazi kikamilifu, lakini unaweza kuweka UPS chini mita kutoka rasiberi yako PI; tu kuwa na hakika kwamba kisahihishi volti kusaidia, mafunzo ya ni patanifu.