A data logger is an electronic device used to record and monitor environmental conditions. They are commonly used to track…