09/07/2019
Agenda:
- Writing the audio code and check latency
- Extracting signal strength
- Integrate the video/ live-streaming from camera to web interface
- Calibrate the step-down converter to 5V to power the servo motor
Tasks Accomplished:
- Extracted signal strength using code that assesses the command center of rpi
- Calibrated the step-down converter
Using several live audio streamer, we managed to stream the audio, but the audio streaming suffered from high latency which meant long delays before the audio actually got played the user’s end. This is a challenge we are still currently working on.
Besides tackling the audio issue, we also attempted to extract the signal strength received by the transceiver using a code that works by assessing the command center of rpi and operating system within the transceiver itself.
Using HTML code and some researching, we managed to live-stream the video using HTTP streaming protocol with <= 1 second lag time. One problem faced however was that we could only access the sub stream (with less than 1080p video resolution) when live-streaming using http. We did consider and experiment with RTSP which is another network control protocol but the latency was too high (around 8 seconds) so we had to change to HTTP. We managed to integrate this live-streaming of video in the same webpage with the motor controls but the video resolution is just one problem that we potentially can work on after we get the audio up and running too!
Armcrest webpage vs Our own webpage
Some other miscellaneous work that we did today was to calibrate the step-down converter such that the output is constant at 5V as we do not want to overload the voltage and damage the servo motor. 😇