A User needs your help for building a dataloger and to solve the problem that is measuring temperature.You choose to use sensor LM35 which is connected to a certain pin of your micro-controller.
Because your micro-controller doesnot have enough memory to store the temperature,you choose to send the temperature readings to a computer using the RS232 port.This means that you will use the UART controller of your microcontroller to send data to the computer.
Also to inform the user that the datalogger is working,you have choosen to add an LED named live LED that would blink continously when the datalogger is on.
Q1)
Design the electronic circuit of that datalogger using proteus,so that it can be simulted using EASYPICv7 board.
Q2)
Design a software using CCS-RTOS to animate your circuit.Your software should have 3 tasks.
A) task_live runs every 200ms and flashes a LED connected to a part choosen by you,of the microcontroller to indicate that the system is working
B)task_get_temperature:REad analogue channel of A\D converter choosen by you.Where the temperature to be measured is present in form of a voltage.The read value is formatted and shared in a variable.This task runs every 2 seconds
;
C) task_3:to_RS232:Read the formatted voltage and send it over the 232 line to a pc every second.
Because your micro-controller doesnot have enough memory to store the temperature,you choose to send the temperature readings to a computer using the RS232 port.This means that you will use the UART controller of your microcontroller to send data to the computer.
Also to inform the user that the datalogger is working,you have choosen to add an LED named live LED that would blink continously when the datalogger is on.
Q1)
Design the electronic circuit of that datalogger using proteus,so that it can be simulted using EASYPICv7 board.
Q2)
Design a software using CCS-RTOS to animate your circuit.Your software should have 3 tasks.
A) task_live runs every 200ms and flashes a LED connected to a part choosen by you,of the microcontroller to indicate that the system is working
B)task_get_temperature:REad analogue channel of A\D converter choosen by you.Where the temperature to be measured is present in form of a voltage.The read value is formatted and shared in a variable.This task runs every 2 seconds
;
C) task_3:to_RS232:Read the formatted voltage and send it over the 232 line to a pc every second.