Home > other >  Stm32 zha do
Stm32 zha do

Time:09-18

CodePudding user response:

1, circuit design, meet the impedance, voltage conversion, driving ability request, note that the DAC output current is only a few microamps of STM32
2, sine wave transformation, the ADC - & gt; Computing - & gt; DAC, the calculation formula of Vin + Vout (Vin * * Vout)/(Vmax * Vmax)=1, at the same time record the frequency and amplitude,
3, square wave turn triangle wave, use the timer to measure frequency, first with ADC value is measured, and then calculate Vout=kT;
4, if the frequency and amplitude is relatively stable, we can calculate the wave type data, using DMA output, speed faster,
5, the proposal chooses STM32F407, speed faster, low price,

CodePudding user response:

reference 1st floor hhhh63 response:
1, the circuit design, meet the impedance, voltage conversion, driving ability request, note that the DAC output current is only a few microamps of STM32
2, sine wave transformation, the ADC - & gt; Computing - & gt; DAC, the calculation formula of Vin + Vout (Vin * * Vout)/(Vmax * Vmax)=1, at the same time record the frequency and amplitude,
3, square wave turn triangle wave, use the timer to measure frequency, first with ADC value is measured, and then calculate Vout=kT;
4, if the frequency and amplitude is relatively stable, we can calculate the wave type data, using DMA output, speed faster,
5, it is suggested that chooses STM32F407, fast, low prices,

Thanks brother for advice
  • Related