Pages: [1]   Go Down
Author Topic: Project Coding/Circuit Writing Help  (Read 408 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We are designing 3 lightswitches to connect to a speaker so that each switch plays a different sound.  For example (Switch 1) will be a beeper noise, (Switch 2) will make the speaker say "YES", and (Switch 3) will make the speaker say "NO".  I am having trouble writing a code for this, and also figuring out how to hook everything up to the Arduino Uno (using certain pins).  My mentor stated it would be best to write up a circuit to figure out what pins will connect where, but I don't really understand the pins and which to use for PMW.  Please help with either writing a circuit or a code! Deadline is soon! Need help now!!
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 204
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have the switches, and how are you intending to make the sounds?
Logged

There are 10 types of people in the world, those that understand binary, and those that don't.

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24287
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Two duplicates deleted.
Do not cross-post.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I took the speaker out of a "Staples That was Easy" button and yes I have 3 lightswitches from home depot.
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 204
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How are you saying the words? Do you have a sound device, or does the Staples button make the sounds you need?
Logged

There are 10 types of people in the world, those that understand binary, and those that don't.

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found this site online and thought this would be our best bet in speech.
http://code.google.com/p/tinkerit/wiki/Cantarino

Otherwise I honestly don't know.
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 204
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From your link...

Quote
Cantarino is a software speech synthesiser for Arduino. It is still a work in progress

I'd start thinking of a plan B if this doesn't work.

Now, that all said, why don't you describe your assignment so we can understand what you're doing, rather than asking for us to:

Quote
  Please help with either writing a circuit or a code! Deadline is soon! Need help now!!

Also, you should become familiar with: http://arduino.cc/en/Tutorial/HomePage
Logged

There are 10 types of people in the world, those that understand binary, and those that don't.

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My assignment is to design a speech synthesizer for a child with cerebral palsy so that he is able to answer questions in class. there will be three light switches for him to press. one with a buzzer (which would be like a child raising his hand). one that will say yes and another for no to answer the question.
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 204
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That sounds like an excellent project.

Speech synthesis can be tricky.  Have you considered using green or red lights as indicators first?  Maybe yellow for " I don't know"
Logged

There are 10 types of people in the world, those that understand binary, and those that don't.

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you mean green or red lights to tell the teacher yes or no instead of actually speaking them aloud?
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 204
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, maybe try this first to get your switches and logic working before trying to get a voice synth to work.
Logged

There are 10 types of people in the world, those that understand binary, and those that don't.

Pages: [1]   Go Up
Jump to: