Reference no: EM133360720
Assignment: In this project, you will demonstrate your mastery of the following competencies:
Write interface software to control hardware components
Analyze fundamental considerations regarding hardware architecture design and their impact on application performance
Recommend and justify emerging systems architectures and technologies based on business requirements
Scenario
The global smart thermostat market is forecast to reach almost $9 billion by 2026. The CEO of SysTec wants to get into this lucrative market and has tasked your engineering department with creating a smart thermostat using the TI board. SysTec develops analytics software for servers, but the CEO remembers from your interview that you took an embedded systems course and asks you to build a prototype. The final goal is to develop a thermostat that sends data to SysTec's server software over Wi-Fi, but first they need a prototype of the low-level thermostat functionality working.
For the prototype, you will use the TMP006 temperature sensor to read the room temperature (via I2C), an LED to indicate the output to the thermostat where LED on = heat on (via GPIO), two buttons to increase and decrease the set temperature (via GPIO interrupt), and the UART to simulate the data being sent to the server.
You will also create a written report for your team to ensure that the system you created is based on SysTec's business requirements and technical specifications. While your team is testing your code, you have been asked to architect the next phase of the project in your report: connecting the thermostat to the cloud. Although you prototyped on the TI development board, other manufacturers make integrated Wi-Fi solutions. In this next phase, you are going to analyze various hardware architectures (from TI, Microchip, and Freescale) and recommend and justify the architecture decision based on the following business requirements:
The thermostat must support the peripherals used in the project.
The thermostat must connect to the cloud via Wi-Fi.
The architecture chosen must have enough Flash and RAM to support the code.
In your report, you will be responsible for comparing and contrasting the three hardware architectures based on the above metrics.
Directions
Begin your work by accessing the Project Thermostat Lab Guide PDF document. While this document was written for a Windows interface, the tools can be used on Mac or Linux as well. To accomplish the work outlined in the guide, you will need the following:
TI CC3220x LAUNCHXL
TI Code Composer Studio (installed)
USB connection between the PC and board
Specifically, you must address the following rubric criteria:
Develop code for all of the specified functionality. Remember, the goals of this project include reading room temperature, indicating the result via LED output, increasing or decreasing the set temperature, and simulating the data being sent to a server.
code that initializes the timer and uses it to drive specified actions. This involves two steps, both the initializing of the timer and then its use in running an action.
code that uses interrupt to detect button presses. This involves two steps, both the detection of the button presses and then using the result to run an action.
code to initialize the I2C peripheral and use it to read the temperature sensor. This code must both initialize the I2C peripheral and then read the temperature sensor correctly.
code to initialize the GPIO peripheral and use it. Remember that the GPIO is involved in indicating the output of the temperature via LED and setting the temperature with two different buttons (one to increase and one to decrease temperature).
code to initialize the UART peripheral and output specified data. The UART should be used to simulate data being sent to the server. Be careful to ensure that the UART is initialized to the correct baud rate and serial configuration.
Implement (in code) the task scheduler functionality. This should match the specifications described by the Project Thermostat Lab Guide.
Provide the appropriate technical and operational documentation for the task scheduler that you created to satisfy step 7. This should address all the required functionality and be documented according to industry standards describing the algorithm used, its inputs and outputs, and expected results. To excel for this item, you may additionally provide an appropriate state-machine diagram in addition to the other documentation.
Apply coding best practices in formatting, commenting, and functional logic.
Explain how the thermostat supports the peripherals used in the project. Make sure that you have included all the required details from the scenario in your report. You should discuss each of the three outlined hardware architectures, including TI, Microchip, and Freescale.
Explain how the thermostat connects to the cloud via Wi-Fi. Discuss all three architectures in your work.
Discuss the architecture's Flash and RAM that supports the code. Include all three architectures in your discussion.