Music Electronics Forum

Go Back   Music Electronics Forum > Music Electronics

Music Electronics General discussion about music electronics

Reply

 

LinkBack Thread Tools Display Modes
Old 07-04-2009, 11:07 AM   #1
Junior Member
 
Join Date: Jul 2009
Posts: 1
Capacitor help (sawtooth signal)

Hi guys, I am using a PIC Micro to generate a signal of 11hz per second (i.e. it pulses 0 and 1 eleven times per second), which will generate a squarewave signal.
I want to modify the signal to output a 'sawtooth' signal. How do I calculate the capacitor value to use?

Is there a formula to use where I input Voltage, frequency etc.

Thanks
__________________
danielclark is offline   Reply With Quote
...and now, a word from our sponsor:
Old 07-04-2009, 11:28 AM   #2
Supporting Member
 
Steve Conner's Avatar
 
Join Date: May 2006
Location: Glasgow, Scotland
Posts: 2,413
If you want to convert a square wave to a sawtooth, you need more than just a capacitor, you need an integrator with a reset switch.

Go and look at the schematics for a Roland JX-3P or whatever, these have square wave oscillators that are converted to sawtooth by an analog circuit.

If a somewhat misshapen sawtooth is acceptable, you can use a RC network with a diode across the resistor to sharpen the falling edge of what would otherwise be a misshapen triangle wave, and adjust the duty cycle of your PIC output to suit. The time constant R*C should be about 5-10 times longer than the period of your wave.
__________________
"Transformerless is the way to go", said he, without a hint of irony.
Steve Conner is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Next to no signal in my old phase 90 lee crosson Guitar Effects 1 01-24-2009 04:29 AM
too much preamp signal?? EETStudent Theory & Design 3 06-26-2008 05:14 AM
Signal Leaking GainFreak Theory & Design 5 03-05-2008 03:49 PM
Signal Path wardevans Music Electronics 1 03-01-2007 05:14 AM
signal on b+??? 12afael Maintenance, Troubleshooting & Repair 6 08-03-2006 05:44 PM


All times are GMT +1. The time now is 03:49 AM.


Powered by vBulletin   Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO