SERIN and BS2X vs. BS2
Archiver
Posts: 46,084
I'm working with the Quadravox 306m1 sound recording/playback chip,
which uses the SERIN command to pass data back and forth. With one of
the Nuts and Volts articles and a friend's BS2 dev. board, I got it
working great. (Thanks Jon Williams!)
However, with a BS2X dev. board (which is the one I'll be using), no
sound gets recorded or played back. The speaker makes funny clicking
noises. I am suspecting that this chip uses different baudmode
constants for the SERIN command, but am not sure. All of the pins check
out fine and I'm using the same circuitry.
The constants I'm using with the working BS2 board with the SERIN
command are:
N2400 CON 16780 '2400 Baud, inverted
T2400 CON 396 '2400 Baud, true
Does anyone know if these should work with the BS2X as well?
Thanks,
Scott
which uses the SERIN command to pass data back and forth. With one of
the Nuts and Volts articles and a friend's BS2 dev. board, I got it
working great. (Thanks Jon Williams!)
However, with a BS2X dev. board (which is the one I'll be using), no
sound gets recorded or played back. The speaker makes funny clicking
noises. I am suspecting that this chip uses different baudmode
constants for the SERIN command, but am not sure. All of the pins check
out fine and I'm using the same circuitry.
The constants I'm using with the working BS2 board with the SERIN
command are:
N2400 CON 16780 '2400 Baud, inverted
T2400 CON 396 '2400 Baud, true
Does anyone know if these should work with the BS2X as well?
Thanks,
Scott
Comments
You're right. The baudmode constants are different with the BS2SX.
Check the HTML help in the editor. They're all listed for each of the
stamp. That would definitely cause problems. Best regards.
-Dave
--- In basicstamps@yahoogroups.com, Scott Kildall <redeye@d...> wrote:
> I'm working with the Quadravox 306m1 sound recording/playback chip,
> which uses the SERIN command to pass data back and forth. With one
of
> the Nuts and Volts articles and a friend's BS2 dev. board, I got it
> working great. (Thanks Jon Williams!)
>
> However, with a BS2X dev. board (which is the one I'll be using),
no
> sound gets recorded or played back. The speaker makes funny
clicking
> noises. I am suspecting that this chip uses different baudmode
> constants for the SERIN command, but am not sure. All of the pins
check
> out fine and I'm using the same circuitry.
>
> The constants I'm using with the working BS2 board with the SERIN
> command are:
>
> N2400 CON 16780 '2400 Baud, inverted
> T2400 CON 396 '2400 Baud, true
>
> Does anyone know if these should work with the BS2X as well?
>
> Thanks,
> Scott
advantage of the new compiler's conditional compilation feature, so it
can set the baud rate based on the $STAMP setting. You can find the
code here:
http://www.parallax.com/detail.asp?product_id=27967
You should be able to adapt the code to suit your needs.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Scott Kildall [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=L2k8h3IMveQqpo_cCnAqIpahQMM1Y8TyYQp7Ci98HgDslv4B6_G72S4CPdJQbvUp2k2xivXaW8w3--AOJ-Q]redeye@d...[/url
Sent: Sunday, November 16, 2003 7:35 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] SERIN and BS2X vs. BS2
I'm working with the Quadravox 306m1 sound recording/playback chip,
which uses the SERIN command to pass data back and forth. With one of
the Nuts and Volts articles and a friend's BS2 dev. board, I got it
working great. (Thanks Jon Williams!)
However, with a BS2X dev. board (which is the one I'll be using), no
sound gets recorded or played back. The speaker makes funny clicking
noises. I am suspecting that this chip uses different baudmode
constants for the SERIN command, but am not sure. All of the pins check
out fine and I'm using the same circuitry.
The constants I'm using with the working BS2 board with the SERIN
command are:
N2400 CON 16780 '2400 Baud, inverted
T2400 CON 396 '2400 Baud, true
Does anyone know if these should work with the BS2X as well?
Thanks,
Scott
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.
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 wrote some new demo code for the Quadravox QV306M4
> module that takes
> advantage of the new compiler's conditional
> compilation feature, so it
John (Or anyone who knows),
Is this Quadravox (Or any other) programmable
without a programming module? Wondered this for field
updates...Is there a way to build support circuitry to
re-program it within your own system?
I should probably look at the spec sheet...
=====
Chris Savage
Knight Designs
324 West Main Street
Montour Falls, NY 14865
(607) 535-6777
http://www.knightdesigns.com
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Ah, the good ol' help file. Got it working within 5 minutes. Thanks for
the response.
Scott
On Sunday, November 16, 2003, at 09:17 PM, nuclearspin2000 wrote:
> Hi Scott,
>
> You're right. The baudmode constants are different with the BS2SX.
> Check the HTML help in the editor. They're all listed for each of the
> stamp. That would definitely cause problems. Best regards.
>
> -Dave
>
> --- In basicstamps@yahoogroups.com, Scott Kildall <redeye@d...> wrote:
>> I'm working with the Quadravox 306m1 sound recording/playback chip,
>> which uses the SERIN command to pass data back and forth. With one
> of
>> the Nuts and Volts articles and a friend's BS2 dev. board, I got it
>> working great. (Thanks Jon Williams!)
>>
>> However, with a BS2X dev. board (which is the one I'll be using),
> no
>> sound gets recorded or played back. The speaker makes funny
> clicking
>> noises. I am suspecting that this chip uses different baudmode
>> constants for the SERIN command, but am not sure. All of the pins
> check
>> out fine and I'm using the same circuitry.
>>
>> The constants I'm using with the working BS2 board with the SERIN
>> command are:
>>
>> N2400 CON 16780 '2400 Baud, inverted
>> T2400 CON 396 '2400 Baud, true
>>
>> Does anyone know if these should work with the BS2X as well?
>>
>> Thanks,
>> Scott
>
>
> 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.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
a bit tricky. Quadravox makes the protocol available if you want to do
that. Personally, I find using their programmer and software easier to
use.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Chris Savage [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Y7epWQZGwkhQf59LDH-YDLtX4Wcq9dtcnbwDJpSC1Xf-EmBG6L7z9sCljs9Ei2PaFo6Sym1z4lwR6qZ5iAOc1Q]knight_designs@y...[/url
Sent: Monday, November 17, 2003 11:27 AM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] SERIN and BS2X vs. BS2
--- Jon Williams <jwilliams@p...> wrote:
> I wrote some new demo code for the Quadravox QV306M4
> module that takes
> advantage of the new compiler's conditional
> compilation feature, so it
John (Or anyone who knows),
Is this Quadravox (Or any other) programmable
without a programming module? Wondered this for field updates...Is
there a way to build support circuitry to re-program it within your own
system?
I should probably look at the spec sheet...
=====
Chris Savage
Knight Designs
324 West Main Street
Montour Falls, NY 14865
(607) 535-6777
http://www.knightdesigns.com
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
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.
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....
> Technically, you can do that (reprogram it without
> the module), but it's
> a bit tricky. Quadravox makes the protocol
> available if you want to do
> that. Personally, I find using their programmer and
> software easier to
> use.
Well, I am interested in using one for a project for
simplicity, but the cost of adding the programmer
makes it non-cost-effective for this project. On the
Z80-based deisgns, almost the same code could be used
to playback sounds as to record them. Simply
specified addresses through the controller, and set
recording or playback mode. Line In/out,etc. Using
ISD1000 from Radio Shack then...
After looing at the pinouts, I figured there'd be a
way to simply set an address to record at, send a
record signal, and supply the LINE IN with the target
audio. Could you elaborate just a bit (Since you have
experience with it) the basis for recording into it
without the programmer? Just steps that would need to
be done? Just so I can decide if I am going to really
have to get one, or find an alternative, or what. I
was tempted to use an ISD with a 74HC595 to control
addresses and do it the old-school way!
=====
Chris Savage
Knight Designs
324 West Main Street
Montour Falls, NY 14865
(607) 535-6777
http://www.knightdesigns.com
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
modules use serial programming mode. The way individual message are
accessed is by skipping through, counting the End-of-Message markers.
So, if you want to reprogram your module, you will have to do all
messages at once and do it in order.
It's been a while since I experimented with recording without the
programmer ... but as I remember, you reset the device (to get to the
beginning of the ISD memory), send the record command, start your audio,
then send a stop command. Repeat the last three steps (record, audio,
stop) for all your messages. You may want to contact the guys at
Quadravox for more details as this gets a bit beyond the use with BASIC
Stamps.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Chris Savage [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=LeccE-zVX-DGpqh2pvsCD-OOUrw-t-p5MnpkzvH1D83USvyQDsSd1YTOLBmC9miKlE7FZXRWUIpIclbjMEeT]knight_designs@y...[/url
Sent: Monday, November 17, 2003 1:07 PM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] SERIN and BS2X vs. BS2
--- Jon Williams <jwilliams@p...> wrote:
> Technically, you can do that (reprogram it without
> the module), but it's
> a bit tricky. Quadravox makes the protocol
> available if you want to do
> that. Personally, I find using their programmer and
> software easier to
> use.
Well, I am interested in using one for a project for simplicity, but the
cost of adding the programmer makes it non-cost-effective for this
project. On the Z80-based deisgns, almost the same code could be used
to playback sounds as to record them. Simply specified addresses
through the controller, and set recording or playback mode. Line
In/out,etc. Using ISD1000 from Radio Shack then...
After looing at the pinouts, I figured there'd be a
way to simply set an address to record at, send a
record signal, and supply the LINE IN with the target
audio. Could you elaborate just a bit (Since you have experience with
it) the basis for recording into it without the programmer? Just steps
that would need to be done? Just so I can decide if I am going to
really have to get one, or find an alternative, or what. I was tempted
to use an ISD with a 74HC595 to control addresses and do it the
old-school way!
=====
Chris Savage
Knight Designs
324 West Main Street
Montour Falls, NY 14865
(607) 535-6777
http://www.knightdesigns.com
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
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.
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....
> You not correct, you cannot set the record address.
Okay, I assumed a command existed for that.
> So, if you want to reprogram your module, you will
> have to do all
> messages at once and do it in order.
Okay, perhaps I will look into the programming module,
perhaps I can use it on other stuff in the future.
> It's been a while since I experimented with
> recording without the
Well, thanks for the information anyway, that let's me
know that it's more involved than I thought...Hard for
me to let go of the old-school ways...
=====
Chris Savage
Knight Designs
324 West Main Street
Montour Falls, NY 14865
(607) 535-6777
http://www.knightdesigns.com
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Programming the quadravox without the programmer was a subject of a
past Nuts & Volts column number 74 and 75, can D/L from Parallax.
Might be helpful.
-Dave
--- In basicstamps@yahoogroups.com, Chris Savage
<knight_designs@y...> wrote:
> --- Jon Williams <jwilliams@p...> wrote:
> > Technically, you can do that (reprogram it without
> > the module), but it's
> > a bit tricky. Quadravox makes the protocol
> > available if you want to do
> > that. Personally, I find using their programmer and
> > software easier to
> > use.
>
> Well, I am interested in using one for a project for
> simplicity, but the cost of adding the programmer
> makes it non-cost-effective for this project. On the
> Z80-based deisgns, almost the same code could be used
> to playback sounds as to record them. Simply
> specified addresses through the controller, and set
> recording or playback mode. Line In/out,etc. Using
> ISD1000 from Radio Shack then...
>
> After looing at the pinouts, I figured there'd be a
> way to simply set an address to record at, send a
> record signal, and supply the LINE IN with the target
> audio. Could you elaborate just a bit (Since you have
> experience with it) the basis for recording into it
> without the programmer? Just steps that would need to
> be done? Just so I can decide if I am going to really
> have to get one, or find an alternative, or what. I
> was tempted to use an ISD with a 74HC595 to control
> addresses and do it the old-school way!
>
>
>
>
> =====
> Chris Savage
> Knight Designs
> 324 West Main Street
> Montour Falls, NY 14865
> (607) 535-6777
>
> http://www.knightdesigns.com
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
> Chris,
> Programming the quadravox without the programmer was
> a subject of a
> past Nuts & Volts column number 74 and 75, can D/L
> from Parallax.
> Might be helpful.
> -Dave
Thanks Dave,
I just downloaded them...A second look at the QV306M4
datasheet kinda hinted it wouldn't be too hard...I
will look at the columns as well...
=====
Chris Savage
Knight Designs
324 West Main Street
Montour Falls, NY 14865
(607) 535-6777
http://www.knightdesigns.com
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree