Skip to main content
Ocebe.1
Associate II
January 10, 2021
Question

Hello,I use microphone and When I talk I get the data from microphone to eeprom.I want to playback to speaker from eeprom .I think,I have to produce analog signal.But I shouldn't use DAC .How can I produce Analog signal without DAC in stm32 ?

  • January 10, 2021
  • 4 replies
  • 1053 views

..

This topic has been closed for replies.

4 replies

MM..1
Chief III
January 10, 2021

PWM

Ocebe.1
Ocebe.1Author
Associate II
January 10, 2021

How can I change PWM'S amplitude?

Ocebe.1
Ocebe.1Author
Associate II
January 10, 2021

In the PWM ,I can change duty cycle and frequency but I think ,I have to change amplitude

MM..1
Chief III
January 10, 2021

Pulse-width modulation - Wikipedia

Or simply use high pwm freq and add to pin properly calculated RC and you get analog wave. For speaker drive you need add an amplifier next.