After some delay, the boost converter and other components arrived allowing testing to continue. The boost converter was adjusted to output a steady 5V from the 3.7V battery. The batteries capacity is 1500mAh which will keep the room sensor on for just over a day. Assuming the systems current consumption to be 52mA/hr if the system is left running for 24hrs, the remaining capacity should be just under 252mAh.
The battery may need to be changed for one with a higher capacity, for instance, increasing the battery size to 2000mAh should theoretically add an additional 12hrs of run time before the system needs to be charged. However, an even larger capacity (3000mAh - 3700mAh) may need to be considered. Other functions like low power or sleep modes will be implemented into the program and a power switch will be connected to the room sensor module to lower overall power consumption, as well as the system will not be running for for a full 24hrs.
During testing, one of the MCU boards was damaged while moving things around, so testing continued using a larger spare which will be swapped out at a later time. For this round of testing, the MCU's were connected to computers and powered via usb cables. The test was to ensure accurate data transmission between the two systems. the lux values being measured were being sent correctly. A pushbutton was installed to record and send specific values when pressed along with the current measured value. The recorded values would only be sent for a few iterations and then be wiped to 0, but the current/live value remained correct. The system would also only recognize certain button presses over others, but this is mainly for testing purposes and won't hold up the main project.
コメント