Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Arduino Text-to-Speech Library

NotificationsYou must be signed in to change notification settings

jscrane/TTS

Repository files navigation

View this project onCADLAB.io.

TTS

Text-to-Speech Library for Arduino

  • checkout this project into yoursketchbook/libraries folder
  • requires an amplifier on the PWM output pin (see below)
  • seeblog articles

Supported Hardware

  • ATmega328-based Arduinos (e.g., Uno, Pro, Pro Mini, etc.): pins 3, 9, 10
  • ArduTouch: pin 9
  • ATmega1280-based Arduinos (e.g., Mega): pins 44, 45, 46
  • Arduino Leonardo: pin 5
  • Arduino Due: pins DAC0 or DAC1
  • Teensy 3.2: pin A14
  • Teensy 3.5, 3.6: pins A21, A22
  • Teensy LC: pin A12
  • ESP8266: pins 0 to 16 (with analogWrite())
  • ESP32: DAC1 or DAC2 (pins 25 or 26)

Amplifier

alt tag

Component choices in this circuit aren't very critical:

  • 22k (vs 27k) and 47n (vs 10n) parts in the input low-pass filter
  • 100n (vs 10u) bypass capacitor between pin 7 and gnd
  • Used the inverting input instead of the non-inverting one (although inthis circuit I noticed no difference)
  • 47n (vs 100n) output snubber capacitor

Credits

  • original implementation by Clive Webster inWebbotlib
  • ported to Arduino byGabriel Petrut
  • Stephen Crane modified it to use pins other than pin 10 with the help ofthis tutorial
  • manitou48 added support for Leonardoand ARM processors with DAC (Teensy, Due)

See Also


[8]ページ先頭

©2009-2025 Movatter.jp