Port sd sensor from Bitbucket. Only simulation!