|HOME| |DIY FAQ| |GEO FAQ| |Debugging Page| |Links| |Schematics| |Wiki| |Layouts Gallery| |STORE|
|AMPAGE| |GEOFEX| |AMZ|

Welcome, Guest. Please login or register.
Did you miss your activation email?
July 30, 2014, 07:07:59 AM
961370 Posts in 102764 Topics by 32430 Members
Latest Member: Akin
Home Help Login Register
DIYstompboxes.com  |  DIY Stompboxes  |  Digital & DSP  |  Tap Tempo LFO with PIC 16F684 0 Members and 2 Guests are viewing this topic. « previous next »
Pages: 1 ... 3 4 5 6 7 [8] Go Down Print
Author Topic: Tap Tempo LFO with PIC 16F684  (Read 62098 times)
Bunyaman
Posts: 11


Re: Tap Tempo LFO with PIC 16F684
« Reply #140 on: February 07, 2012, 11:28:48 PM »

Thanks Mike! This is what I need:)
Logged
Bunyaman
Posts: 11


Re: Tap Tempo LFO with PIC 16F684
« Reply #141 on: May 22, 2012, 04:33:52 PM »

Men, does anyone tried to use this LFO with others effects(not tremolo)? I would like to use this in MXR phase 90. Is it possible? I don`t understand how to connect LFO to JFET pins(Gate, Source)
Logged
ElectricDruid
Posts: 134


Tom W.


WWW
Re: Tap Tempo LFO with PIC 16F684
« Reply #142 on: July 02, 2012, 03:13:08 AM »

Men, does anyone tried to use this LFO with others effects(not tremolo)? I would like to use this in MXR phase 90. Is it possible? I don`t understand how to connect LFO to JFET pins(Gate, Source)

You need to use a PWM filter like in the datasheet to turn the LFO's output (a PWM pulse train) back into an analog LFO signal. At the bare minimum, this can be a passive RC filter. There's a design for this minimal filter in the LoopEnv datasheet on my website:

http://www.electricdruid.net/datasheets/LOOPENV1Datasheet.pdf

Once you've filtered the PWM signal, it's the same as any other LFO. From the minimal filter, you'll get a signal from 0V to 5V.

The nice thing about the Tap Tremolo circuit is that the vactrol's LDR response is so slow that no further filtering is required. This simplifies the circuit, which is part of what makes it appealing to do.

HTH,
Tom


Logged
Hoffmann
Posts: 15


Re: Tap Tempo LFO with PIC 16F684
« Reply #143 on: December 25, 2012, 10:22:38 AM »

Hi!
I want to make a DIY pwm phaser (something similar to ASMOP phaser). Does someone have 39kHz (9-bit) asm (or hex) version of Electrodruids taplfo?
Logged
Yonatan
Posts: 22


Re: Tap Tempo LFO with PIC 16F684
« Reply #144 on: February 24, 2013, 04:39:40 AM »

This project looks way cool.  Can anyone tell me if buying a pre-programmed TAPLFO chip is equivalent to taking the HEX code from the Synth DIY site and flashing it to a bare PIC?  I'm NOT trying to save money, as I'm sure that buying a pre-programmed chip is cheaper than buying a PIC programmer Smiley,  it just looks like a really interesting learning project.
Logged
slacker
Posts: 5417

Ian M. - England


Re: Tap Tempo LFO with PIC 16F684
« Reply #145 on: February 24, 2013, 09:49:30 AM »

Yes, buying the TAPLFO chip gives you the same thing as downloading the code and flashing your own.
Logged
midwayfair
Posts: 1592


Jon P


WWW
Re: Tap Tempo LFO with PIC 16F684
« Reply #146 on: March 12, 2013, 06:52:35 AM »

Do the voltage dividers for the pin controls simply provide a ratio, or is their value important? For instance, could I use a 100K or the depth and have it function similarly?

I'm considering using dual concentric pots to simplify the control panel in something, but I have ONE control in the pedal I'm making that isn't 10K. Most inconvenient!
Logged

My band, Midway Fair: www.midwayfair.org. Myself's music and things I make: www.jonpattonmusic.com. DIY pedal demos: www.youtube.com/jonspatton. PCBs of my Bearhug Compressor and Cardinal Harmonic Tremolo are available from http://www.1776Effects.com!
ElectricDruid
Posts: 134


Tom W.


WWW
Re: Tap Tempo LFO with PIC 16F684
« Reply #147 on: March 12, 2013, 01:10:35 PM »

Do the voltage dividers for the pin controls simply provide a ratio, or is their value important? For instance, could I use a 100K or the depth and have it function similarly?

I'm considering using dual concentric pots to simplify the control panel in something, but I have ONE control in the pedal I'm making that isn't 10K. Most inconvenient!

They simply provide a ratio. I've used 100K pots, 47K pots, and 10K pots without incident. Since the voltage is being fed to a ADC and charges a small cap in the ADC, you're not supposed to use high impedance outputs (the cap will take too long to charge, affecting the measured voltage) - so perhaps 1M pots wouldn't be a great idea.

T.
Logged
Mbas974
Posts: 28


Re: Tap Tempo LFO with PIC 16F684
« Reply #148 on: December 26, 2013, 03:52:52 PM »

ElectricDruid, this project is amazing !!

Is there a way to buy this chip in Europe (otherwise I'll go with smallbear) ?

Also, one thing I like to have implemented on a tremolo pedal, using this concept, is the make PWM duty cycle variable with a Pot
http://arduino.cc/en/Tutorial/PWM

Thanks for your replay.



Logged
Brian_L
Posts: 5

Brian L


Re: Tap Tempo LFO with PIC 16F684
« Reply #149 on: April 14, 2014, 02:50:13 PM »

got it to finally work correctly using the following code! after a week of testing everything  Cheesy

IncrementPhaseClock:


   btfsc   PHASE_HI, 7         ;Checking to see if the wave is onto the second half
   goto   skipper            ;if it is not then skip the increment section
   btfsc   OLD_COUNT, 0      ;if it is then check to see if there was a change from first to second half
   incf   PHASE3_COUNT, f      ;if there is a change increment the counter
   
   skipper:

   btfsc   PHASE_HI, 7         ;check the wave if it is the second half
   bsf      OLD_COUNT, 0      ;if it is set OLD_COUNT bit zero high
   btfss   PHASE_HI, 7         ;check the wave if it is the first half
   bcf      OLD_COUNT, 0      ;if it is set OLD_COUNT   bit zero low
   
   movfw   PHASE3_COUNT      
   subwf   MULTIPLIER, w      ;check if the cycle counter has reached the multiplier value
   btfsc   ZEROBIT            ;it has
   bsf      CLOCK_OUT         ;so turn on the clock
   btfsc   ZEROBIT            
   clrf   PHASE3_COUNT      ;also clear the counter to start over at this point
   
   btfss   PHASE_HI, 7         ;the wave is back to the first half so clear the clock
   bcf      CLOCK_OUT         ;this will make less than 50% duty cycle clock pulses, but it is the leading edge that counts (literally!)
   
   movfw   PHASE3_COUNT      
   addlw   D'127'            ;this section checks to see if the cycle counter has become larger than the multiplier
   movwf   BRAIN            ;this case will happen if the multiplier cv is rapidly changed
   movfw   MULTIPLIER         ;if it is larger then the counter needs to be reset
   subwf   BRAIN, f         ;if the counter isnt reset the counter will count to 255 until it resets itself
   btfsc   BRAIN, 7         ;which for out purposes (instant multiplier response) is not good
   clrf   PHASE3_COUNT


I think the multiplier change, reset section can be made better, but it all works! yay. now to make the triangle and sine waves start low b/c my clock invert function isn't going to work with a non 50% duty cycle clock. Thanks for all the help guys!

I hate to bump such an old thread, but this is exactly what I'm trying to do. I need the clock out to be pre multiplier, so I can sync 2 chips and set the multiplier independently. I tried using this code but I then don't get anything out of the clock pin at all. Any suggestions of what else I may need to change or add to get this code to work?
Thanks.
Logged
Pages: 1 ... 3 4 5 6 7 [8] Go Up Print 
« previous next »
Jump to: