This entire project is divided in to 2 parts, the first part demonstrates the software implementation of the digital clock on Atmega16 and the second part demonstrates the hardware implementation of digital clock on WSN-EK development kit (ATMEGA324PA). In this project we have implemented a digital clock with the help of 16 bit timer. Thus this project illustrates the basic use of timer and its interrupts. The timer will interrupt Microcontroller after every 1s and perform the given ISR (Interrupt Service Routine).
Serial Port Communication and Real Time Plot
Most modern instruments such as oscilloscopes, spectrum analyzers, function generators, and even some power supplies support communication with a computer through a parallel port or a serial port. This communication provides an easy and accurate way to control an experiment and collect and process data. Here we will be more focused on serial communication. In serial communication Signal can have two states 0 or 1. The signal state is determined based on voltage levels on the signal line. +5v to +15v implies state 0(low) and –5v to –15v implies signal state of 1(High). This entire project is divided in to 2 parts, the first part demonstrates the software implementation of the serial communication between MATLAB and the PC and the second part demonstrates the hardware implementation of serial communication between the MATLAB and WSN-AK development kit (ATMEGA324PA).