Memsic 2125 Dual-Axis Accelerometer

Hi.

Can anyone help with the best way to convert the square wave signal to a dc voltage between 0v and 5v.

I’ve attached the datasheet for reference.

I’m trying to integrate this sensor into a old circuit that uses accelerometers that is like a voltage divider and sends the signal through a few op amps. When the sensor is flat it gives out a steady 2.5v moving it to either side will make the voltage either go up or down

0900766b80d167fb.pdf (128 KB)

Low-pass filter the outputs - what bandwidth / response time are you looking for?

On the datasheet it says its 100hz. Response time needs to be more or less instantaneous

ullisees:
On the datasheet it says its 100hz. Response time needs to be more or less instantaneous

That's not the response time, that's the PWM frequency. Since this is a thermal device it may be quite
slow.

"more or less instantaneous" - could mean 1µs, 1ms, 1s or 100s, depending on your expectations.
Numbers please, not adjectives.

I'd be thinking 100ms should be fast enough response