Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / TTS library vs Ethernet on: December 18, 2012, 04:30:01 pm
Hey,
I'm working on a project to read out tweets with my arduino ethernet. Only problem is that as soon as i add the following code, it just keeps on connecting and disconnecting continuously with the server.

Code:
text2speech.say("Hello  master! How are you doin?");

If I just use the TTS library in another sketch it doesn't act weird, it's only when i use it combined with my webClient.
Does anybody know why this it just keeps on disconnecting immediately?

This is the library i used  http://cl.ly/3X1M2T1j0o1Y ( i know there are errors in the library and it just buzzes but it's just temporarily because i don't know how to fix it)


Thanx for the help!  smiley-red
2  Using Arduino / Programming Questions / Re: Text To Speech Library on: December 11, 2012, 10:21:24 am
Well I tested it a few weeks ago on an ArduinoUno on pin10 without an RC-filter, there was a lot of noise but you could understand the speech if you listened well... So maybe there's still something wrong with the code?
3  Using Arduino / Programming Questions / Re: Text To Speech Library on: December 10, 2012, 01:31:45 pm
The point is to be able to command a Furby by using tweets, so if you just tweet a string it will read it out, but if you use a # or something else you can make the Furby move it's eyes / ears and mouth...
It's going to be far from perfect, since i've never used an arduino or programmed in C++ in my life...  smiley-red but i'm planning on making it better once all my exams are done, just for the fun it
4  Using Arduino / Programming Questions / Text To Speech Library on: December 10, 2012, 08:25:13 am
Hey! I'm new to arduino and I'm trying to read out tweets... Except for the TTS library that was mentioned in a previous post (http://arduino.cc/forum/index.php/topic,49654.msg354746.html#msg354746), i can't seem to find any... The only problem with this library is that is was programmed to work on pin10, wich i don't have on my Arduino Ethernet.

Has anybody else tried to change the library so it works with a another PWN pin (3,5,6 or 9)? Or does anybody else know what i should change so it works?
I've tried modifying it, but i can't seem to get anything comprehensive out of it.


This is what I have now... http://cl.ly/3X1M2T1j0o1Y

I don't mind using another Text To Speech library for Arduino but I just can't find any.
5  Topics / Robotics / Re: Controlling a Furby DC motor on: December 10, 2012, 08:04:52 am
Thanx for the help, johnwasser!
Apparently position feedback is provided by the part that i've selected here http://cl.ly/image/0z0m1E2P2Q2t
I should be able to get the data from the yellow and green wires on the side of the Furby!
6  Topics / Robotics / Controlling a Furby DC motor on: December 09, 2012, 06:14:32 am
Hi, i'm new to arduino and i'm trying to control the DC motor of a Furby, so i can send it commands to sleep / act surprised. I've read that the motor controls the eyes, the mouth and the ears all at once so moving every part individually is not going to work. Right now all i can do is make everything move in a constant loop. I can make it stop too but then it starts off from where it stopped beforeā€¦.

http://f.cl.ly/items/2e3G0P0H140x2N3a200X/IMG_0126.MOV

I did this by using the following code:
Code:
int motorPin = 9;

void setup() {
  pinMode(motorPin, OUTPUT);
  Serial.print("setup");
  Serial.begin(9600);
}

void loop() {
    for(int i= 0; i < 255; i++) {
        analogWrite(motorPin, i);
        Serial.print(i);
        delay(5);
    }
}

At first i thought that the value written to the pin with analogWrite() controlled the movement, so that when i would change it from 100 to 130 it would correspond to a movement that for example looks like the Furby is going to sleep(instead of changing the speed).

Is there a way to say at what moment in the loop of movements it should start or stop?

Thanx for helping!
Pages: [1]