| Author |
Message |
mohamed saleh
Joined: 26 Aug 2006 Posts: 64
|
31 Aug 2006 17:21 time8051.exe |
|
|
|
|
I want a delay calculator for 8051
i enter the clock value and the dalay wanted
and it generates the code for this delay
is there any program can do that
thanks
|
|
| Back to top |
|
 |
CMOS
Joined: 06 Jan 2004 Posts: 810 Helped: 39 Location: USA
|
31 Aug 2006 18:40 Re: I want a delay calculator for 8051 |
|
|
|
|
Download Time8051.exe from http://www.ustr.net/files/download.shtml
This does exactly what you want.
|
|
| Back to top |
|
 |
smxx
Joined: 18 Aug 2005 Posts: 188 Helped: 8 Location: iran(ahwaz)
|
02 Sep 2006 10:10 I want a delay calculator for 8051 |
|
|
|
|
hi
you can use external interrupt facility of 8051.
|
|
| Back to top |
|
 |
CMOS
Joined: 06 Jan 2004 Posts: 810 Helped: 39 Location: USA
|
02 Sep 2006 18:56 Re: I want a delay calculator for 8051 |
|
|
|
|
| smxx wrote: |
hi
you can use external interrupt facility of 8051. |
He is asking for delay calculating software and not any techniques
|
|
| Back to top |
|
 |
antedeluvian
Joined: 23 Apr 2005 Posts: 77 Helped: 15
|
02 Sep 2006 22:24 Re: I want a delay calculator for 8051 |
|
|
|
|
You can use Microsoft Excel to build a model for yourself. In my book "Excel by Example : A Microsoft Excel Cookbook for Electronics Engineers " (published by Newnes/Elsevier ISBN 0750677562 ) you will find both the description and a working example of how to create a user interface the allows you to set up all of the 8051 registers. You can even use it to generate the assembler code to set up the registers.
-Aubrey Kagan
|
|
| Back to top |
|
 |
Google AdSense

|
02 Sep 2006 22:24 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
KamalS
Joined: 14 Feb 2006 Posts: 47 Helped: 5
|
03 Sep 2006 2:41 Re: I want a delay calculator for 8051 |
|
|
|
|
Basically, use loop or loop within loop to setup fixed delay.
But you need to know the number of Machine cycles to do that. For that, read the datasheet.
Read the book by Gaonkar for more details and working exmaples.
|
|
| Back to top |
|
 |