EmbDev.net

Forum: µC & Digital Electronics how can i set sleep mode for real time system?


Author: Shaik Piebe (shaik)
Posted on:

Rate this post
0 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.

Author: Na sowas (Guest)
Posted on:

Rate this post
0 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

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.