You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 line
1.1KB

  1. <h3>Summary</h3>
  2. <p>Transmit 12 bit audio using Teensy 3.1's built-in digital to analog converter.</p>
  3. <h3>Audio Connections</h3>
  4. <table class=doc align=center cellpadding=3>
  5. <tr class=top><th>Port</th><th>Purpose</th></tr>
  6. <tr class=odd><td align=center>In 0</td><td>Audio Channel</td></tr>
  7. </table>
  8. <h3>Functions</h3>
  9. <p>This object has no functions to call from the Arduino sketch. It
  10. simply streams data from the ADC to its output port.</p>
  11. <h3>Hardware</h3>
  12. <p align=center><img src="img/dacpin.jpg"></p>
  13. <p>Signal range is 0 to 1.2V</p>
  14. <p>Most applications require at least a 10&micro;F DC-blocking capacitor.</p>
  15. <p>TODO: photo of Teensy 3.1 with 10&micro;F capacitor and 3.5mm jack.</p>
  16. <h3>Examples</h3>
  17. <p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; PassThroughMono
  18. </p>
  19. <p class=exam>File &gt; Examples &gt; Audio &gt; SamplePlayer
  20. </p>
  21. <h3>Notes</h3>
  22. <p>The output rate is 44.1 kHz (no oversampling). Ultrasonic noise present if
  23. not filtered. This may not
  24. be an issue for many uses, but care should be used if amplified and driven
  25. to high power tweeters.</p>