Home Android Amarino Amarino Experiment- Temperature sensor data and LED controller on Amarino Interface

Amarino Experiment- Temperature sensor data and LED controller on Amarino Interface

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

Steps:

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 AdaptersCheck 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.

If you buy Amarino shield version 3.0, there are spaces for 3 different bluetooth adapters.

e. Stack your shield and Bluetooth adapter over Arduino. Below you can see the connections for BlueSMiRF Mate Silver and general adapter.
CD4094 and android emulator     Amarino- Android- Arduino- Shield (2)

See photos for Amarino shield V.3.0.

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.

g. Connect to the Bluetooth adapter from your phone, operate the LED and see the LM35 temperature data on the Amarino interface.
amarino-arduino-android (11)

You can also modify this example to get the temperature data in graphical form. Check out similar sensor graph experiment.

real store logo

Fully assembled kit is also available on buildcircuit.org.

OTHER EXPERIMENTS WITH THIS SHIELD                   CIRCUIT LAYOUT ON BREADBOARD

1 COMMENT

Leave a Reply