In this project, you can control an LED and see sensor graph simultaneously. For your convenience, I have used a simple light sensor circuit. The resistance of the photo resistor varies with the amount of light falling on it. The amount of light is varied with LED controller and the sensor data variation can be seen on the Sensor Graph.
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:
This project is completely based on Amarino API, Meet Android– Arduino Library and the previously mentioned articles.
Then use the MeetAndroid Arduino Library.
Then upload the following code on your Arduino.
The circuit layout is given below:
EasyEDA: Ideas for Circuit Design, Innovation for Electronics Access
Free Circuit Design: Schematic - Simulation - PCB Layout - Gerber Viewer
JLCPCB Prototype & Small-batch PCB: Only $2 for 10pcs 10×10cm PCBs, 24 hours Quick Turn, DHL Delivery in 3 Days