$\newcommand{\Reals}{\mathbf{R}}$Here's a sketch using results you know about covering spaces and lifts. Express the circle $S^{1}$ as $\Reals/(2\pi\mathbf{Z})$. The idea is, if the identity map of the circle were homotopic to a constant map, then the identity map of the reals would be homotopic to a constant map through maps sending the "lattice" $2\pi\mathbf{Z}$ to itself.
For definiteness, let $p:\Reals \to S^{1}$ be the natural quotient map (a.k.a. the universal covering map), $id:S^{1} \to S^{1}$ the identity map, and $c:S^{1} \to S^{1}$ the constant map whose value is the coset $[0] = 2\pi\mathbf{Z}$.
If $h_{0}:S^{1} \times [0, 1] \to S^{1}$ were a homotopy from $id$ to $c$, then the mapping $h:\Reals \times [0, 1] \to S^{1}$ defined by $h(x, t) = h_{0}\bigl(p(x), t\bigr)$ would be a homotopy between $p = h(\cdot, 0)$ and $c \circ p = h(\cdot, 1)$. By the lifting property there would exist a homotopy $H:\Reals \times [0, 1] \to \Reals$ such that
$$
H(x, 0) = x,\quad H(x, 1) = 0\qquad\text{for all real $x$,}
$$
and $H(2\pi, t) \in p^{-1}([0]) = 2\pi \mathbf{Z}$ for all $t$ in $[0, 1]$ (because $p \circ H = h$). That's obviously impossible. (The intermediate value theorem can be used to give a rigorous proof.)