RTOS Project Report
RTOS Project Report
A Synopsis on
Year 2021-22
INDEX
2 Software used 2
3 Code 3
4 Output 5
5 Conclusion 6
INTRODUCTION
In the wash machine the system knows of different programs that are
available, once a program is selected then the real-time operating
system will start and tell the user how much time is left on the machine,
but the user can add a drying cycle onto the normal wash. The real-time
operating system will have to be able to switch between each task of the
wash, and that goes from water into the drum then the spin cycle and
then the drying cycle. Once all the tasks are done on the application of
the cycle it will release the door for the user to retrieve the cloths from
the machine.
TASKS :
1) Start :
In the start task our machine will start working for selected
program .here we receive message from the program to start selected
task
2) Stop
In the stop task our machine will stop either after completing
the task or after the interrupt will occur .
3) Program
For our project we have defined programs for execution i.e.,
Dry When we select dry option on machine in the program .it will dry
cloths and send message to start that dry is running
Wash - In wash program machine will wash , rinse , spin the cloths
without any time limit . means according to our compatibility we can stop
the machine .
Flow diagram:
Software used:
Output
CONCLUSION:
By using such software we build the real time based embedded
system ,so here we have successfully completed our project in keil
µVision µcos-II .which gives output for two task that is drying and
washing
CODE:
#include "config.h"
#include "stdlib.h"
#include <stdio.h>
OSStart();
return 0;
while(1)
{
ptr = OSMboxPend(MyMailBox, 0, &err);
b=*ptr;
if(b==10){UART0_SendData("Wash Runnig!\n");}
cmd=OSMboxPend(MyMailBox2, 0, &err);
d=*cmd;
if(d==20){UART0_SendData("DRY Running\n");}
}
}