I would like to read the data from the instrument and transmit it to the PC placed some where else through internet using any medium such as GSM Mobile or Internet by LAN or Wifi. This is my basic requirement.
If it is possible with Arduino Uno or any other model, then what are the components are required for this.
Maximum how many instruments can we connect with one Arduino Uno?
Can we get the acknowledgement for each packet of data sent by Arduino?
If any network failure occurs, will the Arduino stores the data till it send?
If it is possible with Arduino Uno or any other model, then what are the components are required for this.
It is. You need an Arduino and some kind of shield - Ethernet, WiFi, or GSM. If at all possible, Ethernet is the most reliable, easiest, and cheapest.
Maximum how many instruments can we connect with one Arduino Uno?
Lots. Or one. Or none. Without knowing what kind of instruments you are talking about, and what kind of data you want to collect from them, no answer is possible.
Can we get the acknowledgement for each packet of data sent by Arduino?
If the other end sends one...
If any network failure occurs, will the Arduino stores the data till it send?
Thanks for your reply. The instrument is Ambient Air Quality Measurement Equipment. Ex: Ozone Analyzer. It is used to measure the Ozone in the ambient air in real time. It has serial port for data transmission. There are 4 parameters to configure the instrument.
Instrument Address: 8 alphanumeric digits
Baud Rate: 1200, 2400, 4800, 9600, 19200
Format: Number of bits: 7 or 8
Parity: No parity, even parity or odd parity
Stop bit: 1 bit or 2 bits
Communication Mode: Md04, PRN, Jbus, Spe1, Spe2
If you want you can refer "Environment s.a" companies instrument manuals. There are lots of instruments of this kind.
cpcbmurthy:
If you want you can refer "Environment s.a" companies instrument manuals. There are lots of instruments of this kind.
That is not a very practical statement - don't expect people to give up their free time to read manuals on your behalf. If there is a specific item in a manual that you need help with post a link to that manual and identify which page needs to be read.
Anyway ...
From you description it seems like your sensor connects to a serial port and it would be best to use an Arduino that has a free serial port in addition to the port used for connection to the PC for programming.
That means a Mega (which has 4 Hardware Serial ports) or a Leonardo which has 1 free port.
You can create a SoftwareSerial port on an Uno which may be sufficient for your needs but the Hardware Serial ports work much better.
The ESP8266 modules seem to provide a cheap WiFi option.
An Arduino Yun has WiFi and Ethernet included but it does NOT have a free Hardware serial port.
Thanks for your reply and sorry to say to refer manuals.
Can you elaborate how to create hardware serial port to connect to instrument.
Once the instrument is connected and run the program, arduino uno will read the data from instrument and transmits to the PC through internet either by wifi or eathernet. If I have the internet in my PC, how can I receive and store the data. Is there any other arduino or any hardware is required. Please explain.
Can you elaborate how to create hardware serial port to connect to instrument.
I said create "SoftwareSerial". There is no need to create a hardware port. If you really meant SoftwareSerial you should look it up in the reference pages
Once the instrument is connected and run the program, arduino uno will read the data from instrument and transmits to the PC through internet either by wifi or eathernet. If I have the internet in my PC, how can I receive and store the data. Is there any other arduino or any hardware is required. Please explain.
What Arduino are you planning to use?
You can get Ethernet or WiFi shields to add capability, however they are not cheap. AFAIK the ESP8266 module is a cheaper way to add WiFi capability.
Bluetooth might be another option.
I am assuming you don't want to connect to the PC with a USB cable - that is the simplest solution.
I would like to use Arduino Uno, which I have with me.
My requirement is to get the data from instrument to my PC. Both are in two different cities.
First of all I would like to test whether I am able to read the data from the instrument. For that I thought to connect my PC to instrument (keeping both near by) through micro controller. That is why I am asking for two serial ports. If it success, then, I will try to connect through internet either by Eathernet or GSM etc.
Is my approach is correct. Suggest me if I am wrong.
First of all I would like to test whether I am able to read the data from the instrument. For that I thought to connect my PC to instrument (keeping both near by) through micro controller. That is why I am asking for two serial ports. If it success, then, I will try to connect through internet either by Eathernet or GSM etc.
You might be able to do some simple testing with your uno and pc if you have them witth the instrument where you can connect the tx/rx/gnd pins between the instrument and uno. Is the serial connection to the instrument RS232 or TTL?
If the device has a "real" RS232 port the voltages will not be compatible with the TTL voltages that the Arduino serial uses and you will need a level converter such as a MAX232.
In the instrument manual, it is clearly noted that if the instrument is directly connected to a terminal or PC, only RX, TX and Ground wires are used. I think it is not real RS232.
In the instrument manual, it is clearly noted that if the instrument is directly connected to a terminal or PC, only RX, TX and Ground wires are used. I think it is not real RS232.
Connected how? Through a DB9 (9 pin serial) connector or through a USB connector? If its a DB9 connector, that IS RS232 levels, which WILL fry your Arduino?
Why the hell are you being so secretive about the stupid instrument? Post a link!