akdaniel
Posts: 1
Joined: Thu Apr 03, 2014 2:44 pm

Data logging, GPRS and display

Thu Apr 03, 2014 4:03 pm

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.

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Data logging, GPRS and display

Thu Apr 03, 2014 9:28 pm

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.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Data logging, GPRS and display

Fri Apr 04, 2014 6:34 am

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.
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Data logging, GPRS and display

Fri Apr 04, 2014 2:37 pm

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.

Dodopi
Posts: 1
Joined: Sun Apr 13, 2014 1:38 pm

Re: Data logging, GPRS and display

Sun Apr 13, 2014 9:40 pm

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.

Return to “Automation, sensing and robotics”