Week 5: June 10th - June 16th
- zcarlier
- Jun 15
- 2 min read
Individual Log - Zach
To prepare for our next group meeting, the week began with the goal to complete the import of thermostat BLE test code into the existing code and troubleshoot all functions to ensure they were working properly. Some modification was needed for the warning and display functions, where instead of relying on characteristics being read from the BLEeventhandler, they were moved into the loop. A number of conditional statements were written that allow the characteristic to be read when a value is updated and the value to be passed to its respective function (display or warning). For the display, this was simple as only the value needed to be passed after it was read. On the other hand, for warnings, a series of nested if statements allow for flags to be activated that control whether the display and buzzer experience an override and warning indication when a leak, overtemp, low battery, etc., are indicated. All of these were tested with the Lightblue app, and prepared for Wednesday.
Check back here for a video -- Youtube daily upload limits have caused an upload delay
As the week continued, I began refining and writing more notes on my research through the semester to prepare for the report. I've also began adding more commentary on the thermostat code so that every process can be easily read and understood.
To conclude the week, more revisions were made to the 3D model of the thermostat enclosure to prepare it for 3D printing. These revisions include some small increases in size to accommodate the prototype board, extrusions that allow heat set inserts to be added to the design which allow for components to mounted internally, and export of the current model to begin 3D printing and determination as to what further revisions may be needed.


Comments