Pātuhitia tēnei: Intelligent sensor design using the microchip dsPIC