I have a microcontroller and a A/D converter on the circuitboard. There are 2 powers, Vd for digital and Va for analog. I use this board with LIS3L02AQ acceleration sensor. What i would like to do is to switch the FS ("Full Scale selection Logic 0: 2g Full-scale; Logic 1: 6g Full-scale") on and off with the microcontroller output (Vd), but the sensor should get the FS logic from analog side.
So how do i make a isolated switch to switch the FS 0V-5V from reference analog power with the microcontroller output. The Analog reference signal should not be disturbed!
My own vision would be to use a optocoupler of some kind, but my need would be to switch on/off the high side, not to cut off the gnd. That's because the gnd to the sensor is common, and if i switch that off the sensor shutsdown.
Thanks in advance
So how do i make a isolated switch to switch the FS 0V-5V from reference analog power with the microcontroller output. The Analog reference signal should not be disturbed!
My own vision would be to use a optocoupler of some kind, but my need would be to switch on/off the high side, not to cut off the gnd. That's because the gnd to the sensor is common, and if i switch that off the sensor shutsdown.
Thanks in advance