Inspiration

Over 2.6 billion students and rural students study at schools and community centers that suffer from unreliable, congested, or unavailable cellular data and Wi-Fi. However, virtually all student devices - from ten years old cheap Android phones or Chromebooks - have built-in speakers and microphones. We created AirCast to turn any speaker-to-microphone acoustic communication into a zero-hardware, offline-first data and multilingual educational broadcast modem.

What it does

  • Dual-Band MFSK Acoustic Modem: Transmits digital frames through Web Audio API via 8-ary Multiple Frequency-Shift Keying (MFSK) on Audible Robust Band (1,500-3,600 Hz) and Near-Ultrasonic Band (17,200-19,650 Hz) with 48 kHz sampling rate.
  • Hamming(7,4) Forward Error Correction + CRC-16-CCITT: Encodes each nibble with systematic [7, 4, 3] Hamming code that corrects single-bit acoustic burst errors per symbol and ensures frame integrity with CRC-16-CCITT (0x1021).
  • Sliding Window Goertzel Demodulator & Chirp Frame Sync: Applies matched filter linear chirp preamble correlation (1,200 -> 2,800 Hz) and array of 8 Goertzel resonators for O(N) tone energy extraction.
  • Live 60 FPS Waterfall Spectrogram & BER Lab: Shows live FFT spectrum, Goertzel symbol constellation, Hamming syndrome correction, and AWGN + multipath classroom reverberation channels simulation.
  • Multilingual Offline Broadcast Cards: Includes compact STEM lesson cards, emergency weather warnings, and quiz packets in English, Spanish, and Hindi.

How we built it

AirCast is written in pure, dependency-free ES2022 JavaScript (js/modem-dsp.js, js/spectrogram.js, js/app.js) with the Web Audio API (AudioContext, OscillatorNode, AnalyserNode) and HTML5 Canvas. We tested the DSP algorithm with an automatic test and benchmark suite (test.js; 19/19 passing tests).

Challenges we ran into

Reflections from the classroom walls and desks led to multipath fading in frequency selective channels. We orthogonally separated the MFSK tone bins in integer multiples of the symbol rate, adding the Hamming(7,4) nibble FEC to systematically correct single-tone fades before doing a CRC.

Accomplishments that we're proud of

On our simulated classroom AWGN channel and reverberation we reached 100% frame delivery rate at 12 dB SNR. The entire project remains under 80 KB and does not depend on any external runtime dependencies.

What we learned

Matched-filter chirp preambles with Goertzel resonator banks outperform full FFT frame synchronization on low-power devices while using a fraction of the CPU budget.

What's next for AirCast

Next step - add Reed-Solomon outer block coding for multi-packet file transfer and adaptive tone suppression over the noise floor from room HVAC.

Built With

Share this project:

Updates

Submission history