The LSM303DLHC: No pin-compatible drop-in replacement from STMicroelectronics is documented, so a board spin may be required for a new-design alternative.
The LSM303DLHC integrates a 3-axis accelerometer and a 3-axis magnetometer on a single die, communicating over a standard I²C bus — one address byte for the accelerometer, a second for the magnetometer, both on the same two-wire interface. Rated for -40 to 85°C ambient, the sensor covers industrial and outdoor applications — an enclosure that sees direct sun on a summer day stays within this band, but engine-bay or downhole use would exceed it. The 14-VFLGA package (3x5 mm) is hand-solderable with a fine-tip iron and flux — the exposed pad on the bottom needs a thermal via under it to pull heat away from the die during reflow or manual soldering.
Supplied in a tray rather than tape-and-reel — the tray holds the parts in a grid, so pick-and-place machines need a tray feeder or a manual transfer to tape for high-volume lines.
