Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 16th December 2005, 12:34 AM   (permalink)
Default Struggling with signal generator and counter!

I would like to produce a home made signal generator, with a built in counter. I have looked over the net, and even though I have a fairly firm grasp of electronic design, I am struggling with this!

I originally thought I could make it with discrete components, but after a few minutes, I decided that maybe a PIC based generator/counter would be easier. I have only a very limited knowledge of PICs, but I am trying to teach myself as I go along. I have the ability to program Microchip PICs.

The following are the specs of my design:

Sine-wave and square wave outputs;
Vout max: 20v (p-p) (variable down to <1v);
Frequency range: <10Hz - 1MHz (variable with clearly defined divisions);
Variable duty cycle;
Single shot step input button;
7-segment display output for the current frequency.

With discrete components, I'm pretty certain this is quite a task, but I'm hoping the use of a PIC greatly reduces the complexity. I'm not expecting someone to give me source code for this, but could anyone give me some useful advice. I can think of the general principle, but I'm not sure how to apply it.
Any help would be appreciated.
canadianpoet2012 is offline  
Old 16th December 2005, 01:01 AM   (permalink)
Default

The Australian magazine "Silicon Chip" described one in January 2001.

I'll dig it out after lunch and advise.
__________________
Len
ljcox is offline  
Old 16th December 2005, 01:59 AM   (permalink)
Default

It is not suitable as it has a maximum output frequency of 2 kHz.

It is simply a DAC driven by the parallel port of a computer.

Even the scope trace for the 1 kHz sinewave is a bit bumpy.

Have you considered a Wein Bridge oscillator?

You could use a PIC to measure the frequency and output it onto a 7 seg display.

I'll look further for suitable circuits later.
__________________
Len
ljcox is offline  
Old 16th December 2005, 04:06 AM   (permalink)
Default

A Google search for "pic dds" will yield lots of good hits, and you won't need a counter. The signal is created by direct digital synthesis (dds), and all you need is a readout.
__________________
Ron

Roff is offline  
Old 16th December 2005, 06:55 AM   (permalink)
Default

I found the one I was looking for. It is in Silicon Chip May 2003.

1 Hz to 10 MHz. It employs a 16F628 and a AD9835.
__________________
Len
ljcox is offline  
Old 16th December 2005, 03:36 PM   (permalink)
Default

I don't think this kit fits your requirements but I suspect it may interest other forum members as it takes much of the hard work out of designing and sourcing parts for the DDS portion of a project...

Here's a 1.0 to 60.0 MHz DDS sub-system kit from AMQRP for $28(USD) using an AD9851 DDS chip (sample, of course)... Control it using an MCU of your choice or from a PC parallel port using public domain software...

http://www.amqrp.org/kits/dds60/

Happy Holidays... Regards, Mike


Mike, K8LH is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 08:30 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker