Author Topic: Circuit design help  (Read 2002 times)

0 Members and 1 Guest are viewing this topic.

Offline Kosh

  • A year behind what's funny
  • 210
Circuit design help
I am currently in the design phase of building a circuit. Here is what it does. A keypad is connected to a circuit. The circuit is then connected to a speaker. If you push a number on the keypad, it makes its own sound. All of the numbers have their own sounds.


I heard that there was a kind of IC chip that I could use to do this. Of course it is possible that I need to use multiple ICs, this is acceptable. I do not know which ICs to use though, any ideas? Also keep in mind that these ICs need to be relatively common, since I don't have enough time to get one specially made.
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key

 

Offline Grug

  • 211
  • From the ashes...
Re: Circuit design help
- No freaking clue -

 

Offline Turnsky

  • FOXFIRE Artisté
  • 211
  • huh?.. Who?.. hey you kids, git off me lawn!
Re: Circuit design help
I am currently in the design phase of building a circuit. Here is what it does. A keypad is connected to a circuit. The circuit is then connected to a speaker. If you push a number on the keypad, it makes its own sound. All of the numbers have their own sounds.


I heard that there was a kind of IC chip that I could use to do this. Of course it is possible that I need to use multiple ICs, this is acceptable. I do not know which ICs to use though, any ideas? Also keep in mind that these ICs need to be relatively common, since I don't have enough time to get one specially made.

Flash Eproms i think are used in this case, Programmable IC chips, i've seen 'em around, and used them, that was years ago, however, and largely forgotten.
   //Warning\\
---------------------------------------------------------------------------------
do not torment the sleep deprived artist, he may be vicious when cornered,
in case of emergency, administer caffeine to the artist,
he will become docile after that,
and less likely to stab you in the eye with a mechanical pencil
-----------------------------------------------------------------------------------

 

Offline Colonol Dekker

  • HLP is my mistress
  • Moderator
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Circuit design help
Buy a cheapo keyboard, The office toy variety, palmsize and play around with it... see how it works :D
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Flipside

  • əp!sd!l£
  • 212
Re: Circuit design help
If you were in the UK, I'd point you to Maplins....

www.maplin.co.uk

Theres just about anything the budding electronics guy could want in there ;)

You might be able to at least get the component number from there :)

 

Offline Axem

  • 211
Re: Circuit design help
You could do it with a 555 timer and quite a few capacitors, or find an old phone and rip its DTMF stuff out

A quick search of DTMF Transmitter on Google turns up this: MT88L89. Its way more than you need, but it does have inputs for a keypad and output for your sounds. The only cavet with this guy is his odd voltage supply.

 

Offline Kosh

  • A year behind what's funny
  • 210
Re: Circuit design help
I am trying to keep the circuit complexity down a bit, but also I need to be able to get this stuff off the shelf of an electronics store.


@ Flip: Maplins would be useful if I knew exactly what I needed (and if I lived in the UK), but I don't know what I will need nor do I live in the UK. Thanks anyway.
« Last Edit: June 06, 2006, 09:31:26 am by Kosh »
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key

 

Offline Axem

  • 211
Re: Circuit design help
Well it sounds like you just need a DTMF transceiver, but I don't know if you can just pick it off the shelf. If you do find one on some electronics manufacturer's site, try to see if they give away free samples. I know a few companies do that, but shipping is usually pretty limited.

 

Offline Kosh

  • A year behind what's funny
  • 210
Re: Circuit design help
Ok, so how do I use it? I've never heard of such a device......
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key

 

Offline Axem

  • 211
Re: Circuit design help
Now that I think about it, it does get complicated. You'd need to get a crystal, turn the keypad's output into a 3 line input, and possibly amplify the transmitter's output.

Going back to my first idea, a 555 oscillator organ, this gives an idea on how to make one with different tones. All off the shelf stuff too.
http://www.design-technology.info/KS3/Y8/page9.htm

 

Offline Col. Fishguts

  • voodoo doll
  • 211
Since I'm lazy, I would just use some cheap microcontroller. Hook your keypad buttons up to the inputs and connect an output to an amplifier. Then implement the functionality via programming the controller.
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea

 

Offline Kosh

  • A year behind what's funny
  • 210
So now I would need to totally re-learn assembly language too.........
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I'd go the 555 route, you can get them at any local radioshack.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
transistors are your frirend

i remember when i was a kid i had one of those breadboards and some general components, it was a kit of sorts by which to learn the basics of electronics. there was this plan for a variable pitch buzzer which used a variable resistor to adjust the pitch. now it was simple, it used a transistor and a couple caps and the usual assortment of resistors. it was actually a very simple circuit. now you could use instead of a variable resistor, split the wires amongst all the keyswitches, and put different resistors at the other ind of each and re merge the wires. that way each time you hit a button, a different pathway is used with its own unique resistance.
« Last Edit: June 06, 2006, 08:58:51 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
It can be done with a hacked-up 4-bit DAC (resistors, plus transistors between keys and DAC inputs) and a comparator-based oscillator. I forget the details of the circuit, but the capacitor at the input of the comparator should have its ground connected to the DAC output. That'll adjust the oscillator period according to the DAC output.
'And anyway, I agree - no sig images means more post, less pictures. It's annoying to sit through 40 different sigs telling about how cool, deadly, or assassin like a person is.' --Unknown Target

"You know what they say about the simplest solution."
"Bill Gates avoids it at every possible opportunity?"
-- Nuke and Colonol Drekker

 

Offline Kosh

  • A year behind what's funny
  • 210
Since I'm lazy, I would just use some cheap microcontroller. Hook your keypad buttons up to the inputs and connect an output to an amplifier. Then implement the functionality via programming the controller.

I was thinking about doing this and it depends on if I can borrow the device to burn in the program. But I do have a question, how can the microcontroller output different sounds? I thought it could only output 1 or 0 (on the other hand it HAS been something like 4 years since I have worked with them).......
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key

  

Offline Axem

  • 211
You could write a program that would cycle through 1 and 0 at the frequency you need, and hook the output pin to a speaker. And Viola, square wave generator.

 

Offline Colonol Dekker

  • HLP is my mistress
  • Moderator
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
How complex did you wanna go with this build originally?
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Col. Fishguts

  • voodoo doll
  • 211
I was thinking about doing this and it depends on if I can borrow the device to burn in the program. But I do have a question, how can the microcontroller output different sounds? I thought it could only output 1 or 0 (on the other hand it HAS been something like 4 years since I have worked with them).......

Well, yes, you can only output 0 and 1. So you could generate square waves, which you could smooth out by using some capacitors and resistors to form a lowpass.
On the other hand: In our last semester project, we used a MSP430 from Texas Instruments. Those controllers all have a digital part as well as an analogue part, with the appropriate A/D converters. While we didn't use the analogue part, I think you could use it to generate sine waves at your desired frequency. Btw, to program it, you only need the software kit (which has a 30 day free trial) and a cable to hook your boeard up to the serial port. Coding is done in simple C.

What are you doing, only a proof-of-concept prototype, or something for mass production ? Because the microcontroller approach surely is overkill regarding functionality and thus not fitting for mass production. But it's probably easier to implement.
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea

 

Offline Kosh

  • A year behind what's funny
  • 210
I'm just doing this because it has been far too long since I have done anything remotely like this. Like I said earlier, I haven't worked with micro-controllers in about 4 years or so. I also haven't touched anything related to circuitry in over a year. I want to do it to try and rebuild my severly rusted ECE skills.
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key