In this scenario, you take on the role of a full-stack developer tasked with automating thermostat functions of a meeting room to conserve energy. You will use the Core2 for AWS IoT EduKit reference hardware for the thermostat hardware and deploy an end-to-end solution combining the reference hardware kit as an HVAC controller with the power of the AWS cloud. We create a fictional HVAC system in which your Core2 for AWS IoT EduKit acts as a thermostat.
The thermostat should use a narrower range of temperatures when employees occupy the room to maximize their comfort. When the room is not occupied, a wider range of temperatures is permitted to save energy. The solution should recognize when employees are present in the room and engage the HVAC to deliver comfortable temperatures.
Instead of using camera equipment to detect when the room is occupied, this solution will minimize costs by using the kit microphone to sample the noise level. You will capture the ambient noise level from the microphone and the room temperature from the device’s sensors, then publish these values to AWS.
Your serverless solution in AWS will convert the noise level into a boolean (true or false) and use that to determine whether the room is occupied. You can use a simple noise level threshold to make that determination.
While the room is occupied and the measured temperature is out of comfort bounds, the solution will send a command to the device to start heating or cooling, as needed. When the temperature is then measured as within bounds, the solution will send a command to the device to resume standby mode.
Are you ready to start building? Let’s make sure you have the following prerequisites sorted:
If so, let’s begin by moving on to the next chapter, Data acquisition.