8051 BASED FUCTION GENERATOR

Status
Not open for further replies.

bhatt_tanmay

Advanced Member level 4
Joined
Sep 18, 2006
Messages
101
Helped
12
Reputation
22
Reaction score
3
Trophy points
1,298
Activity points
2,259
hey friends ,i make making 8051 BASED FUCTION GENERATOR. if anyone has idea regarding software/programming then pl tell.
i want to generate 10khz,100 khz, 1 khz, etc.
i am using a increment and a decremnt push button for getting the frequencies between 10 to 100 khzand also for 1 to 10khz
 

homework?
you caught me on a good day ;-)
Use a timer, use the timer reload or overflow to create an interrupt. Use the interrupt to switch a portpin, better even if there is hardware support like a compare timer.
8051 based is highly inaccurate, there are at least hundreds probably more than 1000 variants on the market and the capabilities to create timing patterns are extremely different between the devices.

Bob
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…