Why use radio waves for cross-device communication when you can use sound instead? Using sound gives us an insight to how devices wirelessly communicate with each other.
We implemented real-time data transmission between multiple devices on a network through a router node, all communicating through sound. We can send 16x16 images or text, encoded using hexadecimal and split into packets. Each transmission begins with a handshake and the sender sending the target identifier to the router. The router then receives the transmission packets and acknowledges to the sender that the data is received. The router then forwards the data to the destination node.
Router and End nodes implemented using Python, with tkinter for the UI and the sounddevice library for processing and transmitting audio.
We learned about how devices communicate, methods to mitigate and correct packet loss or corruption and used audio.
The main challenge was ensuring transmissions were reliable.