Page 1 of 1

Data logging, GPRS and display

Posted: Thu Apr 03, 2014 4:03 pm
by akdaniel
Hi

I am a newbie. So please bear with me. This is what I want to do:

1- I have a sensor.
2- I want to get the data from the sensor through the I/O
3- I want to send the data through GPRS to an ftp address to store the data in a database.

Is this feasible with the raspberry pi? If so any hints as to what software library exists for configuring the rapberry pi and extra hardware I need to make this work?

Thank yo for your help.

Re: Data logging, GPRS and display

Posted: Thu Apr 03, 2014 9:28 pm
by Tarcas
Of course you can do it, but different sensors work in different ways, so without more details, nobody, here or anywhere else, is going to be able to help you.
What's the sensor? Make, model, link to the datasheet would be good.
What inputs and outputs does it have? These will be on the datasheet.
You can't send data through a GPRS, but you can send data received from a GPRS to anywhere you want. I'm not sure about sending to an FTP address to store in a database though... that seems like an odd way to do it.

Re: Data logging, GPRS and display

Posted: Fri Apr 04, 2014 6:34 am
by DeeJay
Tarcas wrote: You can't send data through a GPRS,
I think the enquirer means a cell-phone-like external dongle - not a GPS Receiver?

If I'm right, the answer is that as long as the dongle is supported by your Operating system then it simply creates a network interface for the system to communicate over. Many people will advise you that using a dated and inherently insecure protocol like ftp is not a good way to plan to transfer data over the public internet.

Re: Data logging, GPRS and display

Posted: Fri Apr 04, 2014 2:37 pm
by Tarcas
DeeJay wrote:
Tarcas wrote: You can't send data through a GPRS,
I think the enquirer means a cell-phone-like external dongle - not a GPS Receiver?

If I'm right, the answer is that as long as the dongle is supported by your Operating system then it simply creates a network interface for the system to communicate over. Many people will advise you that using a dated and inherently insecure protocol like ftp is not a good way to plan to transfer data over the public internet.
You're probably right. I was reading GPRS (General Packet Radio Service) as GPSR (Global Positioning System Receiver.) My mistake.

Re: Data logging, GPRS and display

Posted: Sun Apr 13, 2014 9:40 pm
by Dodopi
Hi

If the GPRS is used as an internet connection, then using a proper programming language I think you can directly connect your pi to the database and update it with the new data. That can be done either directly, or by storing the data on a local database on the sd card and then updating the main database (on internet) periodically . That depends on how stable and expensive your GPRS is.