Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

rectangular wave generator for 8051

Status
Not open for further replies.

greatkiran007

Newbie level 1
Newbie level 1
Joined
Apr 4, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
using microcontroller ,plz provide me the program for a frequency of rectangular wave of about 2millihertzs, and the Ttotal= 432 sec, Ton =1 sec, Toff= 432sec
input voltage=5v, output=5v....

plz provide the code,,,,,,,,,,,,,,,,,,,,,
 

this probably not the forum for this question you should use the micro controllers forum....
search about using timers in 8051 and you will find enough material for your question...
have a look at the following link
1 second delay : 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes
you can generate a general delay say about 50 ms and then count for your required delay
in your case 50ms x 20 = 1 sec (on time) and 8640 times for 432 sec's (8640 x 50 ms = 432 sec's) off time....
change the output of any pin on these delay events and there you go you have the required rectangular wave....

Hope this helps...
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top