I
I
ingfa2019-09-22 19:06:20
Python
ingfa, 2019-09-22 19:06:20

What is the cheapest and correct way to generate a signal?

Hello
For me, the task is to generate a signal shown on the graph
https://umath.ru/calc/graph/?&point=0;-5&func=tanh...
and bring it out using a DAC or some device. Tell me the cheapest and most correct way to display signals outside in the world. Any variants of arduino external DACs on adapters are accepted, in general, anything, even the participation of a computer in the generation. Signal frequency 300-400kHz.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sencis, 2019-10-18
@Userpc0101

Arbitrary signals are usually generated using a timer, in your case a sawtooth signal with a cutoff i.e. you will need to pick up the capacitance, and if not a large current, cut it off with a zener diode or a transistor, this is without a DAC. Regarding the DAC, if it is possible to generate an arbitrary voltage, then you need to differentiate your function in time (what period you choose on your timer) and you will get an approximated sawtooth function, you can smooth it with a small capacitance of several nanofarads.

A
Andrey Dugin, 2019-09-22
@adugin

Multimedia Services and PyAudio ? Well, in general, Playing and Recording Sound in Python .

Y
Yuri, 2019-09-24
@SkyAngel

The usual PWM generator (for example, a penny NE555) + RC chain. If there are many signal consumers, then an op-amp can be added to amplify the signal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question