Amarino project- Arduino and Android based light sensor
With this project/application, you can make a light sensor dependent lamp. You can make a light sensor or dark sensor with this application.
The light sensor of your Android smart phone senses ambient light present in your room and sends commands to Arduino board. Your Arduino program determines the behaviour of the LED, whether it should glow bright or dim. You can also see the light sensor data on the smart phone interface.
If you have never worked with Amarino before, I strongly recommend you to visit www.amarino-toolkit.net and try the basic projects published on that site.
After visiting Amarino website, do these two experiments:
a. http://www.buildcircuit.com/multi-color-lamp-using-amarino-android-and-arduino/
b. http://www.buildcircuit.com/sensorgraph-using-android-amarino-and-arduino/
This project is completely based on Amarino API, Meet Android– Arduino Library and the previously mentioned articles.
Read about Meet Android Library.
For non-programmers:
Download application
This “QR Code” allows you to use a mobile device to easily scan this URL to download this file onto that device.
Connect an LED and Bluetooth Module (BlueSMiRF mate silver) to Arduino.
See the pin configuration of BlueSMiRF mate silver module.
There are different versions of BlueSMiRF bluetooth modules available on sparkfun. I have used BlueSMiRF mate silver for this experiment. If you are using some other versions of BlueSMiRF, please change your connections. However, the basic rule is as follows:
a. RX of Bluetooth module- TX of Arduino.
b. TX of Bluetooth module- RX of Arduino
c. VCC- 5V of Arduino.
d. GND- GND of Arduino
Upload the following code to Arduino:
For Programmers:
Your circuit picture is wrong. You show the ground connected to 5v, and you don’t have the Vcc connected at all. You don’t have a resistor on the LED which would be fine if you used the internal resistor in pin 13, but you aren’t.
I have corrected the layout.