That way will give you the option to either
read the down and the up and lump together to give a greater range or span on the input
OR
it will give you an opportunity to cal - as the dc level from the opamp never keeps still from hour to hour, on boot, post settle you can read the DC level on the day and use that as your calibrated zero. This way your dynamic range is not eaten into with dc offsets and you can distinguish smallest targets.
You could use the positve going signals only too for simplicity, take 50 rolling average of signals above a certain value on x,y
or fill array for x,y , grab the 30 or so largest values for x and y from the array and do the Tan-1 of x/y for the angle
just ideas I never got this far myself
read the down and the up and lump together to give a greater range or span on the input
OR
it will give you an opportunity to cal - as the dc level from the opamp never keeps still from hour to hour, on boot, post settle you can read the DC level on the day and use that as your calibrated zero. This way your dynamic range is not eaten into with dc offsets and you can distinguish smallest targets.
You could use the positve going signals only too for simplicity, take 50 rolling average of signals above a certain value on x,y
or fill array for x,y , grab the 30 or so largest values for x and y from the array and do the Tan-1 of x/y for the angle
just ideas I never got this far myself
Comment