arduino-audio-tools/examples/examples-stream/streams-generator-pwm
2023-08-31 19:36:18 +02:00
..
README.md UNO: Timer Prepare for GPT 2023-06-30 10:48:11 +02:00
streams-generator-pwm.ino NANO33BLE USE_INITIALIZER_LIST 2023-08-31 19:36:18 +02:00

PWM Output Test

This is a simple basic test for the PWM output.

We just send a generated sine wave to some defined pins and expect to hear some audio signal.

Output Device: Piezo Electric Element

To test the output I am using a piezo electric element

DAC

You can also use some simple earphones

DAC

It should also be possible to connect a headphone to the output pins...

The pins depend on the Processor:

PIEZO ESP32 RPI Pico MBED UNO R4
+ GPIO4/GPIO5 GPIO2/GPIO3 GPIO2/GPIO3 GPIO2/GPIO4
- GND GND GND GND