Single-chip microcomputer realizes granary temperature control