I want to select between 3 types of waveforms: a square wave, a triangular wave and a sine wave. Then the selection must be the output.
Can I use a PIC to do so, as when I tried it, I noticed a change in frequency but the output was always a square wave type.
I want to use it as a sort of electronic switch. Or it is a better idea to just use an analogue switch, like a multiplexor???
Thanks in advanvce
Electronic Switch
- goldwingers
- Posts: 118
- Joined: Wed Sep 06, 2006 1:22 pm
- Location: London
- Been thanked: 1 time
- Contact:
Re: Electronic Switch
You will always get a square wave out of a digital chip, there are chips out there that will produce the waves your asking about.
Regards
Ian
Regards
Ian
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Electronic Switch
Hello
You could always use a PWM output with a capacitor between the PWM output and ground. This will act as a digital to analogue converter of sorts and allow you to output analogue signals.
You could always use a PWM output with a capacitor between the PWM output and ground. This will act as a digital to analogue converter of sorts and allow you to output analogue signals.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel