Sign in

username:

password:



Not a member?

Search hc11



Search tips

Subscribe to hc11



Ads

Discussion Groups

Discussion Groups | M68HC11 | Waveform Generator

Technical discussions about Freescale Microcontrollers: M68HC11. (Freescale Semiconductor is a Subsidiary of Motorola).

Waveform Generator - nokk2005 - Nov 4 15:57:00 2004


Hiya i've just started this project, and i was wondering if someone
could help me or give me some advice and point me in the right
direction.
This is what i've got to do.
Using C programming write a progra capable of calculating a series
of sample points that can be used to generate an arbitrarily
specified waveform using one of two specified methods.
Then ported to a 68HC11.

The program should be simple menu drive structured program that
allows the user to choose between two methods of defining a time-
domain waveform. The program should calculate a table of values that
can be written to a data file, then the data file should be used to
generate the waveform in real time using the parallel port and a A/D
converter. The user should be able to specify every aspect of the
waveform - amplitude, frequency, harmonic content, pulse amplitudes
and durations.

y(t) = a






(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )


Re: Waveform Generator - Author Unknown - Nov 4 16:45:00 2004

The program should calculate a table of values that
can be written to a data file, then the data file should be used to
generate the waveform in real time using the parallel port and a A/D
converter.
=================================
That would be nice, but if I bought a waveform generator I'd want it to have
a D/A converter.
So you need to build it? You need a D/A of course. How many bits? 8? 12? 14?
16? Got a spec for the resolution? How about the frequency response? Its got
to spit out samples at tens of thousands of samples per second to do even
music... so you wont be able to generate any freqs above audio (maybe with a dsp
or much faster cpu)
[Non-text portions of this message have been removed]




(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )

Re: Waveform Generator - Darrell N. - Nov 8 17:58:00 2004

If you look in a recent issue of Circuit Cellar (#170 September
2004, Multilab pp.46) there is a project that does exactly what
you are trying to do. Although it uses a Z8 processor, you
should be able to glean the methods from the article and the
posted code on the CircuitCellar.com website. >
> Hiya i've just started this project, and i was wondering if
> someone could help me or give me some advice and point me in the
> right direction. This is what i've got to do. Using C programming
> write a progra capable of calculating a series of sample points
> that can be used to generate an arbitrarily specified waveform
> using one of two specified methods. Then ported to a 68HC11.
>
> The program should be simple menu drive structured program that
> allows the user to choose between two methods of defining a time-
> domain waveform. The program should calculate a table of values
> that can be written to a data file, then the data file should be
> used to generate the waveform in real time using the parallel
> port and a A/D converter. The user should be able to specify
> every aspect of the waveform - amplitude, frequency, harmonic
> content, pulse amplitudes and durations.
>
> y(t) = a > ------------------------ Yahoo! Groups Sponsor
> --------------------~--> $9.95 domain names from Yahoo!. Register
> anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dN_tlB/TM
> -----------------------------------------------------------------
> ---~- > Yahoo! Groups Links
Regards,
Darrell Norquay

Datalog Technology Inc. Calgary, Alberta, Canada
Voice: (403) 243-2220 Fax: (403) 243-2872
Email:
Web: www.datalogtechnology.com




(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )