Data collection over a modem
Hi everyone, I am looking for some information on modem interfacing
with the BS2. I currently have a system that collects data from
various sensors and then stores it on an external EEPROM through a
serial connection.
Here is the problem: I want to download the data from a remote
location. I currently own the Cermetek CH1786 Appkit, but I am
confused on how I would actually download the data instead of just
monitoring like in the Appkit.
Does anyone out there have any thoughts on this???
Thanks,
Rick Stava
prstava@e...
with the BS2. I currently have a system that collects data from
various sensors and then stores it on an external EEPROM through a
serial connection.
Here is the problem: I want to download the data from a remote
location. I currently own the Cermetek CH1786 Appkit, but I am
confused on how I would actually download the data instead of just
monitoring like in the Appkit.
Does anyone out there have any thoughts on this???
Thanks,
Rick Stava
prstava@e...
Comments
Your Stamp could use the serout command to send the modem setup string
(maybe just ATZ) and set to auto-answer.
Use the serin comand to wait for a "ring detect" R-I-N-G-<CR><LF>
Then answer and wait for the CONNECT response from the modem.... and maybe
put out a message like "Hello world! Press enter and I'll tell you what I
know"
On receipt of the <CR> you can start sending your data and at the end
terminate the call and start the whole process over again. Or ask for
confirmation that the data was well received, giving the option to
retransmit before overwriting your EEPROM etc... How much error recovery do
you need/want?
In fact, I would use the numeric result codes from the modem because they
take up less room in your stamp code for comparing pursposes.
Does that make sense or did I miss something in your requirements?
Don Russell
Original Message
From: <prstava@e...>
To: <basicstamps@yahoogroups.com>
Sent: Tuesday, February 13, 2001 9:56 PM
Subject: [noparse][[/noparse]basicstamps] Data collection over a modem
> Hi everyone, I am looking for some information on modem interfacing
> with the BS2. I currently have a system that collects data from
> various sensors and then stores it on an external EEPROM through a
> serial connection.
>
> Here is the problem: I want to download the data from a remote
> location. I currently own the Cermetek CH1786 Appkit, but I am
> confused on how I would actually download the data instead of just
> monitoring like in the Appkit.
>
> Does anyone out there have any thoughts on this???
>
> Thanks,
>
> Rick Stava
> prstava@e...
>
>
>
>
>
prstava@engrs.unl.edu writes:
with the BS2. ·I currently have a system that collects data from
various sensors and then stores it on an external EEPROM through a
serial connection.
Here is the problem: I want to download the data from a remote
location. ·I currently own the Cermetek CH1786 Appkit, but I am
confused on how I would actually download the data instead of just
monitoring like in the Appkit.
Test your transfer method with a straight serial link first. ·As the AppKit
demonstrates, once the modem has answered and connected, all of your
exchanges will happen with SERIN and SEROUT.
What this means is that you have to write some code to accept data from the
outiside world or transfer it to the PC. ·GOTO to my files directory:
http://members.aol.com/jonwms/stamps
and download the file called EEMOVER.ZIP. ·This has BS2 and VB files for
exchanging EEPROM data between the Stamp and PC through a serial connection.
-- Jon Williams
-- Dallas, TX[/font]