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.

looking for a pic-based signal generator

Status
Not open for further replies.

ate_w_worms

Newbie level 1
Joined
Sep 6, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
hi all
i m so virgin in digital electronic ,
i m looking for a pic based , sine wave generator ( about 10hz to 1khz ) w a pulse function ( about .1 sec to 2 sec ) and a volume control ... can any body help ?
thnx
 

Hi, i think the best way to do this is to make a lookup table with stored digital values of a single cycle of a sine wave and raster on this value with ur required frequency, also offcourse u need DAC to get ur analog signal.
good luck.
 

i used pic877 lcd buttons for menus and two cd 4059 as 32bit jam waveform gen
and a waveform restore passive circuit {res cap} pwm ports drive the clock
two 4059s in cascade output of firs tis the clock of the next

32 bits data using 2x 2 8 bit addressable selectors as an 8 bit port expander 4 bit selectable

good luck

here is a cool link for dds like this #
https://www.hit.bme.hu/~papay/sci/DDS/products.htm

Added after 14 minutes:

i see

its audio ranges you need

then use just the inbuilt functions for pwm
most pics have pwm output

its easy to use and most compilers have examples of how to impliment it

use a piezo sounder on just a free i/o
to make a software pwm its just a mater to switch on and off the i/o
at the right time

so a routine to turn on and off the ports pin is needed
thats all


my advice if your a real nubie is splash out and buy or build into one of the free or comerical kits that are avalible for learning

most compiler makers offer such development kits

also check out the magazines for competitions and free stuff

dont forget most companies inc microchip
will supply free samples to any business address

so buy a compiler and its development kit and study just it
 

ate_w_worms said:
hi all
i m so virgin in digital electronic ,
i m looking for a pic based , sine wave generator ( about 10hz to 1khz ) w a pulse function ( about .1 sec to 2 sec ) and a volume control ... can any body help ?
thnx
H he eh ehhee !
you should using the PIC16F877A, key board, DAC (DAC0808) , OpAm (LM324), LED 7 segments, . . . . . for your project.
https://www.min.at/OE1RIB/DDS/SineDDS.htm
Good luck for U !
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top