Ameba Arduino: [RTL8722CSM] [RTL8722DM] [RTL8722DM MINI] Audio Codec – Output Sine Wave

Materials

  • AmebaD [RTL8722DM / RTL8722CSM / RTL8722DM MINI] x 1
  • 3.5mm TRS/TRRS breakout x 1 (e.g., Adafruit 2791 / Sparkfun 11570)

Example

Procedure

RTL8722DM / RTL8722CSM Wiring Diagram:

Connect the 3.5mm connector to the RTL8722 board following the diagram.

1

RTL8722DM MINI Wiring Diagram:

As RTL8722DM MINI have a built in microphone on the board, there is no need for any external microphone.

Open the example, “Files” -> “Examples” -> “AmebaAudioCodec” -> “OutputSineWave”.

1

Upload the code and press the reset button on Ameba once the upload is finished.
Connect a pair of wired headphones to the 3.5mm audio jack and you should hear the generate single sinusoidal tone.

Please confirm that QQ communication software is installed