Heat equation from a deterministic microscopic dynamics