The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: firstname.lastname@example.org (Al Borowski)
Subject: Re: Can anyone help me to build addtional features to the two switches to control a toy?
Date: 30 Nov 2002 20:17:48 -0800
References: <email@example.com> <3DE8DCDD.8F75CC13@my.dacha>
NNTP-Posting-Date: 1 Dec 2002 04:17:49 GMT
Alex wrote in message news:<3DE8DCDD.8F75CC13@my.dacha>...
> Ti wrote:
> > Hello,
> > I need to design a Module for a Y-cable so that two switches must be
> > pressed to activate one toy (to teach cooperative play with 2
> > students) with jacks on all ends so that a variety of switches and
> > adapted toys can be used.
> > With help, in general this is what I have to do in order to activate
> > a toy by pressing two swiches.
> > for each one toy:
> > battery + and -, call them Batt+ and batt-
> > toy+ and toy-
> > switch1 contacts, sw1a and sw1b
> > switch2 contacts, sw2a and sw2b.
> > Now, connect batt- to toy-.
> > Connect batt+ to sw1a.
> > Connect sw1b to sw2a
> > connect sw2b to toy+
> > Thats it! Only when both switches are on will the toy get power.
> > In addition, more features are required to add to the design, JUST
> > RIGHT AFTER THE FIRST SWITCH IS PRESSED:
> > I need to build an indicator such as light or LED to signal that the
> > first switch is already pressed.
> > And the same time when indicator led turns on, a recorded voice plays
> > (such as music or command voice, it said "the first switch is already
> > pressed, press the second switch now, counting down 3, 2, 1). In
> > this case if the person press the second switch during the recorded
> > voice plays, the recorded voice has to be terminated right away.
> > Do I have to use an addtional power source to power an indicator and
> > the recorded command voice? How do I connect it? What kind of chips
> > should I use? Can anyone help me with information so I can build this
> > particular design?
> > Thanks alot.
> As an alternative to Al B's EPROM option, which requires an EPROM
> programmer (a device rapidly going out of common use), you could simply
> use a small micro with an A/D and a serial flash. At 8000 samples a
> second a 256kbit flash chip gives you 4 seconds of speech, a 1Mbit
> serial flash gives you 16 seconds. 2 input wires for the switches, a
> microphone through an LM358 or LM386 for input. Output through a PWM
> signla to an LM386. OR alternatively - get one of the early ISD
> sssspeech recorder chips, on a pre-built board, these are easily found.
> Wire the trigger for the board to the 'first switch pressed' detector,
> wire the reset to the 'second switch pressed' detector
> This project would be easiest to implement on a small micro. It could be
> done in logic if you can't find any friendly engineers or hobbyists
> nearby with a spare PIC.
Ah, but then you need a PIC programmer and knowledge of how to use it
OK, here's some more information: You need a data file containing your
speech. It should be 8 bits, at a low sampling rate (low as you can
tolerate). Some form of wave file?
Program this into your eprom.
Make some form of square wave osclittor. This can be done with a
single op amp (search the net for details). You also need some 8 bit
Hook the oscilattor up so it starts when switch 1 is closed. Put the
output into the counters. Put the counters into the address lines of
the EPROM. Buy a DAC chip, and hook it up to the data lines of the
Take this post and find someone in your area who knows about
electronics. This isn't a trivial thing for a beginner, so you'll need
help. God knows that I can't give you the level of help you will need
over usenet. Sorry I couln't help more, but there really is alot you
need to learn (no offence!)
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup