Moblie Data Logging made Simple
using pfodApp, your Andriod mobile and Arduino.
NO Android Programming required.

For Plotting Data on your Android see this later Instuctable

Simple Remote Data Plotting using Android / Arduino / pfodApp


This instructable shows you how to capture Arduino sensor data on your Android mobile for later downloading to your computer.
No Android programming is required and very little the Arduino programming is needed.
See www.pfod.com.au for more easy projects

Quick Start

a) Get an Arduino board and a Bluetooth Module (such as Uno and Bluetooth Shield or FioV3+Bluetooth/Wifi)
b) Install Arduino IDE
c) Connect the Arduino board (no bluetooth module attached) with a USB cable. (for Uno)
d) Copy this sketch into the Arduino IDE and compile and load it into the Arduino board)
e) Attach the Bluetooth Shield module to the Uno (The Bluetooth Shield is pre-configured for 9600baud BUT set the 3V/5V switch to 5V and set the To Board/To FT232 switch to the To Board position.
f) Load your Android Mobile with pfodApp .
g) Set up a connection between your mobile and the Bluetooth module as described in pfodAppForAndroidGettingStarted.pdf
h) Start the pfodApp and connect to your Arduino board via the Bluetooth module.
i) Finished.

Some dummy Sample Data is displayed on your mobile and save to the SD card. (as shown)
pfodAppForAndroidGettingStarted.pdf describes how to transfer the data file from your mobile to your computer.

The rest of this instructable goes into the details and shows you how to modify the sketch to send your own data.
The pfodApp can do much more, see these examples at www.pfod.com.au

Step 1: Background - Simple Data Logging

The latest version of pfodApp available from the Android Market enables raw data sent by a pfodDevice to be saved to a file for later use. See the pfodAppForAndroidGettingStarted.pdf for how to download the file from your Android mobile to your computer.

The pfodApp has a 'raw data' screen on which is displayed all data received that were not pfod messages enclosed by { }. This screen can be accessed from pfodApp using your mobile's menu
or it can be opened by the pfodDevice sending a streamingRawData message,
{=Title Of the Screen Goes Here}
(See the Arduino sketch later in this instructable).

Either way the pfodApp raw data screen is opened and will display the data that has been sent from the pfodDevice. When the screen is opened, pfodApp will start to save the data to a file. The name of the file is displayed each time the screen is opened.

To prevent your mobile filling up with data you did not want, pfodApp does not start writing data to the mobile's SD card until the first time the Raw Data screen is opened after a each new connection. The first time the Raw Data screen is opened after a new connection, up to 4K bytes of previously received data (since the connection was made) is written to file when it is opened. In most cases this means all the raw data sent since the connection was made will be saved. When the connection is closed, the last of the data is written and the file is closed.

If the file already exists, from a previous connection, it is appended to by each subsequent connection. You can delete the file from your computer. See the pfodAppForAndroidGettingStarted.pdf for how to access the file from your computer.

So in summary to save data from your Arduino to your Android mobile you need to connect to your Arduino (as a pfodDevice) using pfodApp, either by bluetooth or wifi, have your Arduino send data and open the raw data screen to start saving it. That's all.

The rest of this instructable will detail a simple sketch that implements a pfodDevice and sends some (dummy) data.

Latest version of <a href="https://play.google.com/store/apps/details?id=au.com.forward.pfodApp" rel="nofollow">pfodApp</a> V2.1.16 adds plotting of raw data. See the <a href="http://www.forward.com.au/pfod/pfodSpecification.pdf" rel="nofollow">pfodSpecification.pdf</a> for details. I will add an instructable later.
Thanks Thisnis what I want to know ,!

About This Instructable




More by drmpf:High Accuracy Remote Data Logging Using Mulitmeter/Arduino/pfodApp Remote High Speed Data Logging using Arduino/GL AR150/Android/pfodApp Adafruit WICED Code Generator 
Add instructable to: