Relay With 1701
Hi to everybody
I need to realize with 1701 a relay audio, as in figure.
Pressing a button I have to effect the commutation and to maintain her for the whole time in which the button stays pressed, to the release of the button the state has to return as before.
Someone knows how to recommend me
Thanks
Audio Signal Processors
sigmastudio
SigmaDSP Audio Processors
gpio
evaluationboard
frequency
SigmaDSP
audio
adau1701
Show More
Does this solution work well, that seems of it?
hi Miguel, I have looked but I have not found anything.
If you know me to say where I find it the thing it is pleasant
Thanks
Miguel, perhaps I will be stupid but I don't understand as I can use Toggle OnOff to build my relays
Thanks Bob,
works very well however he uses a lot of instructions in more than mine.
It has of positive that doesn't attenuate the signal mine him.
I will see which of the 2 to use
Piero
Hi Piero:
I believe there is a Toggle switch built into SigmaStudio for the 1701.
Regards
Miguel
HI Piero,
Toggle OnOff switch is under GPIO conditioning. You will have to use 2 of them to switch between oscilators.
Miguel
Hi piero,
A multiplexer ("mux") can perform your desired function similar to a relay. Please see below:
The mux selects which source appears at its output, according to your control signal at its red pin. This control input must be an integer -- in SigmaDSP, an integer starts at Bit 0, the least significant bit. The easiest way to make an integer from a 5.23 variable is to use the Buffer Gate (as shown above) or Zero Comparator (which also performs a logic negation).
Bob
Thanks Bob,
The solutions are very interesting, you are genial.
Piero
Hi Piero,
The ABCD Comparator block is very handy. You can use it as a mux, and for some reason it uses way fewer instructions than a mux (even the non-slew mux):
If your goal is to select between two sine-wave frequencies, you can do even better with a VCO;
Best regards.
Bob
Please log in to reply.











