This is just a tip.. maybe somebody is tired of cables when changing code to arduino and might find this usefull.
Current setup: raspberry pi0w connected to arduino. Camera can also be attached to it. This draws way less energy from the battery than a rpi 3b,4.
Using...