I am currently completing an engineering design project in which we are creating an optical communications exhibit for a science museum. Unfortunately the processing portion of this project has had much less development on it than we all hoped and we are now faced with either designing our processing around what has already been built, or starting from scratch. The original teammate working on the processing subsystem has left the class and the documentation we have is minimal.
The basis around our project is to record two unique 5 sec long signals from a microphone and store on an Arduino DUE (not sure if this possible or the best option). We then want the user to choose to send both signals at the same time on two different colored LED's. These LED's will be coupled into acrylic light pipes as demonstration of how optical fiber functions. The user will have the option of placing a filter to block one of the signals of their choice. At the back end one signal will be read and pushed through a DAC into a set of laptop speakers.
The original "design" was to bit bang the code out and send it out on a digital I/O pin. We have now realized that is definitely not the way that OOK should be done and that we should instead be using PWM. We are all beginners using Arduino's and essentially wanted to know if this seemed like an attainable goal. I have seen other posts on this forum dealing with LED OOK for signal communication, but felt that this was a unique project since we plan to send two signals at the same time and expect to filter one out. We also expect their to be some variable loss through the optical link so we are not sure whether we could retrieve the signal on a digital pin.
I apologize if this topic has already been dealt with, or if this is the wrong forum to post this on. That said, we are grateful for any advice.