hello i am using an esp32 but i need a sine wave generator which can generate 50khz at 3v any idea which dac should i use to get 50khz sine wave please help me
The built-in DACs?
What resolution do you need? A 4bit dac will give you 16 discrete values. An 10bit dac gives you 1024 discrete values.
At 50Khz, you probably have to create a sine table in an array during setup() because the sin() function will be too slow at runtime.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.