|
2 | 2 |
|
3 | 3 | ## Text-to-Speech for Arduino
|
4 | 4 |
|
5 |
| -- requires an amplifier on the PWM output pin, e.g., [this one](http://www.tinyurl.com/magicmouth/) |
6 |
| -- original implementation by Clive Webster in [Webbotlib](http://webbot.org.uk/iPoint/30.page) |
7 |
| -- ported to Arduino by [Gabriel Petrut](http://www.tehnorama.ro/minieric-modulul-de-control-si-sinteza-vocala/) |
8 |
| -- Stephen Crane modified it to use pins other than pin 10 with the help of [this tutorial](https://sites.google.com/site/qeewiki/books/avr-guide/pwm-on-the-atmega328) |
| 5 | +- requires an amplifier on the PWM output pin (see below) |
9 | 6 | - see [blog articles](http://programmablehardware.blogspot.ie/search/label/tts)
|
10 |
| -- note that it works with [ArduTouch](https://github.com/maltman23/ArduTouch) by setting output on pin 9. |
| 7 | + |
| 8 | +## Supported Hardware |
| 9 | + |
| 10 | +- ATmega328-based Arduinos (e.g., Uno, Pro, Pro Mini, etc.): pins 3, 9, 10 |
| 11 | +- [ArduTouch](https://github.com/maltman23/ArduTouch): pin 9 |
| 12 | +- ATmega1280-based Arduinos (e.g., Mega): pins 44, 45, 46 |
| 13 | +- Arduino Leonardo: pin 5 |
| 14 | +- Arduino Due: pins DAC0 or DAC1 |
| 15 | +- Teensy 3.2: pin A14 |
| 16 | +- Teensy 3.5, 3.6: pins A21, A22 |
| 17 | +- Teensy LC: pin A12 |
| 18 | + |
| 19 | +## Amplifier |
11 | 20 |
|
12 | 21 | 
|
13 | 22 |
|
14 |
| -## Text-to-Speech for ARM with DAC |
| 23 | +## Credits |
| 24 | +- original implementation by Clive Webster in [Webbotlib](http://webbot.org.uk/iPoint/30.page) |
| 25 | +- ported to Arduino by [Gabriel Petrut](http://www.tehnorama.ro/minieric-modulul-de-control-si-sinteza-vocala/) |
| 26 | +- Stephen Crane modified it to use pins other than pin 10 with the help of [this tutorial](https://sites.google.com/site/qeewiki/books/avr-guide/pwm-on-the-atmega328) |
| 27 | +- [manitou48](https://github.com/manitou48) added support for Leonardo |
| 28 | +and ARM processors with DAC (Teensy, Due) |
15 | 29 |
|
16 |
| -- add support for ARM processors with DAC |
17 |
| -- PWM filter not required with DAC, but still need audio amp and speaker. DACs can source only about 1 ma |
18 |
| -- tested on Teensy 3.1, 3.5, 3.6, LC, and DUE |
| 30 | +## See Also |
19 | 31 | - Teensy [forum](https://forum.pjrc.com/threads/44587-TTS-(Text-to-Speech)-Library-Port)
|
20 | 32 | - separate port/hack for MBED ARM with DAC [repository](https://developer.mbed.org/users/manitou/code/tts/)
|
21 |
| -- also added AVR support for Leonardo pin 5 (timer 3) |
| 33 | +- Hackaday article on [LM386 amplifiers](https://hackaday.com/2016/12/07/you-can-have-my-lm386s-when-you-pry-them-from-my-cold-dead-hands/) |
0 commit comments