How should a mobile phone headphone audio output (such as the jack on top of an iPhone) be interfaced to a microcontroller digital input? (3.3V controller. Assume no audio frequency capable A/D is available.)
Assume a modulation scheme such as FSK or similar at appropriate frequencies.