how can i set sleep mode for real time system?

OP #1733310
Rate this post
• ▲ useful
▼ not useful
hallo all,

My project is on AT89C51CC03 for automation of doors of Car.
I am using Windows XP 2002 SP3 n doing programming in C language.

As analysis of my project, in future i make the program for 
automatically doors of car closed when i lock the doors.

I have also one another possibility to close door automatically when any 
one pass near to car, in this situation when i press key then the 
program start to functioning n then after some time automatically 
program go to sleep mode.

bcoz if program not go in sleep mode then car battery is empty.

Is there any possibility to set sleep mode in real time system..??
if yes then how can i make set that..??

For sleep mode in real time system i have to change Operating system..or 
this possible in my current OS..??

please give me ur advice.

thank u in advance.
Guest #1733350
Rate this post
• ▲ useful
▼ not useful
> For sleep mode in real time system i have to change Operating system..or
> this possible in my current OS..??
It seems like you mix up things terribly... :-o

On the PC you're just writing code thats (after being compiled) running 
on the uC AT89C51CC03 when you have downloaded it.
The uC itself for sure isn't running on a Windows-OS. And so you just 
must send the uC to sleep, and wake it up several times a second to see 
if theres something to do with the doors.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.