Discussion in "New Ideas regarding projects" started by    Ûž TPS Ûž    Sep 21, 2007.
Fri Sep 21 2007, 09:38 pm
#1
hi friends what about Microcontroller based Function Generator project using some AT89c2051 or higher an DAC 0808 ,and LM741 for c/v conversion to generate Sine, square, triangle, and sawtooth waveforms , and it also have some capability like
(1) To display the status on LCD whats going on at output (like what waveform at what freq)
(2) Also it can produce variable frequency by pressing up and down button then start

Fri Sep 21 2007, 09:39 pm
#2
all we need is a DAC..
wow.. nice one TPS
Fri Sep 21 2007, 09:44 pm
#3
i have done this before with PC Parallel Port with same circuit as playing .wav file through LPT terminal
Fri Sep 21 2007, 09:50 pm
#4
oww.. i have DAC0808 with me..

I think all you need is values that are to be sent to the dac.
We need to think about the features that can be possibly added to this project. because generating waves is not a big deal...
Fri Sep 21 2007, 10:12 pm
#5
how to generate sine wave ? i have used loop in Turbo c program (LPT version)
Fri Sep 21 2007, 10:43 pm
#6
what kind of loop?
you need to send some values to your parallel port that suppose to give you a shape of sine wave.. I think whatever you did in Turbo C same is going to be done here..

are you sure that 741 is fine for generation of sine wave? I heard that response is not so when when it comes to pure sine wave! I have a link where they have used R-2R network to generate a pure sine wave.. all the waves they generated looks so cute..
i will give you the link when i find it..
Fri Sep 21 2007, 10:53 pm
#7
741 is to convert output od DAC (Current form) into voltage form . also we can add Amplitude controller. in LPT version i need to convert Degree into radios then putting its value in sign formula then getting its 8 bit value then LPT then DAC then 741 ...then CRO
Fri Sep 21 2007, 10:58 pm
#8
check out this website.. they have given information on generating sine wave also.. they have given possible reasons why its not recommended to use LM741.
http://www.avr-asm-tutorial.net/avr_en/AVR_DAC.html
Fri Sep 21 2007, 11:05 pm
#9
nice one :-) r -2r is to replace DAC but i think it would be more smart if our Function generator have some capability like
(1) To display the status on LCD whats going on at output (like what waveform at what freq)
(2) Also it can produce variable frequency by pressing up and down button then start

As i Said before :-)
Fri Sep 21 2007, 11:11 pm
#10
oww.. yes.. we can do like making a variable amplitude o/p using transistor switching of inverting i/p on opamp. i think that will vary the amplitude.. if we use it in differential mode... am i right?

How can we know the frequency? we need to feedback the o/p to our controller's i/p to make it read the frequency. Also is it possible to somehow make use of comparator of AT89C2051?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am