Speech using GI SP0256-AL2
Archiver
Posts: 46,084
I recently got a 'What's a Microcontroller' kit for Christmas and I'm
going to try interfaceing the GI SP0256-AL2 allaphone speech processor
(which I bought a LONG time ago).
I was searching the Nuts and Volts archives and found Column #40
titled 'Talk is Cheap' which interfaces this speech processor with the
BASIC Stamp.
My question - the column uses a 74HC164 serial shift register to
reduce the number of data lines needed to connect the BASIC Stamp from
8 to 4. Since there aren't any local stores to that sell the 74HC164 -
I was wondering if the 74HCT259 (8-bit addressable latch available at
Radio Shack) would be a good substitute. While the 74HCT259 is not a
drop in replacement - it appears that it would work. Unlike a shift
register, the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this
sound workable? Has anyone used the 74HCT259 in their project as a
serial to parallel converter?
going to try interfaceing the GI SP0256-AL2 allaphone speech processor
(which I bought a LONG time ago).
I was searching the Nuts and Volts archives and found Column #40
titled 'Talk is Cheap' which interfaces this speech processor with the
BASIC Stamp.
My question - the column uses a 74HC164 serial shift register to
reduce the number of data lines needed to connect the BASIC Stamp from
8 to 4. Since there aren't any local stores to that sell the 74HC164 -
I was wondering if the 74HCT259 (8-bit addressable latch available at
Radio Shack) would be a good substitute. While the 74HCT259 is not a
drop in replacement - it appears that it would work. Unlike a shift
register, the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this
sound workable? Has anyone used the 74HCT259 in their project as a
serial to parallel converter?
Comments
eight IO pins and I wanted to keep some free for other things. Since
you've got a BS2, you can use IO pins directly from the Stamp without
needing a latch. The thing is that you'll need six Stamp pins to deal
with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead (A6 and
A7 should be grounded). And the code will be much simpler.
Writing on the fly...
OUTL = %010000000 | phoneme
PULSOUT ALD, 10
In this (pulling from the seat of my pants example...), P0-P5 connects
to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ input.
Have fun.
-- Jon Williams
-- Parallax
Original Message
From: fab4442003 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Vht_Knd-iOpkea1URGKG7OxOPhMEwlhElkJUcmn-hLVjaFLgUuVyH15ti7uI1XiHqYUC43lTsTXHBOw]fab4442003@y...[/url
Sent: Friday, January 02, 2004 12:02 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
I recently got a 'What's a Microcontroller' kit for Christmas and I'm
going to try interfaceing the GI SP0256-AL2 allaphone speech processor
(which I bought a LONG time ago).
I was searching the Nuts and Volts archives and found Column #40 titled
'Talk is Cheap' which interfaces this speech processor with the BASIC
Stamp.
My question - the column uses a 74HC164 serial shift register to reduce
the number of data lines needed to connect the BASIC Stamp from 8 to 4.
Since there aren't any local stores to that sell the 74HC164 - I was
wondering if the 74HCT259 (8-bit addressable latch available at Radio
Shack) would be a good substitute. While the 74HCT259 is not a drop in
replacement - it appears that it would work. Unlike a shift register,
the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this sound
workable? Has anyone used the 74HCT259 in their project as a serial to
parallel converter?
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/basicstamps/
To unsubscribe from this group, send an email to:
basicstamps-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
>I recently got a 'What's a Microcontroller' kit for Christmas and I'm
>going to try interfaceing the GI SP0256-AL2 allaphone speech processor
>(which I bought a LONG time ago).
>
>I was searching the Nuts and Volts archives and found Column #40
>titled 'Talk is Cheap' which interfaces this speech processor with the
>BASIC Stamp.
>
>My question - the column uses a 74HC164 serial shift register to
>reduce the number of data lines needed to connect the BASIC Stamp from
>8 to 4. Since there aren't any local stores to that sell the 74HC164 -
>I was wondering if the 74HCT259 (8-bit addressable latch available at
>Radio Shack) would be a good substitute. While the 74HCT259 is not a
>drop in replacement - it appears that it would work. Unlike a shift
>register, the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this
>sound workable? Has anyone used the 74HCT259 in their project as a
>serial to parallel converter?
Look near the bottom of the following web page, and you can request samples from
Fairchild Semiconductor:
http://www.fairchildsemi.com/pf/MM%2FMM74HC164.html
Many semiconductor manufacturers will gladly send samples, even to hobbiests.
Regards,
Bruce Bates
- it looks like a simpler circuit which is good for newbies like me.
If that works out OK, I'll add the 8-bit latch and the companion Text
to Allophone processor to the circuit. Do you think the 9-volt battery
attached to the BS2 Homework board will supply enough current at 5V
to drive the Text to Allophone processor, the Allaphone Speech
processor, 74HCT259 chip and a small audio amp based on a LM386? If
not, could you suggest a circuit (possibly from one of your Nuts and
Volts columns) to create another 5 Volt DC source from another 9V battery.
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...> wrote:
> I wrote that column (a long time ago...) using a BS1 which only has
> eight IO pins and I wanted to keep some free for other things. Since
> you've got a BS2, you can use IO pins directly from the Stamp without
> needing a latch. The thing is that you'll need six Stamp pins to deal
> with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead (A6 and
> A7 should be grounded). And the code will be much simpler.
>
> Writing on the fly...
>
> OUTL = %010000000 | phoneme
> PULSOUT ALD, 10
>
> In this (pulling from the seat of my pants example...), P0-P5 connects
> to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ input.
>
> Have fun.
>
> -- Jon Williams
> -- Parallax
>
>
>
Original Message
> From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> Sent: Friday, January 02, 2004 12:02 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
>
>
> I recently got a 'What's a Microcontroller' kit for Christmas and I'm
> going to try interfaceing the GI SP0256-AL2 allaphone speech processor
> (which I bought a LONG time ago).
>
> I was searching the Nuts and Volts archives and found Column #40 titled
> 'Talk is Cheap' which interfaces this speech processor with the BASIC
> Stamp.
>
> My question - the column uses a 74HC164 serial shift register to reduce
> the number of data lines needed to connect the BASIC Stamp from 8 to 4.
> Since there aren't any local stores to that sell the 74HC164 - I was
> wondering if the 74HCT259 (8-bit addressable latch available at Radio
> Shack) would be a good substitute. While the 74HCT259 is not a drop in
> replacement - it appears that it would work. Unlike a shift register,
> the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this sound
> workable? Has anyone used the 74HCT259 in their project as a serial to
> parallel converter?
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject
> and Body of the message will be ignored.
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/basicstamps/
>
> To unsubscribe from this group, send an email to:
> basicstamps-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p...
if that's available. www.parallax.com sells the
'HCT164, as does www.digikey.com.
The '259 would not work very well. It only
lets you select one of 8 outputs at a time.
--- In basicstamps@yahoogroups.com, "fab4442003" <fab4442003@y...>
wrote:
> I recently got a 'What's a Microcontroller' kit for Christmas and
I'm
> going to try interfaceing the GI SP0256-AL2 allaphone speech
processor
> (which I bought a LONG time ago).
>
> I was searching the Nuts and Volts archives and found Column #40
> titled 'Talk is Cheap' which interfaces this speech processor with
the
> BASIC Stamp.
>
> My question - the column uses a 74HC164 serial shift register to
> reduce the number of data lines needed to connect the BASIC Stamp
from
> 8 to 4. Since there aren't any local stores to that sell the
74HC164 -
> I was wondering if the 74HCT259 (8-bit addressable latch available
at
> Radio Shack) would be a good substitute. While the 74HCT259 is not a
> drop in replacement - it appears that it would work. Unlike a shift
> register, the 74HCT259 uses 3 bits to address bits 0 thru 7. Does
this
> sound workable? Has anyone used the 74HCT259 in their project as a
> serial to parallel converter?
all. Again, I wouldn't bother with the 74HCT259 because it's not saving
you any pins and only complicating your code.
-- Jon Williams
-- Parallax
Original Message
From: fab4442003 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=blJoCrHgjBxfhVFEo53Yd9ezYXiSHpGCJLQibYfvqcCQyLG-RZEAOkWNoPxUniDVJS9JrYTycoQnMg]fab4442003@y...[/url
Sent: Friday, January 02, 2004 4:42 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
OK, thanks for the info. I'll try the project first without the latch
- it looks like a simpler circuit which is good for newbies like me. If
that works out OK, I'll add the 8-bit latch and the companion Text to
Allophone processor to the circuit. Do you think the 9-volt battery
attached to the BS2 Homework board will supply enough current at 5V to
drive the Text to Allophone processor, the Allaphone Speech processor,
74HCT259 chip and a small audio amp based on a LM386? If not, could you
suggest a circuit (possibly from one of your Nuts and Volts columns) to
create another 5 Volt DC source from another 9V battery.
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> I wrote that column (a long time ago...) using a BS1 which only has
> eight IO pins and I wanted to keep some free for other things. Since
> you've got a BS2, you can use IO pins directly from the Stamp without
> needing a latch. The thing is that you'll need six Stamp pins to deal
> with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead (A6 and
> A7 should be grounded). And the code will be much simpler.
>
> Writing on the fly...
>
> OUTL = %010000000 | phoneme
> PULSOUT ALD, 10
>
> In this (pulling from the seat of my pants example...), P0-P5 connects
> to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ input.
>
> Have fun.
>
> -- Jon Williams
> -- Parallax
>
>
>
Original Message
> From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> Sent: Friday, January 02, 2004 12:02 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
>
>
> I recently got a 'What's a Microcontroller' kit for Christmas and I'm
> going to try interfaceing the GI SP0256-AL2 allaphone speech processor
> (which I bought a LONG time ago).
>
> I was searching the Nuts and Volts archives and found Column #40
> titled 'Talk is Cheap' which interfaces this speech processor with the
> BASIC Stamp.
>
> My question - the column uses a 74HC164 serial shift register to
> reduce the number of data lines needed to connect the BASIC Stamp from
> 8 to 4. Since there aren't any local stores to that sell the 74HC164 -
> I was wondering if the 74HCT259 (8-bit addressable latch available at
> Radio
> Shack) would be a good substitute. While the 74HCT259 is not a drop in
> replacement - it appears that it would work. Unlike a shift register,
> the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this sound
> workable? Has anyone used the 74HCT259 in their project as a serial to
> parallel converter?
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject
> and Body of the message will be ignored.
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/basicstamps/
>
> To unsubscribe from this group, send an email to:
> basicstamps-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p...
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/basicstamps/
To unsubscribe from this group, send an email to:
basicstamps-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
> OUTL = %010000000 | phoneme
I'm guessing this will output the phoneme on pins0-6. Also, it looks
like there's an extra 0 in there. Wouldn't the command to output the
phoneme be:
OUTL = %01000000 , phoneme
or maybe not. If not, what commands is used to output the data on
pins0-6? These commands are all pretty new to me - the last time I
programmed with BASIC all this stuff was handled with POKE and PEEK.
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> Your battery won't last very long if you run the LM386 very loudly
at
> all. Again, I wouldn't bother with the 74HCT259 because it's not
saving
> you any pins and only complicating your code.
>
> -- Jon Williams
> -- Parallax
>
>
Original Message
> From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> Sent: Friday, January 02, 2004 4:42 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
>
>
> OK, thanks for the info. I'll try the project first without the
latch
> - it looks like a simpler circuit which is good for newbies like
me. If
> that works out OK, I'll add the 8-bit latch and the companion Text
to
> Allophone processor to the circuit. Do you think the 9-volt battery
> attached to the BS2 Homework board will supply enough current at 5V
to
> drive the Text to Allophone processor, the Allaphone Speech
processor,
> 74HCT259 chip and a small audio amp based on a LM386? If not, could
you
> suggest a circuit (possibly from one of your Nuts and Volts
columns) to
> create another 5 Volt DC source from another 9V battery.
>
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > I wrote that column (a long time ago...) using a BS1 which only
has
> > eight IO pins and I wanted to keep some free for other things.
Since
> > you've got a BS2, you can use IO pins directly from the Stamp
without
> > needing a latch. The thing is that you'll need six Stamp pins to
deal
>
> > with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead
(A6 and
>
> > A7 should be grounded). And the code will be much simpler.
> >
> > Writing on the fly...
> >
> > OUTL = %010000000 | phoneme
> > PULSOUT ALD, 10
> >
> > In this (pulling from the seat of my pants example...), P0-P5
connects
>
> > to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ
input.
> >
> > Have fun.
> >
> > -- Jon Williams
> > -- Parallax
> >
> >
> >
Original Message
> > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > Sent: Friday, January 02, 2004 12:02 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
> >
> >
> > I recently got a 'What's a Microcontroller' kit for Christmas and
I'm
> > going to try interfaceing the GI SP0256-AL2 allaphone speech
processor
>
> > (which I bought a LONG time ago).
> >
> > I was searching the Nuts and Volts archives and found Column #40
> > titled 'Talk is Cheap' which interfaces this speech processor
with the
>
> > BASIC Stamp.
> >
> > My question - the column uses a 74HC164 serial shift register to
> > reduce the number of data lines needed to connect the BASIC Stamp
from
>
> > 8 to 4. Since there aren't any local stores to that sell the
74HC164 -
>
> > I was wondering if the 74HCT259 (8-bit addressable latch
available at
> > Radio
> > Shack) would be a good substitute. While the 74HCT259 is not a
drop in
> > replacement - it appears that it would work. Unlike a shift
register,
> > the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this sound
> > workable? Has anyone used the 74HCT259 in their project as a
serial to
> > parallel converter?
> >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the
Subject
> > and Body of the message will be ignored.
> >
> >
> > Yahoo! Groups Links
> >
> > To visit your group on the web, go to:
> > http://groups.yahoo.com/group/basicstamps/
> >
> > To unsubscribe from this group, send an email to:
> > basicstamps-unsubscribe@yahoogroups.com
> >
> > Your use of Yahoo! Groups is subject to:
> > http://docs.yahoo.com/info/terms/
> >
> >
> >
> >
> > This message has been scanned by WebShield. Please report SPAM to
> > abuse@p...
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
Subject
> and Body of the message will be ignored.
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/basicstamps/
>
> To unsubscribe from this group, send an email to:
> basicstamps-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p...
OUTL = %01000000 | phoneme
This puts the phoneme on pins 0 - 5 while keeping pin 6 high -- you will
strobe pin 6 low to load the phoneme into the device. Pin 7 is used to
monitor the LRQ line so you know when you can load the next phoneme.
OUTL is direct access to pins 0 - 7 as a byte. You must first set pins
0 - 6 to outputs with:
DIRL = %0111111
We make loads of free information available so there are plenty
resources to learn from -- and don't feel handcuffed by other dialects
of BASIC; microcontrollers are generally less complicated in terms of
architecture, so programming follows suit. You might want to download
our "What's A Microcontroller" text and skim it. Since you have some
programming experience, it will take you less than a day to get the hang
of PBASIC.
The other thing you can do is skim the online help file. It
demonstrates the syntax of all PBASIC instructions with example code.
-- Jon Williams
-- Parallax
Original Message
From: fab4442003 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=xzJtlr6n-xzj5gNU4rOLI6g-wvj38r6vo0daNhkcBdgLH2gJSK31nZ29-3vCk0HsdsDgnuSJkNeQnkjf]fab4442003@y...[/url
Sent: Sunday, January 04, 2004 8:56 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
I don't understand this command:
> OUTL = %010000000 | phoneme
I'm guessing this will output the phoneme on pins0-6. Also, it looks
like there's an extra 0 in there. Wouldn't the command to output the
phoneme be:
OUTL = %01000000 , phoneme
or maybe not. If not, what commands is used to output the data on
pins0-6? These commands are all pretty new to me - the last time I
programmed with BASIC all this stuff was handled with POKE and PEEK.
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> Your battery won't last very long if you run the LM386 very loudly
at
> all. Again, I wouldn't bother with the 74HCT259 because it's not
saving
> you any pins and only complicating your code.
>
> -- Jon Williams
> -- Parallax
>
>
Original Message
> From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> Sent: Friday, January 02, 2004 4:42 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
>
>
> OK, thanks for the info. I'll try the project first without the
latch
> - it looks like a simpler circuit which is good for newbies like
me. If
> that works out OK, I'll add the 8-bit latch and the companion Text
to
> Allophone processor to the circuit. Do you think the 9-volt battery
> attached to the BS2 Homework board will supply enough current at 5V
to
> drive the Text to Allophone processor, the Allaphone Speech
processor,
> 74HCT259 chip and a small audio amp based on a LM386? If not, could
you
> suggest a circuit (possibly from one of your Nuts and Volts
columns) to
> create another 5 Volt DC source from another 9V battery.
>
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > I wrote that column (a long time ago...) using a BS1 which only
has
> > eight IO pins and I wanted to keep some free for other things.
Since
> > you've got a BS2, you can use IO pins directly from the Stamp
without
> > needing a latch. The thing is that you'll need six Stamp pins to
deal
>
> > with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead
(A6 and
>
> > A7 should be grounded). And the code will be much simpler.
> >
> > Writing on the fly...
> >
> > OUTL = %010000000 | phoneme
> > PULSOUT ALD, 10
> >
> > In this (pulling from the seat of my pants example...), P0-P5
connects
>
> > to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ
input.
> >
> > Have fun.
> >
> > -- Jon Williams
> > -- Parallax
> >
> >
> >
Original Message
> > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > Sent: Friday, January 02, 2004 12:02 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
> >
> >
> > I recently got a 'What's a Microcontroller' kit for Christmas and
I'm
> > going to try interfaceing the GI SP0256-AL2 allaphone speech
processor
>
> > (which I bought a LONG time ago).
> >
> > I was searching the Nuts and Volts archives and found Column #40
> > titled 'Talk is Cheap' which interfaces this speech processor
with the
>
> > BASIC Stamp.
> >
> > My question - the column uses a 74HC164 serial shift register to
> > reduce the number of data lines needed to connect the BASIC Stamp
from
>
> > 8 to 4. Since there aren't any local stores to that sell the
74HC164 -
>
> > I was wondering if the 74HCT259 (8-bit addressable latch
available at
> > Radio
> > Shack) would be a good substitute. While the 74HCT259 is not a
drop in
> > replacement - it appears that it would work. Unlike a shift
register,
> > the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this sound
> > workable? Has anyone used the 74HCT259 in their project as a
serial to
> > parallel converter?
> >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the
Subject
> > and Body of the message will be ignored.
> >
> >
> > Yahoo! Groups Links
> >
> > To visit your group on the web, go to:
> > http://groups.yahoo.com/group/basicstamps/
> >
> > To unsubscribe from this group, send an email to:
> > basicstamps-unsubscribe@yahoogroups.com
> >
> > Your use of Yahoo! Groups is subject to:
> > http://docs.yahoo.com/info/terms/
> >
> >
> >
> >
> > This message has been scanned by WebShield. Please report SPAM to
> > abuse@p...
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
Subject
> and Body of the message will be ignored.
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/basicstamps/
>
> To unsubscribe from this group, send an email to:
> basicstamps-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p...
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/basicstamps/
To unsubscribe from this group, send an email to:
basicstamps-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
the original BS1/PBasic 2.0(?) program to a BS2/PBasic 2.5 program -
but I finally got it to compile without any syntax errors.
On last question - since the original program was for a BS1 and you
used PULSOUT ALD,10 in the original program. Should the duration for
PULSOUT change since I'm using a BS2? If I'm reading the PBASIC
manual correctly, on a BS1 this will create a 100 microsecond pulse
so I'll need to change the command to PULSOUT ALD,50 to get a 100
microsecond pulse on the BS2. Correct?
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> Sorry, there is an extra zero. What I meant was:
>
> OUTL = %01000000 | phoneme
>
> This puts the phoneme on pins 0 - 5 while keeping pin 6 high -- you
will
> strobe pin 6 low to load the phoneme into the device. Pin 7 is
used to
> monitor the LRQ line so you know when you can load the next phoneme.
>
> OUTL is direct access to pins 0 - 7 as a byte. You must first set
pins
> 0 - 6 to outputs with:
>
> DIRL = %0111111
>
> We make loads of free information available so there are plenty
> resources to learn from -- and don't feel handcuffed by other
dialects
> of BASIC; microcontrollers are generally less complicated in terms
of
> architecture, so programming follows suit. You might want to
download
> our "What's A Microcontroller" text and skim it. Since you have
some
> programming experience, it will take you less than a day to get the
hang
> of PBASIC.
>
> The other thing you can do is skim the online help file. It
> demonstrates the syntax of all PBASIC instructions with example
code.
>
> -- Jon Williams
> -- Parallax
>
>
>
Original Message
> From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> Sent: Sunday, January 04, 2004 8:56 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
>
>
> I don't understand this command:
> > OUTL = %010000000 | phoneme
>
> I'm guessing this will output the phoneme on pins0-6. Also, it
looks
> like there's an extra 0 in there. Wouldn't the command to output
the
> phoneme be:
> OUTL = %01000000 , phoneme
> or maybe not. If not, what commands is used to output the data on
> pins0-6? These commands are all pretty new to me - the last time I
> programmed with BASIC all this stuff was handled with POKE and PEEK.
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > Your battery won't last very long if you run the LM386 very loudly
> at
> > all. Again, I wouldn't bother with the 74HCT259 because it's not
> saving
> > you any pins and only complicating your code.
> >
> > -- Jon Williams
> > -- Parallax
> >
> >
Original Message
> > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > Sent: Friday, January 02, 2004 4:42 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
> >
> >
> > OK, thanks for the info. I'll try the project first without the
> latch
> > - it looks like a simpler circuit which is good for newbies like
> me. If
> > that works out OK, I'll add the 8-bit latch and the companion Text
> to
> > Allophone processor to the circuit. Do you think the 9-volt
battery
> > attached to the BS2 Homework board will supply enough current at
5V
> to
> > drive the Text to Allophone processor, the Allaphone Speech
> processor,
> > 74HCT259 chip and a small audio amp based on a LM386? If not,
could
> you
> > suggest a circuit (possibly from one of your Nuts and Volts
> columns) to
> > create another 5 Volt DC source from another 9V battery.
> >
> >
> > --- In basicstamps@yahoogroups.com, "Jon Williams"
<jwilliams@p...>
> > wrote:
> > > I wrote that column (a long time ago...) using a BS1 which only
> has
> > > eight IO pins and I wanted to keep some free for other things.
> Since
> > > you've got a BS2, you can use IO pins directly from the Stamp
> without
> > > needing a latch. The thing is that you'll need six Stamp pins
to
> deal
> >
> > > with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead
> (A6 and
> >
> > > A7 should be grounded). And the code will be much simpler.
> > >
> > > Writing on the fly...
> > >
> > > OUTL = %010000000 | phoneme
> > > PULSOUT ALD, 10
> > >
> > > In this (pulling from the seat of my pants example...), P0-P5
> connects
> >
> > > to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ
> input.
> > >
> > > Have fun.
> > >
> > > -- Jon Williams
> > > -- Parallax
> > >
> > >
> > >
Original Message
> > > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > > Sent: Friday, January 02, 2004 12:02 PM
> > > To: basicstamps@yahoogroups.com
> > > Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
> > >
> > >
> > > I recently got a 'What's a Microcontroller' kit for Christmas
and
> I'm
> > > going to try interfaceing the GI SP0256-AL2 allaphone speech
> processor
> >
> > > (which I bought a LONG time ago).
> > >
> > > I was searching the Nuts and Volts archives and found Column #40
> > > titled 'Talk is Cheap' which interfaces this speech processor
> with the
> >
> > > BASIC Stamp.
> > >
> > > My question - the column uses a 74HC164 serial shift register to
> > > reduce the number of data lines needed to connect the BASIC
Stamp
> from
> >
> > > 8 to 4. Since there aren't any local stores to that sell the
> 74HC164 -
> >
> > > I was wondering if the 74HCT259 (8-bit addressable latch
> available at
> > > Radio
> > > Shack) would be a good substitute. While the 74HCT259 is not a
> drop in
> > > replacement - it appears that it would work. Unlike a shift
> register,
> > > the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this
sound
> > > workable? Has anyone used the 74HCT259 in their project as a
> serial to
> > > parallel converter?
> > >
It never hurts to reevaluate technical details. I'm not sure why I
wrote the code the way I did, and being human, I would change it if
rewriting the program today. I found an old spec sheet that says the
ALD pulse can be as short as 200 ns (0.2 microseconds) -- so a PULSOUT
value of 1 on the BS2 is plenty.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: fab4442003 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=TrKMPC63r3vQ2yPX8jlmkIid8cyQq8MvLg_Irv7c2Z9JwZE-TIrmyLy0j7z5Gwy8rOeaRbkLsap9UWnzCQ]fab4442003@y...[/url
Sent: Monday, January 05, 2004 12:01 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
OK, thanks - it makes sense now. It also took me awhile to convert
the original BS1/PBasic 2.0(?) program to a BS2/PBasic 2.5 program -
but I finally got it to compile without any syntax errors.
On last question - since the original program was for a BS1 and you
used PULSOUT ALD,10 in the original program. Should the duration for
PULSOUT change since I'm using a BS2? If I'm reading the PBASIC
manual correctly, on a BS1 this will create a 100 microsecond pulse
so I'll need to change the command to PULSOUT ALD,50 to get a 100
microsecond pulse on the BS2. Correct?
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> Sorry, there is an extra zero. What I meant was:
>
> OUTL = %01000000 | phoneme
>
> This puts the phoneme on pins 0 - 5 while keeping pin 6 high -- you
will
> strobe pin 6 low to load the phoneme into the device. Pin 7 is
used to
> monitor the LRQ line so you know when you can load the next phoneme.
>
> OUTL is direct access to pins 0 - 7 as a byte. You must first set
pins
> 0 - 6 to outputs with:
>
> DIRL = %0111111
>
> We make loads of free information available so there are plenty
> resources to learn from -- and don't feel handcuffed by other
dialects
> of BASIC; microcontrollers are generally less complicated in terms
of
> architecture, so programming follows suit. You might want to
download
> our "What's A Microcontroller" text and skim it. Since you have
some
> programming experience, it will take you less than a day to get the
hang
> of PBASIC.
>
> The other thing you can do is skim the online help file. It
> demonstrates the syntax of all PBASIC instructions with example
code.
>
> -- Jon Williams
> -- Parallax
>
>
>
Original Message
> From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> Sent: Sunday, January 04, 2004 8:56 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
>
>
> I don't understand this command:
> > OUTL = %010000000 | phoneme
>
> I'm guessing this will output the phoneme on pins0-6. Also, it
looks
> like there's an extra 0 in there. Wouldn't the command to output
the
> phoneme be:
> OUTL = %01000000 , phoneme
> or maybe not. If not, what commands is used to output the data on
> pins0-6? These commands are all pretty new to me - the last time I
> programmed with BASIC all this stuff was handled with POKE and PEEK.
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > Your battery won't last very long if you run the LM386 very loudly
> at
> > all. Again, I wouldn't bother with the 74HCT259 because it's not
> saving
> > you any pins and only complicating your code.
> >
> > -- Jon Williams
> > -- Parallax
> >
> >
Original Message
> > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > Sent: Friday, January 02, 2004 4:42 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
> >
> >
> > OK, thanks for the info. I'll try the project first without the
> latch
> > - it looks like a simpler circuit which is good for newbies like
> me. If
> > that works out OK, I'll add the 8-bit latch and the companion Text
> to
> > Allophone processor to the circuit. Do you think the 9-volt
battery
> > attached to the BS2 Homework board will supply enough current at
5V
> to
> > drive the Text to Allophone processor, the Allaphone Speech
> processor,
> > 74HCT259 chip and a small audio amp based on a LM386? If not,
could
> you
> > suggest a circuit (possibly from one of your Nuts and Volts
> columns) to
> > create another 5 Volt DC source from another 9V battery.
> >
> >
> > --- In basicstamps@yahoogroups.com, "Jon Williams"
<jwilliams@p...>
> > wrote:
> > > I wrote that column (a long time ago...) using a BS1 which only
> has
> > > eight IO pins and I wanted to keep some free for other things.
> Since
> > > you've got a BS2, you can use IO pins directly from the Stamp
> without
> > > needing a latch. The thing is that you'll need six Stamp pins
to
> deal
> >
> > > with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead
> (A6 and
> >
> > > A7 should be grounded). And the code will be much simpler.
> > >
> > > Writing on the fly...
> > >
> > > OUTL = %010000000 | phoneme
> > > PULSOUT ALD, 10
> > >
> > > In this (pulling from the seat of my pants example...), P0-P5
> connects
> >
> > > to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ
> input.
> > >
> > > Have fun.
> > >
> > > -- Jon Williams
> > > -- Parallax
> > >
> > >
> > >
Original Message
> > > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > > Sent: Friday, January 02, 2004 12:02 PM
> > > To: basicstamps@yahoogroups.com
> > > Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
> > >
> > >
> > > I recently got a 'What's a Microcontroller' kit for Christmas
and
> I'm
> > > going to try interfaceing the GI SP0256-AL2 allaphone speech
> processor
> >
> > > (which I bought a LONG time ago).
> > >
> > > I was searching the Nuts and Volts archives and found Column #40
> > > titled 'Talk is Cheap' which interfaces this speech processor
> with the
> >
> > > BASIC Stamp.
> > >
> > > My question - the column uses a 74HC164 serial shift register to
> > > reduce the number of data lines needed to connect the BASIC
Stamp
> from
> >
> > > 8 to 4. Since there aren't any local stores to that sell the
> 74HC164 -
> >
> > > I was wondering if the 74HCT259 (8-bit addressable latch
> available at
> > > Radio
> > > Shack) would be a good substitute. While the 74HCT259 is not a
> drop in
> > > replacement - it appears that it would work. Unlike a shift
> register,
> > > the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this
sound
> > > workable? Has anyone used the 74HCT259 in their project as a
> serial to
> > > parallel converter?
> > >
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/basicstamps/
To unsubscribe from this group, send an email to:
basicstamps-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
support the BS2 and the direct speech interface. I'm happy to report my speech
synthesizer is talking just fine!
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...> wrote:
> That would be correct, but you probably don't need a pulse that long.
> It never hurts to reevaluate technical details. I'm not sure why I
> wrote the code the way I did, and being human, I would change it if
> rewriting the program today. I found an old spec sheet that says the
> ALD pulse can be as short as 200 ns (0.2 microseconds) -- so a PULSOUT
> value of 1 on the BS2 is plenty.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> Sent: Monday, January 05, 2004 12:01 AM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
>
>
> OK, thanks - it makes sense now. It also took me awhile to convert
> the original BS1/PBasic 2.0(?) program to a BS2/PBasic 2.5 program -
> but I finally got it to compile without any syntax errors.
>
> On last question - since the original program was for a BS1 and you
> used PULSOUT ALD,10 in the original program. Should the duration for
> PULSOUT change since I'm using a BS2? If I'm reading the PBASIC
> manual correctly, on a BS1 this will create a 100 microsecond pulse
> so I'll need to change the command to PULSOUT ALD,50 to get a 100
> microsecond pulse on the BS2. Correct?
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > Sorry, there is an extra zero. What I meant was:
> >
> > OUTL = %01000000 | phoneme
> >
> > This puts the phoneme on pins 0 - 5 while keeping pin 6 high -- you
> will
> > strobe pin 6 low to load the phoneme into the device. Pin 7 is
> used to
> > monitor the LRQ line so you know when you can load the next phoneme.
> >
> > OUTL is direct access to pins 0 - 7 as a byte. You must first set
> pins
> > 0 - 6 to outputs with:
> >
> > DIRL = %0111111
> >
> > We make loads of free information available so there are plenty
> > resources to learn from -- and don't feel handcuffed by other
> dialects
> > of BASIC; microcontrollers are generally less complicated in terms
> of
> > architecture, so programming follows suit. You might want to
> download
> > our "What's A Microcontroller" text and skim it. Since you have
> some
> > programming experience, it will take you less than a day to get the
> hang
> > of PBASIC.
> >
> > The other thing you can do is skim the online help file. It
> > demonstrates the syntax of all PBASIC instructions with example
> code.
> >
> > -- Jon Williams
> > -- Parallax
> >
> >
> >
Original Message
> > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > Sent: Sunday, January 04, 2004 8:56 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
> >
> >
> > I don't understand this command:
> > > OUTL = %010000000 | phoneme
> >
> > I'm guessing this will output the phoneme on pins0-6. Also, it
> looks
> > like there's an extra 0 in there. Wouldn't the command to output
> the
> > phoneme be:
> > OUTL = %01000000 , phoneme
> > or maybe not. If not, what commands is used to output the data on
> > pins0-6? These commands are all pretty new to me - the last time I
> > programmed with BASIC all this stuff was handled with POKE and PEEK.
> >
> > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> > wrote:
> > > Your battery won't last very long if you run the LM386 very loudly
> > at
> > > all. Again, I wouldn't bother with the 74HCT259 because it's not
> > saving
> > > you any pins and only complicating your code.
> > >
> > > -- Jon Williams
> > > -- Parallax
> > >
> > >
Original Message
> > > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > > Sent: Friday, January 02, 2004 4:42 PM
> > > To: basicstamps@yahoogroups.com
> > > Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
> > >
> > >
> > > OK, thanks for the info. I'll try the project first without the
> > latch
> > > - it looks like a simpler circuit which is good for newbies like
> > me. If
> > > that works out OK, I'll add the 8-bit latch and the companion Text
> > to
> > > Allophone processor to the circuit. Do you think the 9-volt
> battery
> > > attached to the BS2 Homework board will supply enough current at
> 5V
> > to
> > > drive the Text to Allophone processor, the Allaphone Speech
> > processor,
> > > 74HCT259 chip and a small audio amp based on a LM386? If not,
> could
> > you
> > > suggest a circuit (possibly from one of your Nuts and Volts
> > columns) to
> > > create another 5 Volt DC source from another 9V battery.
> > >
> > >
> > > --- In basicstamps@yahoogroups.com, "Jon Williams"
> <jwilliams@p...>
> > > wrote:
> > > > I wrote that column (a long time ago...) using a BS1 which only
> > has
> > > > eight IO pins and I wanted to keep some free for other things.
> > Since
> > > > you've got a BS2, you can use IO pins directly from the Stamp
> > without
> > > > needing a latch. The thing is that you'll need six Stamp pins
> to
> > deal
> > >
> > > > with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead
> > (A6 and
> > >
> > > > A7 should be grounded). And the code will be much simpler.
> > > >
> > > > Writing on the fly...
> > > >
> > > > OUTL = %010000000 | phoneme
> > > > PULSOUT ALD, 10
> > > >
> > > > In this (pulling from the seat of my pants example...), P0-P5
> > connects
> > >
> > > > to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ
> > input.
> > > >
> > > > Have fun.
> > > >
> > > > -- Jon Williams
> > > > -- Parallax
> > > >
> > > >
> > > >
Original Message
> > > > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > > > Sent: Friday, January 02, 2004 12:02 PM
> > > > To: basicstamps@yahoogroups.com
> > > > Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
> > > >
> > > >
> > > > I recently got a 'What's a Microcontroller' kit for Christmas
> and
> > I'm
> > > > going to try interfaceing the GI SP0256-AL2 allaphone speech
> > processor
> > >
> > > > (which I bought a LONG time ago).
> > > >
> > > > I was searching the Nuts and Volts archives and found Column #40
> > > > titled 'Talk is Cheap' which interfaces this speech processor
> > with the
> > >
> > > > BASIC Stamp.
> > > >
> > > > My question - the column uses a 74HC164 serial shift register to
> > > > reduce the number of data lines needed to connect the BASIC
> Stamp
> > from
> > >
> > > > 8 to 4. Since there aren't any local stores to that sell the
> > 74HC164 -
> > >
> > > > I was wondering if the 74HCT259 (8-bit addressable latch
> > available at
> > > > Radio
> > > > Shack) would be a good substitute. While the 74HCT259 is not a
> > drop in
> > > > replacement - it appears that it would work. Unlike a shift
> > register,
> > > > the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this
> sound
> > > > workable? Has anyone used the 74HCT259 in their project as a
> > serial to
> > > > parallel converter?
> > > >
>
-- Jon Williams
-- Parallax
Original Message
From: fab4442003 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=fYAfXargzXjAAgJTrKx90U5BL53EFfZo_ShViGLktVbvSq86JcbyzWFBtPJ6RRhepAgsAsPHCOeoZA]fab4442003@y...[/url
Sent: Monday, January 12, 2004 10:30 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
Just wanted to say thanks for your guidance and updating the Talker
program to
support the BS2 and the direct speech interface. I'm happy to report my
speech
synthesizer is talking just fine!
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> That would be correct, but you probably don't need a pulse that long.
> It never hurts to reevaluate technical details. I'm not sure why I
> wrote the code the way I did, and being human, I would change it if
> rewriting the program today. I found an old spec sheet that says the
> ALD pulse can be as short as 200 ns (0.2 microseconds) -- so a PULSOUT
> value of 1 on the BS2 is plenty.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> Sent: Monday, January 05, 2004 12:01 AM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
>
>
> OK, thanks - it makes sense now. It also took me awhile to convert
> the original BS1/PBasic 2.0(?) program to a BS2/PBasic 2.5 program -
> but I finally got it to compile without any syntax errors.
>
> On last question - since the original program was for a BS1 and you
> used PULSOUT ALD,10 in the original program. Should the duration for
> PULSOUT change since I'm using a BS2? If I'm reading the PBASIC
> manual correctly, on a BS1 this will create a 100 microsecond pulse
> so I'll need to change the command to PULSOUT ALD,50 to get a 100
> microsecond pulse on the BS2. Correct?
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > Sorry, there is an extra zero. What I meant was:
> >
> > OUTL = %01000000 | phoneme
> >
> > This puts the phoneme on pins 0 - 5 while keeping pin 6 high -- you
> will
> > strobe pin 6 low to load the phoneme into the device. Pin 7 is
> used to
> > monitor the LRQ line so you know when you can load the next phoneme.
> >
> > OUTL is direct access to pins 0 - 7 as a byte. You must first set
> pins
> > 0 - 6 to outputs with:
> >
> > DIRL = %0111111
> >
> > We make loads of free information available so there are plenty
> > resources to learn from -- and don't feel handcuffed by other
> dialects
> > of BASIC; microcontrollers are generally less complicated in terms
> of
> > architecture, so programming follows suit. You might want to
> download
> > our "What's A Microcontroller" text and skim it. Since you have
> some
> > programming experience, it will take you less than a day to get the
> hang
> > of PBASIC.
> >
> > The other thing you can do is skim the online help file. It
> > demonstrates the syntax of all PBASIC instructions with example
> code.
> >
> > -- Jon Williams
> > -- Parallax
> >
> >
> >
Original Message
> > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > Sent: Sunday, January 04, 2004 8:56 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
> >
> >
> > I don't understand this command:
> > > OUTL = %010000000 | phoneme
> >
> > I'm guessing this will output the phoneme on pins0-6. Also, it
> looks
> > like there's an extra 0 in there. Wouldn't the command to output
> the
> > phoneme be:
> > OUTL = %01000000 , phoneme
> > or maybe not. If not, what commands is used to output the data on
> > pins0-6? These commands are all pretty new to me - the last time I
> > programmed with BASIC all this stuff was handled with POKE and PEEK.
> >
> > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> > wrote:
> > > Your battery won't last very long if you run the LM386 very loudly
> > at
> > > all. Again, I wouldn't bother with the 74HCT259 because it's not
> > saving
> > > you any pins and only complicating your code.
> > >
> > > -- Jon Williams
> > > -- Parallax
> > >
> > >
Original Message
> > > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > > Sent: Friday, January 02, 2004 4:42 PM
> > > To: basicstamps@yahoogroups.com
> > > Subject: [noparse][[/noparse]basicstamps] Re: Speech using GI SP0256-AL2
> > >
> > >
> > > OK, thanks for the info. I'll try the project first without the
> > latch
> > > - it looks like a simpler circuit which is good for newbies like
> > me. If
> > > that works out OK, I'll add the 8-bit latch and the companion Text
> > to
> > > Allophone processor to the circuit. Do you think the 9-volt
> battery
> > > attached to the BS2 Homework board will supply enough current at
> 5V
> > to
> > > drive the Text to Allophone processor, the Allaphone Speech
> > processor,
> > > 74HCT259 chip and a small audio amp based on a LM386? If not,
> could
> > you
> > > suggest a circuit (possibly from one of your Nuts and Volts
> > columns) to
> > > create another 5 Volt DC source from another 9V battery.
> > >
> > >
> > > --- In basicstamps@yahoogroups.com, "Jon Williams"
> <jwilliams@p...>
> > > wrote:
> > > > I wrote that column (a long time ago...) using a BS1 which only
> > has
> > > > eight IO pins and I wanted to keep some free for other things.
> > Since
> > > > you've got a BS2, you can use IO pins directly from the Stamp
> > without
> > > > needing a latch. The thing is that you'll need six Stamp pins
> to
> > deal
> > >
> > > > with the 74HCT259 -- use these for SP0256 pins A0 - A5 instead
> > (A6 and
> > >
> > > > A7 should be grounded). And the code will be much simpler.
> > > >
> > > > Writing on the fly...
> > > >
> > > > OUTL = %010000000 | phoneme
> > > > PULSOUT ALD, 10
> > > >
> > > > In this (pulling from the seat of my pants example...), P0-P5
> > connects
> > >
> > > > to A0-A5, P6 is the ALD (normally high) line, and P7 is the LRQ
> > input.
> > > >
> > > > Have fun.
> > > >
> > > > -- Jon Williams
> > > > -- Parallax
> > > >
> > > >
> > > >
Original Message
> > > > From: fab4442003 [noparse][[/noparse]mailto:fab4442003@y...]
> > > > Sent: Friday, January 02, 2004 12:02 PM
> > > > To: basicstamps@yahoogroups.com
> > > > Subject: [noparse][[/noparse]basicstamps] Speech using GI SP0256-AL2
> > > >
> > > >
> > > > I recently got a 'What's a Microcontroller' kit for Christmas
> and
> > I'm
> > > > going to try interfaceing the GI SP0256-AL2 allaphone speech
> > processor
> > >
> > > > (which I bought a LONG time ago).
> > > >
> > > > I was searching the Nuts and Volts archives and found Column #40
> > > > titled 'Talk is Cheap' which interfaces this speech processor
> > with the
> > >
> > > > BASIC Stamp.
> > > >
> > > > My question - the column uses a 74HC164 serial shift register to
> > > > reduce the number of data lines needed to connect the BASIC
> Stamp
> > from
> > >
> > > > 8 to 4. Since there aren't any local stores to that sell the
> > 74HC164 -
> > >
> > > > I was wondering if the 74HCT259 (8-bit addressable latch
> > available at
> > > > Radio
> > > > Shack) would be a good substitute. While the 74HCT259 is not a
> > drop in
> > > > replacement - it appears that it would work. Unlike a shift
> > register,
> > > > the 74HCT259 uses 3 bits to address bits 0 thru 7. Does this
> sound
> > > > workable? Has anyone used the 74HCT259 in their project as a
> > serial to
> > > > parallel converter?
> > > >
>
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/basicstamps/
To unsubscribe from this group, send an email to:
basicstamps-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....