electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Interfacing 8051 with RTC and DAC to get a user defined wave


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Interfacing 8051 with RTC and DAC to get a user defined wave
Author Message
microkar



Joined: 26 Jan 2008
Posts: 1


Post26 Jan 2008 14:27   

interfacing dac to 8051


Hi everyone I am Karthik, looking out for a project which involves Interfacing 8051 with RTC and DAC to get a user defined random waveform.
I had a lab expt in 7th sem where 8051 was interfaced to get a sine wave.
But now I want to display a random user defined wave where signal may be a mixture of sine, square, ramp or any other shape and also it should have a definite user defined time interval in the program.

Can anyone tell me how to go about it?
Back to top
Google
AdSense
Google Adsense




Post26 Jan 2008 14:27   

Ads




Back to top
laktronics



Joined: 06 Jan 2007
Posts: 945
Helped: 156


Post27 Jan 2008 7:19   

dac interfacing with 8051


Hi,
You can probably use a parallel EEPROM into which the user defined function may be stored. Use a chain of counters to generate the EEPROM address. Connect the data out of the EEPROM to a DAC to generate an analog output.
The micro should have control to reset the counter, serial incrementing of the counter and to write data to EEPROM data bus, which is also connected to the DAC data input.
Inorder to load the user defined function table into the EEPROM, the micro will first reset the counter, place the data on to EEPROM data bus and issue a wr pulse to EEPROM and wait in a wr delay loop. Next, increment the counter and write the next data sample.
While running the function, after loading the table values into EEPROM, reset the counter, put the EEPROM in RD mode, incremet the counter at regular intervals from reset. If you want to make the function a repetitive time function, make a facility to switch the counter clock input to an adjutable clock generator.
Regards,
Laktronics
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Interfacing 8051 with RTC and DAC to get a user defined wave
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
RTC INTERFACING WITH 8051 (3)
DS1302 RTC interfacing with 8051 (6)
Looking for a all rounder 8051 variant with ADC/DAC/RTC etc. (2)
how will RTC (DS1307) Interfacing with 8051 source code in c (4)
interfacing 8051 to pc with user interface (10)
interfacing 8051 with RF modules (TX and RX) (2)
interfacing rtc with 89s8252 (1)
interfacing Attiny2313 with RTC 1307 (1)
RTC-DS1307 with 8051 (5)
Interfacing 8051 with external EEPROM And SRAM (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS