Raspberry Pi

If you are a Windows user and Linux and Raspberry Pi is new for you, please familiarise yourself with the Python and Bluetooth DAQ Starter Kit under Windows first before attempting the Raspberry Pi DAQ server exercise.

Android

If you are new to Android Python programming (requires Android scripting), please familiarise yourself with the Android Python programming environment at smartphonedaq.com before attempting to run the following examples.

Please test your smartphone using the Test EMANT380 app at the android installation page to ensure that your Android smartphone model supports the Bluetooth SPP profile required by the EMANT380. Our reference in-house test Android smartphones are the Nexus One and Nexus S.

For the Android example scripts, the bluetooth MAC address for your EMANT380 module is optional. For multiple modules and if you want to specify, you must modify the bluetooth MAC address for your EMANT380 module before running the examples.

For Android Smartphone, the scripts should be stored in the SD Drive->sl4a->scripts folder.

You need to pair the EMANT380 to your Android phone or PC once. Run the examples just like any of the examples provided by Android or PC.

Although the Android emulator does not support bluetooth, due to the way python is emulated, all UI and python services uses the emulator whereas the bluetooth commands are executed via the Windows environment. For the end user, this means you can use IDLE IDE to write your program, test it and when you are satisfied, push the program to the Android phone to run natively. It also allows workshops to be run with just PCs and the emulator. For more information, read Python on the Android emulator. For information on the SDK - you do not need to install eclipse but you do require to install the USB driver.

Python with Bluetooth DAQ examples:

The examples are written for the Light Application Adaptor which comes with the Bluetooth Starter Kit and USB DAQ Training Kit. If you do not have the Light Application Adaptor, you will only read the HwId.

Unless otherwise specified, the examples are written for the Bluetooth Starter Kit. You will need to modify the code to run the USB DAQ Training Kit.

copyright (c) 2002 - 2015 Emant Pte Ltd Co. Regn. No. 200210155R | Terms of Use | Privacy |
Email this page
LabVIEW is the trademark of National Instruments. MATLAB is a registered trademark of The MathWorks, Inc. Other Product and Brand names are trademarks of their respective companies