Plz help with Voice extreme+BS2
Hi, I'm designing a voice-activated clock, using a Basic stamp 2, a
time chip DS1302 and a Voice Extreme Module from Sensory Inc. I have
troubles of interfacing between the BS2 and the Voice extreme. Could
anyone tell me how to connect them? The Voice Extreme has a RS232
port for downloading program from PC to it, and a I/O port. Is it
possible to connect the outputs of the BS2 to the RS232 port of the
Voice extreme to send data? I would really appreciate your help!
Thanks a lot!
time chip DS1302 and a Voice Extreme Module from Sensory Inc. I have
troubles of interfacing between the BS2 and the Voice extreme. Could
anyone tell me how to connect them? The Voice Extreme has a RS232
port for downloading program from PC to it, and a I/O port. Is it
possible to connect the outputs of the BS2 to the RS232 port of the
Voice extreme to send data? I would really appreciate your help!
Thanks a lot!
Comments
experience with that company is that they are HORRIBLE when it comes to
technical assistance.
Keep in mind that the VE module is a 3.3 volt device. You may have to
use dividers to drop any TTL level signals from the BASIC Stamp down to
a level that's acceptable to the VE module.
BASIC Stamp
[noparse][[/noparse]5k]
*
VE
|
[noparse][[/noparse]10k]
|
Vss
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: amser00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9EHOLStTsrstmiINLZwiJZ2OihH98S0kzRSQy4_KBcEiZfs788ETndFarcFIIRCp7QRp2teG4LIi]amser00@y...[/url
Sent: Thursday, April 08, 2004 7:09 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Plz help with Voice extreme+BS2
Hi, I'm designing a voice-activated clock, using a Basic stamp 2, a
time chip DS1302 and a Voice Extreme Module from Sensory Inc. I have
troubles of interfacing between the BS2 and the Voice extreme. Could
anyone tell me how to connect them? The Voice Extreme has a RS232
port for downloading program from PC to it, and a I/O port. Is it
possible to connect the outputs of the BS2 to the RS232 port of the
Voice extreme to send data? I would really appreciate your help!
Thanks a lot!
I just started using BS2 so I don't have a good understanding of how it works.
This is for my design project at school. Back to my example, if the time now is
2:05pm , which is 14:05, can I use this command to send the time info (1,4,0,5)
to port 3 of the Basic stamp?
SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC Minutes.HIGHNIB, DEC
Minutes.LOWNIB]
And what would be the output of this?
Again, thanks a lot for your help and prompt reply.
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
[noparse][[/noparse]Non-text portions of this message have been removed]
decimal values then you need to use / and // to get the 10's and 1's
values.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: H D [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=uR13RfWpRRkih5FJAygpzq5Mx4JrQPqriG4N9kg4TaDApcs6MkVdjFx1JB14sDI2Fw-EqR8rvZPR7Z46]amser00@y...[/url
Sent: Saturday, April 10, 2004 1:07 PM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] Plz help with Voice extreme+BS2
Thanks Jon for your valuable advice,
I just started using BS2 so I don't have a good understanding of how it
works. This is for my design project at school. Back to my example, if
the time now is 2:05pm , which is 14:05, can I use this command to send
the time info (1,4,0,5) to port 3 of the Basic stamp? SEROUT 3,16468,
[noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC Minutes.HIGHNIB, DEC
Minutes.LOWNIB] And what would be the output of this? Again, thanks a
lot for your help and prompt reply.
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
[noparse][[/noparse]Non-text portions of this message have been removed]
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
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
For example, the current time is 13:16, what could be the output of
this command?
SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
Minutes.HIGHNIB, DEC Minutes.LOWNIB]
And if I use SEROUT 16, the data will be transferred through pin 1
of the BS2?
Thank you. I would appreciate any idea.
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> That depends on how your time data is stored. If hours and
minutes are
> decimal values then you need to use / and // to get the 10's and
1's
> values.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: H D [noparse][[/noparse]mailto:amser00@y...]
> Sent: Saturday, April 10, 2004 1:07 PM
> To: basicstamps@yahoogroups.com
> Subject: RE: [noparse][[/noparse]basicstamps] Plz help with Voice extreme+BS2
>
>
> Thanks Jon for your valuable advice,
> I just started using BS2 so I don't have a good understanding of
how it
> works. This is for my design project at school. Back to my
example, if
> the time now is 2:05pm , which is 14:05, can I use this command to
send
> the time info (1,4,0,5) to port 3 of the Basic stamp? SEROUT
3,16468,
> [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC Minutes.HIGHNIB, DEC
> Minutes.LOWNIB] And what would be the output of this? Again,
thanks a
> lot for your help and prompt reply.
>
>
>
>
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
>
> 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
>
>
>
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p...
transmitted out the BASIC Stamp's programming port.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: amser00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=R_hVJSViEbTTg47Ke7lw_yPjydTYGgcC4e8KcomBgrJXTHUFu9JlrejzM274Bxko59Fo7YZh-ote]amser00@y...[/url
Sent: Sunday, April 11, 2004 1:10 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Plz help with Voice extreme+BS2
My time data was entered in HEX format.
For example, the current time is 13:16, what could be the output of
this command?
SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
Minutes.HIGHNIB, DEC Minutes.LOWNIB]
And if I use SEROUT 16, the data will be transferred through pin 1
of the BS2?
Thank you. I would appreciate any idea.
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> That depends on how your time data is stored. If hours and
minutes are
> decimal values then you need to use / and // to get the 10's and
1's
> values.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: H D [noparse][[/noparse]mailto:amser00@y...]
> Sent: Saturday, April 10, 2004 1:07 PM
> To: basicstamps@yahoogroups.com
> Subject: RE: [noparse][[/noparse]basicstamps] Plz help with Voice extreme+BS2
>
>
> Thanks Jon for your valuable advice,
> I just started using BS2 so I don't have a good understanding of
how it
> works. This is for my design project at school. Back to my
example, if
> the time now is 2:05pm , which is 14:05, can I use this command to
send
> the time info (1,4,0,5) to port 3 of the Basic stamp? SEROUT
3,16468,
> [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC Minutes.HIGHNIB, DEC
> Minutes.LOWNIB] And what would be the output of this? Again,
thanks a
> lot for your help and prompt reply.
SEROUT 16, 16384, [noparse][[/noparse]"Hi"], then in fact the data WILL go out
the 'Physical' pin 1 of the Stamp, I believe. The Stamp also has
a 'P1', which is what the BOE calls "Pin 1", even though it's really
the I/O Pin 1, not the physical pin 1.
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> No, if you use pin 16 in a SEROUT instruction the data will be
> transmitted out the BASIC Stamp's programming port.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: amser00 [noparse][[/noparse]mailto:amser00@y...]
> Sent: Sunday, April 11, 2004 1:10 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Plz help with Voice extreme+BS2
>
>
> My time data was entered in HEX format.
> For example, the current time is 13:16, what could be the output of
> this command?
> SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
> Minutes.HIGHNIB, DEC Minutes.LOWNIB]
> And if I use SEROUT 16, the data will be transferred through pin 1
> of the BS2?
> Thank you. I would appreciate any idea.
>
>
>
>
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > That depends on how your time data is stored. If hours and
> minutes are
> > decimal values then you need to use / and // to get the 10's and
> 1's
> > values.
> >
> > -- Jon Williams
> > -- Applications Engineer, Parallax
> > -- Dallas Office
> >
> >
> >
Original Message
> > From: H D [noparse][[/noparse]mailto:amser00@y...]
> > Sent: Saturday, April 10, 2004 1:07 PM
> > To: basicstamps@yahoogroups.com
> > Subject: RE: [noparse][[/noparse]basicstamps] Plz help with Voice extreme+BS2
> >
> >
> > Thanks Jon for your valuable advice,
> > I just started using BS2 so I don't have a good understanding of
> how it
> > works. This is for my design project at school. Back to my
> example, if
> > the time now is 2:05pm , which is 14:05, can I use this command to
> send
> > the time info (1,4,0,5) to port 3 of the Basic stamp? SEROUT
> 3,16468,
> > [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC Minutes.HIGHNIB, DEC
> > Minutes.LOWNIB] And what would be the output of this? Again,
> thanks a
> > lot for your help and prompt reply.
1316
--- In basicstamps@yahoogroups.com, "amser00" <amser00@y...> wrote:
> My time data was entered in HEX format.
> For example, the current time is 13:16, what could be the output of
> this command?
> SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
> Minutes.HIGHNIB, DEC Minutes.LOWNIB]
> And if I use SEROUT 16, the data will be transferred through pin 1
> of the BS2?
> Thank you. I would appreciate any idea.
>
>
>
>
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > That depends on how your time data is stored. If hours and
> minutes are
> > decimal values then you need to use / and // to get the 10's and
> 1's
> > values.
> >
> > -- Jon Williams
> > -- Applications Engineer, Parallax
> > -- Dallas Office
> >
> >
> >
Original Message
> > From: H D [noparse][[/noparse]mailto:amser00@y...]
> > Sent: Saturday, April 10, 2004 1:07 PM
> > To: basicstamps@yahoogroups.com
> > Subject: RE: [noparse][[/noparse]basicstamps] Plz help with Voice extreme+BS2
> >
> >
> > Thanks Jon for your valuable advice,
> > I just started using BS2 so I don't have a good understanding of
> how it
> > works. This is for my design project at school. Back to my
> example, if
> > the time now is 2:05pm , which is 14:05, can I use this command
to
> send
> > the time info (1,4,0,5) to port 3 of the Basic stamp? SEROUT
> 3,16468,
> > [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC Minutes.HIGHNIB, DEC
> > Minutes.LOWNIB] And what would be the output of this? Again,
> thanks a
> > lot for your help and prompt reply.
> >
> >
> >
> >
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online by April 15th
> >
> > [noparse][[/noparse]Non-text portions of this message have been removed]
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> > This message has been scanned by WebShield. Please report SPAM to
> > abuse@p...
writing code for my Nuts & Volts column (gratuitous plug) and was
thinking purely in terms of "standard" IO pins. SEROUT 16 sends the
output (inverted) to the SOut pin which is physical pin 1 on the device.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Allan Lane [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=1mNKFTo-gmmkNxwn2R76t2fZAHSUGUB9kKlKFSXOH0m29-jF2VIiSAwhfn7B6lGiq0RJVHvCeHDMzrrse6bl86Xm0A]allan.lane@h...[/url
Sent: Sunday, April 11, 2004 4:25 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Plz help with Voice extreme+BS2
Well, actually, if you do:
SEROUT 16, 16384, [noparse][[/noparse]"Hi"], then in fact the data WILL go out
the 'Physical' pin 1 of the Stamp, I believe. The Stamp also has
a 'P1', which is what the BOE calls "Pin 1", even though it's really
the I/O Pin 1, not the physical pin 1.
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> No, if you use pin 16 in a SEROUT instruction the data will be
> transmitted out the BASIC Stamp's programming port.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: amser00 [noparse][[/noparse]mailto:amser00@y...]
> Sent: Sunday, April 11, 2004 1:10 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Plz help with Voice extreme+BS2
>
>
> My time data was entered in HEX format.
> For example, the current time is 13:16, what could be the output of
> this command?
> SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
> Minutes.HIGHNIB, DEC Minutes.LOWNIB]
> And if I use SEROUT 16, the data will be transferred through pin 1
> of the BS2?
> Thank you. I would appreciate any idea.
>
>
>
>
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > That depends on how your time data is stored. If hours and
> minutes are
> > decimal values then you need to use / and // to get the 10's and
> 1's
> > values.
> >
> > -- Jon Williams
> > -- Applications Engineer, Parallax
> > -- Dallas Office
> >
> >
> >
Original Message
> > From: H D [noparse][[/noparse]mailto:amser00@y...]
> > Sent: Saturday, April 10, 2004 1:07 PM
> > To: basicstamps@yahoogroups.com
> > Subject: RE: [noparse][[/noparse]basicstamps] Plz help with Voice extreme+BS2
> >
> >
> > Thanks Jon for your valuable advice,
> > I just started using BS2 so I don't have a good understanding of
> how it
> > works. This is for my design project at school. Back to my
> example, if
> > the time now is 2:05pm , which is 14:05, can I use this command to
> send
> > the time info (1,4,0,5) to port 3 of the Basic stamp? SEROUT
> 3,16468,
> > [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC Minutes.HIGHNIB, DEC
> > Minutes.LOWNIB] And what would be the output of this? Again,
> thanks a
> > lot for your help and prompt reply.
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
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
Just one more question, if the time is 13:16, the output of
SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
Minutes.HIGHNIB, DEC Minutes.LOWNIB]
would be a stream of numbers "1 3 1 6", right? (i.e. 1 3 1 6 1 3 1
6... until the clock goes to the next minute, which is 1 3 1 7 1 3 1
7..)Maybe what I think is wrong, any idea? Thanks!
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> Good point, Alan, thanks for bringing it up -- I was in the middle
of
> writing code for my Nuts & Volts column (gratuitous plug) and was
> thinking purely in terms of "standard" IO pins. SEROUT 16 sends
the
> output (inverted) to the SOut pin which is physical pin 1 on the
device.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: Allan Lane [noparse][[/noparse]mailto:allan.lane@h...]
> Sent: Sunday, April 11, 2004 4:25 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: Plz help with Voice extreme+BS2
>
>
> Well, actually, if you do:
> SEROUT 16, 16384, [noparse][[/noparse]"Hi"], then in fact the data WILL go out
> the 'Physical' pin 1 of the Stamp, I believe. The Stamp also has
> a 'P1', which is what the BOE calls "Pin 1", even though it's
really
> the I/O Pin 1, not the physical pin 1.
>
> --- In basicstamps@yahoogroups.com, "Jon Williams"
<jwilliams@p...>
> wrote:
> > No, if you use pin 16 in a SEROUT instruction the data will be
> > transmitted out the BASIC Stamp's programming port.
> >
> > -- Jon Williams
> > -- Applications Engineer, Parallax
> > -- Dallas Office
> >
> >
> >
Original Message
> > From: amser00 [noparse][[/noparse]mailto:amser00@y...]
> > Sent: Sunday, April 11, 2004 1:10 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Re: Plz help with Voice extreme+BS2
> >
> >
> > My time data was entered in HEX format.
> > For example, the current time is 13:16, what could be the output
of
> > this command?
> > SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
> > Minutes.HIGHNIB, DEC Minutes.LOWNIB]
> > And if I use SEROUT 16, the data will be transferred through pin
1
> > of the BS2?
> > Thank you. I would appreciate any idea.
> >
> >
> >
> >
> >
> > --- In basicstamps@yahoogroups.com, "Jon Williams"
<jwilliams@p...>
> > wrote:
> > > That depends on how your time data is stored. If hours and
> > minutes are
> > > decimal values then you need to use / and // to get the 10's
and
> > 1's
> > > values.
> > >
> > > -- Jon Williams
> > > -- Applications Engineer, Parallax
> > > -- Dallas Office
> > >
> > >
> > >
Original Message
> > > From: H D [noparse][[/noparse]mailto:amser00@y...]
> > > Sent: Saturday, April 10, 2004 1:07 PM
> > > To: basicstamps@yahoogroups.com
> > > Subject: RE: [noparse][[/noparse]basicstamps] Plz help with Voice extreme+BS2
> > >
> > >
> > > Thanks Jon for your valuable advice,
> > > I just started using BS2 so I don't have a good understanding
of
> > how it
> > > works. This is for my design project at school. Back to my
> > example, if
> > > the time now is 2:05pm , which is 14:05, can I use this
command to
> > send
> > > the time info (1,4,0,5) to port 3 of the Basic stamp? SEROUT
> > 3,16468,
> > > [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC Minutes.HIGHNIB, DEC
> > > Minutes.LOWNIB] And what would be the output of this? Again,
> > thanks a
> > > lot for your help and prompt reply.
>
>
>
> 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
>
>
>
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p...
on the other end to take the stream.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: amser00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=lzsbRFy9zX-kJjbLnAWrgxcXxDSucOMYGFD-5qnVbOV5FzTUhN7YjIJtel3wESuF-dJVzZ0gkFw]amser00@y...[/url
Sent: Sunday, April 11, 2004 5:30 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Re: Plz help with Voice extreme+BS2
Thank you all,
Just one more question, if the time is 13:16, the output of
SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
Minutes.HIGHNIB, DEC Minutes.LOWNIB]
would be a stream of numbers "1 3 1 6", right? (i.e. 1 3 1 6 1 3 1
6... until the clock goes to the next minute, which is 1 3 1 7 1 3 1
7..)Maybe what I think is wrong, any idea? Thanks!
>SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
>Minutes.HIGHNIB, DEC Minutes.LOWNIB]
Then this also will work...
SEROUT 3,16468, [noparse][[/noparse]HEX2 Hours, HEX2 Minutes]
Both will send the same string of 4 ascii characters, e.g. "1316" to
logical pin p3.
-- Tracy
>
Original Message
>From: amser00 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=GlqPPUCmKt6LJ0JoMjy2kG3-b7CI6gBDar0x5Z_kIOqusiSlgjoCOhJbHd7ygBvHVnoXStUgJg]amser00@y...[/url
>Sent: Sunday, April 11, 2004 5:30 PM
>To: basicstamps@yahoogroups.com
>Subject: [noparse][[/noparse]basicstamps] Re: Plz help with Voice extreme+BS2
>
>
>Thank you all,
>Just one more question, if the time is 13:16, the output of
>SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
>Minutes.HIGHNIB, DEC Minutes.LOWNIB]
>would be a stream of numbers "1 3 1 6", right? (i.e. 1 3 1 6 1 3 1
>6... until the clock goes to the next minute, which is 1 3 1 7 1 3 1
>7..)Maybe what I think is wrong, any idea? Thanks!
your Hours and Minutes variables. You stated they were entered in
HEX format. Depending on how you're using that term, 13:16 could be
stored as $0D and $10 in Hours and Minutes respectively, and DEC
Hours.HIGHNIB could be "0", DEC Hours.LOWNIB would be "13", DEC
Minutes.HIGHNIB would be "1", and DEC Minutes.LOWNIB would be "0".
If in doubt, simply DEBUG the variables using the exact same
modifiers as your SERIN statment--that will show you what SERIN would
send.
Regards,
Steve
On 11 Apr 04 at 22:29, amser00 wrote:
> Thank you all,
> Just one more question, if the time is 13:16, the output of
> SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
> Minutes.HIGHNIB, DEC Minutes.LOWNIB]
> would be a stream of numbers "1 3 1 6", right? (i.e. 1 3 1 6 1 3 1
> 6... until the clock goes to the next minute, which is 1 3 1 7 1 3 1
> 7..)Maybe what I think is wrong, any idea? Thanks!
I've just found out another problem.
I know the RS232 standard is that -12V = 0x1
and +12V = 0x0. My Voice Extreme chip uses TTL levels, but the
signal is inverted from the RS232 standard (i.e. 0V = 0x0, +3V = 0x1)
So to send the signal from the Basic stamp to my Voice Extreme, do I
have to invert it?
Thanks!
--- In basicstamps@yahoogroups.com, "S Parkis" <parkiss@e...> wrote:
> As Jon hinted earlier, it all depends on how the values are stored
in
> your Hours and Minutes variables. You stated they were entered in
> HEX format. Depending on how you're using that term, 13:16 could
be
> stored as $0D and $10 in Hours and Minutes respectively, and DEC
> Hours.HIGHNIB could be "0", DEC Hours.LOWNIB would be "13", DEC
> Minutes.HIGHNIB would be "1", and DEC Minutes.LOWNIB would be "0".
>
> If in doubt, simply DEBUG the variables using the exact same
> modifiers as your SERIN statment--that will show you what SERIN
would
> send.
>
> Regards,
>
> Steve
>
>
> On 11 Apr 04 at 22:29, amser00 wrote:
>
> > Thank you all,
> > Just one more question, if the time is 13:16, the output of
> > SEROUT 3,16468, [noparse][[/noparse]DEC Hours.HIGHNIB, DEC Hours.LOWNIB, DEC
> > Minutes.HIGHNIB, DEC Minutes.LOWNIB]
> > would be a stream of numbers "1 3 1 6", right? (i.e. 1 3 1 6 1 3
1
> > 6... until the clock goes to the next minute, which is 1 3 1 7 1
3 1
> > 7..)Maybe what I think is wrong, any idea? Thanks!