I am currently designing a diagnostics system for gathering startup data from flight computers in a high power rocket. The flight computer relevant to my question, the StratologgerCF, outputs startup data via a buzzer. It also has a three pin connector that can be used to drive an LED or buzzer at the same frequency and pattern as the on-board buzzer. I want to interpret this signal with an ATmega328 so I know when the flight computer's buzzer is beeping.
I contacted their support about what signal was outputted via these pins and received the following information:
"The signal is a 3.3 volt digital signal that toggles at the beep frequency. The audio frequency is fast enough that if you connect it to an LED it will appear to the eye as a series of blinks at the same rate and timing of the beep tones from the beeper on board the altimeter."
So it would appear that, more likely than not, the signal is a PWM signal outputted by the flight computer at an audio frequency. A brief investigation of the store page has me suspicious that the frequency of the PWM signal is 2.5 kHz.
Now I am relatively unfamiliar with analog signals, but my understanding is that in order to get this signal into a format recognizable by the ATmega328 I need to convert it to a simple on/off signal. The best way I can think of doing this is to trigger a transistor with the PWM signal, but I have no clue how to "flatten" a PWM signal such that it will trigger the transistor. Will I need a filter of some kind? Or am I going about this the wrong way?
Any help is greatly appreciated! I am also very interested in learning more about working with analog signals, so if anyone has any recommended reading on the subject I would appreciate being pointed to it.
I contacted their support about what signal was outputted via these pins and received the following information:
"The signal is a 3.3 volt digital signal that toggles at the beep frequency. The audio frequency is fast enough that if you connect it to an LED it will appear to the eye as a series of blinks at the same rate and timing of the beep tones from the beeper on board the altimeter."
So it would appear that, more likely than not, the signal is a PWM signal outputted by the flight computer at an audio frequency. A brief investigation of the store page has me suspicious that the frequency of the PWM signal is 2.5 kHz.
Now I am relatively unfamiliar with analog signals, but my understanding is that in order to get this signal into a format recognizable by the ATmega328 I need to convert it to a simple on/off signal. The best way I can think of doing this is to trigger a transistor with the PWM signal, but I have no clue how to "flatten" a PWM signal such that it will trigger the transistor. Will I need a filter of some kind? Or am I going about this the wrong way?
Any help is greatly appreciated! I am also very interested in learning more about working with analog signals, so if anyone has any recommended reading on the subject I would appreciate being pointed to it.