Source: https://www.labunix.uqam.ca/~boukadoum_m/EMB7000/Notes/ch5_capteurs.pdf