Once we narrowed the problem down to building the digital encoding and decoding system, it did not take long to design. Most of the time (a few days) was spent on research. Once we found the algorithm detailed above, it only took a few hours to design the basic circuit.