This experiment makes the use of ‘Android- Arduino BTCOMM Shield’ and Amarino. If you are not familiar with the shield, visit this page.
This experiment is similar to my previous tutorial- Sensor graph and LED controller together.
You can also see one more similar experiment- Sensor graph and LED controller using Smart Phone- Arduino Shield.
If you have never worked with Amarino, I strongly recommend you to visit Amarino page and understand the basics of Amarino.
In this experiment, the sensor signal is fed to A0. Get the circuit layout of Amarino Shield
a. Download Amarino and install on your Android Phone.
b. Download Amarino Library for Arduino and move it to the Libraries folder.
c. Download temperature data(with LED controller) application and install on your phone. If you know Android Programming, you can download the Android source code also.
d. Download Arduino code and upload in your Arduino.
(Note: The Arduino sketch for this experiment is slightly different from the original source code from Amarino. The extra codes on the sketch deactivates the CD4094 chip. It is necessary to deactivate CD4094, otherwise, the power is shared with the chip and it affects this experiment. For Amarino 3.0 shield, you can simply switch off the DIP switch)
If you are interested in CD4094 experiments, follow this link.
NOTE: The Arduino Sketch has its baud rate set at 9600 bits/s. Therefore, your Bluetooth module should also have the same baud rate. Generally, the default baud rate of BlueSMiRF and general bluetooth adaptors is 9600 bps. However, if you want to change baud rate of BlueSMiRF module, follow this link.
I have tested this experiment with both 57600 bps and 9600 bps and it works perfectly well. I don’t know if we can change baud rate of general ebay Bluetooth adaptors.
The shields version 1.0 and 2.0 have spaces for two different Bluetooth Adapters. Check if you have these adapters. Even if you don’t have these adapters, you can use any other by fixing on breadboard and connecting with extra cable.
f. Activate Bluetooth function of your phone and note down the MAC ID of your Bluetooth adapter and write it on the text box of your application.
You can also modify this example to get the temperature data in graphical form. Check out similar sensor graph experiment.
Fully assembled kit is also available on buildcircuit.net.