![]() |
| |||||||
| Music Electronics General discussion about music electronics |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #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
__________________ |
| | |
| ...and now, a word from our sponsor: |
| | #2 |
| Supporting Member 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. |
| | |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |