I have a circuit that includes an arduino and an electromagnet thats periodically turned on. I can easily measure the current consumed when its turned on and when its off by wiring in my multimeter in series and observing the drain. However I want to know how I can measure the total current consumed (for example overnight). The frequency in which the electromagnet will be turned on will be somewhat random.
This is the multimeter I have https://www.amazon.co.uk/gp/product/B01N3RVVJ4/ref=od_aui_detailpages00?ie=UTF8&psc=1
I've seen some multimeters that have the capability to measure total current passed in, by the looks of it mine doesn't have that. I did consider buying one of those USB multimeters which can do this and splicing the wires to connect it in series with my circuit but I figured surely there's a better way to measure this?