A middle school gym teacher for the Anamosa Community School District has been charged with sexual exploitation of a minor for conversations he had with a 15-year-old former student 10 years ago.