canon – Affordable camera for a macro photography

Which cheap camera fits better for taking a macro photos of static objects: PCB boards, electronic chips, various small hardware? Basically, the camera will be fixed on a copy stand. I’m considering Sony CyberShot DSC-W800 vs Canon IXUS 185. These are very similar models, although Canon IXUS 185 seems to be a little newer. Which from them has a better sensor?