To develop a C program to simulate the embedded system contained in a digital clock weather station using Proteus simulation of the PIC16F877A microcontroller. You will be provided with a model of the Matrix Multimedia E-blocks system that resides in the physical laboratories on which to develop you code.
This assignment will test your abilities to apply the coding skills you have developed through the module in order to develop a novel solution a specific embedded systems application.
1. Learning Outcomes
Knowledge and understanding:
- Interpret manufacturers’ data sheets to explain and compare the internal architectures of microcontrollers and their associated interfacing design
- Develop software solutions to microcomputer- and microcontroller-based system design problems through the use of appropriate design methods and development
- Develop hardware solutions to microcomputer- or microcontroller-based system design
- Evaluate the performance of microcomputer and microcontroller-based system designs and compare alternative
2. Assessment Brief
Digital Clock and Weather Station
Alarms clocks are an essential item for modern living, helping to aid punctual arrival for all manner of essential activities such as work and attendance to lectures. The basic functionality of an alarm clock comprises the ability to display the current time and create an audible alert at a user-specified time. Many alarm clocks are augmented with further functionality such as the ability to pick up radio broadcasts, monitor the weather and even make tea.
Digital clock weather stations have a remote sensor unit that is placed outside in order to measure meteorological characteristics such as temperature and relative humidity. In this way the user is informed to weather outside prior to leaving the home. An example of a typical digital clock weather station is shown in figure 1.
Figure 1 Phillips AJ260 Digital clock and weather station
In this project you will be using the Proteus simulation platform to design an embedded system emulating the functionality of a simple digital clock with a weather monitoring function. Your solution must satisfy all the specifications stipulated in the following sections of this brief.
The diagram below summarises the inputs and outputs to the PIC16F877A which will be used to simulate the development of the digital alarm clock weather station.
Figure 2 Schematic of the system inputs and outputs
The system operates in two basic display modes. The display modes may be switched between at any time by pressing RD0.