A new design of electronic control unit involving microcontroller to determine important parameters for target species in forest