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.
After visiting Amarino website, do these two experiments:
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 All Your PCB Need, One-stop PCB Solution Services Appear
EasyEDA: free PCB design tool, 200,000+ engineers are using
PCBs: 10pcs 2-layer 10x10cm only $8.21, on-time global shipping
Components: save up to 50% , combine shipment with PCBs