Project information

  • Name: Frequency Detection using ATmega32U4
  • Course: MEAM510 Mechatronics System Design
  • Instructor: Prof. Mark Yim
  • Project date: Sept-Oct 2023
  • Project URL: Github

About

This project demonstrates the creation of a frequency detection system using the ATmega32U4 microcontroller, capable of identifying signals at 25Hz, 662Hz, and 200Hz in the presence of ambient noise. Leveraging a photoresistor for input signal capture and LEDs to indicate detected frequencies, the system utilizes Timer/Counter3 to measure intervals between signal edges, calculating the frequency based on these intervals. The configuration allows for clear differentiation between the target signals and ambient noise, with the detection confirmed visually through LEDs and numerically via USB output.

The successful implementation of this system showcases the ATmega32U4's adeptness in signal processing within noisy environments, making it a viable solution for applications where maintaining signal integrity against external disturbances is essential. The project required careful consideration of signal conditioning and precise alignment of the signal transmission and reception components to ensure accuracy and reliability in frequency detection.