It’s been a while I’ve been conjecturing and searching about this idea, but could not devise a solution for.
Brief problem description: I am using the external ADC ADS1115 with Uno being powered via a DC wall adapter. I am having big trouble with 60 Hz noise (electric network frequency of my country). When powering with a power bank, the noise is gone, so I isolated the source coming from the DC adapter. Already tried to use big fat caps (4700uF) between DC adapter lines, but it did not reduce the noise to the extent I need. I can’t power all the time from battery because I need at least 7 days continuous running, my sketch draws 35 mah, and I can’t get my hands on high charge rechargeable batteries.
My intended solution: power the device mainly using the DC adapter, but only during the ADS 1115 somehow automatically disconnect the DC adapter, connect rechargeable batteries and power via them. When sampling is not going on, the DC adapter could recharge the batteries.
Do you guys thing it is possible? Could you point me in some directions? I am kinda lost on how to accomplish this.