At 08:37 PM 8/21/01 +0200, you wrote: >A friend of mine asked if I couldent help him convert a 0-50 Hz squarewave signal >to 0-400 Hz. The application is to adapt his RPM display 0-400 hz to 0-50 Hz. >The solution doesnt haveto be 100% exact. > >I am not sure howto do this. The only idea I have so far is to use a PIC and measure >the 0-50 Hz signal then multiply the result by 8 and output the result somehow as >a squarewave signal... > - Could the timebase of the RPM display be modified by 8:1 ? - Is the range of speeds and rate of change relatively narrow and slow respectively (use a PLL with an 8:1 divider in the feedback, eg. 4046, 4040). - create some pulses on each edge of the income waveform (4 on each, say). I think this could be done with a couple of CMOS gate packages (quad XOR and ST inverter) and 4 resistors + 4 capacitors. Best regards, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com Contributions invited->The AVR-gcc FAQ is at: http://www.bluecollarlinux.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics