A little experiment with focus stacking. I used my 16mm macro extension tube and set focus bracketing on my camera to take 8 photos with different focus. Then I merged them together in HeliconFocus to get the entire battery in focus.

I tried using Photoshop to merge them first, but I think it needs more images with smaller differences in focus. HeliconFocus had much better results with this set of images.

📷 Olympus E-M10 Mark II (49mm, ƒ/5.6, 0.6s, ISO 800)