Made adjustments to the main function of the room sensors code, allowing for accurate data transmission in the format needed for the system to store the value. and tested the sensors in different rooms, about 20ft apart, to ensure accurate data transmission.
Below is a table of values recorded during the test. One thing to note is that the initialization of the sensors sends a zero for the ambient light sensor before measuring begins.
20Ft apart: Initialization signal.
11:45:32.812 -> TSL2591 Sensor Initialized
11:50:33.458 -> TSL Light: 53.37 lx
11:50:33.458 -> Bluetooth data available
11:50:33.538 -> Received raw data: Power On
11:50:33.538 -> Received BH Light: 0.00 lx
During this weeks long distance testing, and last weeks short range testing, the system seems to loose track of time at the same rate. Both types of testing occurred for 3hr intervals, and by the end of the 3hr mark, the clock was delayed by 11 seconds. This issue was resolved with the addition of an RCT module to the main system.
After the test, the battery took just over 2hrs to charge back up to full.
Comments