1. An environmental sensor circuit for a portable connected wireless device, the circuit comprising: (a) a capacitive proximity sensor configured to determine whether a user is in proximity to the capacitive proximity sensor, by sensing variation in the capacitance of an electrode in electric connection with an environmental integrated circuit, (b) a magnetic field probe, providing a signal proportional to a magnetic field strength, wherein the environmental sensor circuit has an analogue/digital converter configured to produce proximity digital values representative of the capacitance of the electrode and magnetic field digital values representative of the magnetic field strength, the integrated circuit further comprising a digital processor configured for suppressing unwanted noise and drift components from the proximity digital values and from the magnetic field digital values.
|