Interfacing a Serial Port Enabled DMM with a Basic Stamp
Archiver
Posts: 46,084
I am building a test box that uses a BS2P40 microcontroller. I
purchased a Metex DMM with a serial port. The Metex meter does an
excellent job of communicating with a PC when used in conjunction
with the interface software provided with the meter. [noparse][[/noparse]So good, I
would like to ask the following question...]
Does anyone in this group have any experience interfacing a serial
port enabled DMM with a Basic Stamp? If so, I would like to ask for
some amplifying details.
I am hoping to use the meter for running a calibration routine on the
test box and any ideas would be greatly appreciated.
Thank you for your help.
Eric in Japan
purchased a Metex DMM with a serial port. The Metex meter does an
excellent job of communicating with a PC when used in conjunction
with the interface software provided with the meter. [noparse][[/noparse]So good, I
would like to ask the following question...]
Does anyone in this group have any experience interfacing a serial
port enabled DMM with a Basic Stamp? If so, I would like to ask for
some amplifying details.
I am hoping to use the meter for running a calibration routine on the
test box and any ideas would be greatly appreciated.
Thank you for your help.
Eric in Japan
Comments
PC interface. the software works fine even under Windows 2000. the problem
is, the DMM uses a odd protocol of 600 baud 7 bits, no parity, 2 stop bits.
I can't figure out how to setup the BS2 to read that protocol. anyone have
any ideas? I checked the help file but it doesn't mention how to configure
the stop bits.
ummm, just now thought about it. since the DMM data word is 14 bytes if
there is no way to do it using SERIN then maybe I could just us SHIFTIN to
clock in 14 bytes
At 03:31 PM 2/3/2004, you wrote:
>I am building a test box that uses a BS2P40 microcontroller. I
>purchased a Metex DMM with a serial port. The Metex meter does an
>excellent job of communicating with a PC when used in conjunction
>with the interface software provided with the meter. [noparse][[/noparse]So good, I
>would like to ask the following question...]
>Does anyone in this group have any experience interfacing a serial
>port enabled DMM with a Basic Stamp? If so, I would like to ask for
>some amplifying details.
>
>I am hoping to use the meter for running a calibration routine on the
>test box and any ideas would be greatly appreciated.
>
>Thank you for your help.
>
>Eric in Japan
>
>
>
>
>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/
Try this:
You can calculate 600 baud with the appropiate fornulae for your BS.
You can treat the 7,N,2 as 8,N,1 because a stopbit is a logical 0.
This means shifting all command codes 1 bit to the left before sending
them to the DMM. Whatever you read from the DMM must then shift
1 bit to the right to get the proper response codes.
success.
regards peter
Original Message
From: "Daryl Berryhill" <djberry@h...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, February 04, 2004 5:02 AM
Subject: Re: [noparse][[/noparse]basicstamps] Interfacing a Serial Port Enabled DMM with a
Basic Stamp
> I am having a similar problem. I have a Radio Shack DMM (cat # 22-805)
with
> PC interface. the software works fine even under Windows 2000. the
problem
> is, the DMM uses a odd protocol of 600 baud 7 bits, no parity, 2 stop
bits.
> I can't figure out how to setup the BS2 to read that protocol. anyone have
> any ideas? I checked the help file but it doesn't mention how to
configure
> the stop bits.
>
> ummm, just now thought about it. since the DMM data word is 14 bytes if
> there is no way to do it using SERIN then maybe I could just us SHIFTIN to
> clock in 14 bytes
>
>
>
>
> At 03:31 PM 2/3/2004, you wrote:
> >I am building a test box that uses a BS2P40 microcontroller. I
> >purchased a Metex DMM with a serial port. The Metex meter does an
> >excellent job of communicating with a PC when used in conjunction
> >with the interface software provided with the meter. [noparse][[/noparse]So good, I
> >would like to ask the following question...]
> >Does anyone in this group have any experience interfacing a serial
> >port enabled DMM with a Basic Stamp? If so, I would like to ask for
> >some amplifying details.
> >
> >I am hoping to use the meter for running a calibration routine on the
> >test box and any ideas would be greatly appreciated.
> >
> >Thank you for your help.
> >
> >Eric in Japan
> >
> >
> >
> >
> >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/
>
>
> 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/
>
>
I'll try something like that.
thanks
At 12:39 AM 2/4/2004, you wrote:
>Daryl,
>
>Try this:
>You can calculate 600 baud with the appropiate fornulae for your BS.
>You can treat the 7,N,2 as 8,N,1 because a stopbit is a logical 0.
>This means shifting all command codes 1 bit to the left before sending
>them to the DMM. Whatever you read from the DMM must then shift
>1 bit to the right to get the proper response codes.
>
>success.
>regards peter
>
>
Original Message
>From: "Daryl Berryhill" <djberry@h...>
>To: <basicstamps@yahoogroups.com>
>Sent: Wednesday, February 04, 2004 5:02 AM
>Subject: Re: [noparse][[/noparse]basicstamps] Interfacing a Serial Port Enabled DMM with a
>Basic Stamp
>
>
> > I am having a similar problem. I have a Radio Shack DMM (cat # 22-805)
>with
> > PC interface. the software works fine even under Windows 2000. the
>problem
> > is, the DMM uses a odd protocol of 600 baud 7 bits, no parity, 2 stop
>bits.
> > I can't figure out how to setup the BS2 to read that protocol. anyone have
> > any ideas? I checked the help file but it doesn't mention how to
>configure
> > the stop bits.
> >
> > ummm, just now thought about it. since the DMM data word is 14 bytes if
> > there is no way to do it using SERIN then maybe I could just us SHIFTIN to
> > clock in 14 bytes
> >
> >
> >
> >
> > At 03:31 PM 2/3/2004, you wrote:
> > >I am building a test box that uses a BS2P40 microcontroller. I
> > >purchased a Metex DMM with a serial port. The Metex meter does an
> > >excellent job of communicating with a PC when used in conjunction
> > >with the interface software provided with the meter. [noparse][[/noparse]So good, I
> > >would like to ask the following question...]
> > >Does anyone in this group have any experience interfacing a serial
> > >port enabled DMM with a Basic Stamp? If so, I would like to ask for
> > >some amplifying details.
> > >
> > >I am hoping to use the meter for running a calibration routine on the
> > >test box and any ideas would be greatly appreciated.
> > >
> > >Thank you for your help.
> > >
> > >Eric in Japan
> > >
> > >
> > >
> > >
> > >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/
> >
> >
> > 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/
> >
> >
>
>
>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/
i beleave it draws power from the interface from dtr
rts i never got it going with just the three
--- Daryl Berryhill <djberry@h...> wrote:
> I am having a similar problem. I have a Radio Shack
> DMM (cat # 22-805) with
> PC interface. the software works fine even under
> Windows 2000. the problem
> is, the DMM uses a odd protocol of 600 baud 7 bits,
> no parity, 2 stop bits.
> I can't figure out how to setup the BS2 to read that
> protocol. anyone have
> any ideas? I checked the help file but it doesn't
> mention how to configure
> the stop bits.
>
> ummm, just now thought about it. since the DMM data
> word is 14 bytes if
> there is no way to do it using SERIN then maybe I
> could just us SHIFTIN to
> clock in 14 bytes
>
>
>
>
> At 03:31 PM 2/3/2004, you wrote:
> >I am building a test box that uses a BS2P40
> microcontroller. I
> >purchased a Metex DMM with a serial port. The
> Metex meter does an
> >excellent job of communicating with a PC when used
> in conjunction
> >with the interface software provided with the
> meter. [noparse][[/noparse]So good, I
> >would like to ask the following question...]
> >Does anyone in this group have any experience
> interfacing a serial
> >port enabled DMM with a Basic Stamp? If so, I
> would like to ask for
> >some amplifying details.
> >
> >I am hoping to use the meter for running a
> calibration routine on the
> >test box and any ideas would be greatly
> appreciated.
> >
> >Thank you for your help.
> >
> >Eric in Japan
> >
> >
> >
> >
> >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/
>
>
> 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/
>
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/