Devices & Components
Arduino Uno Rev3
Selfie stick Remote
UTSOURCE Electronic Parts
Software & Tools
Arduino IDE
Project description
Code
Wireless_Control_of_Phone.Camera.c
c_cpp
1/* Control any cell phone camera with Arduino Wirelessly****** 2 By Ashraf Minhaj. Find him at ashraf_minhaj@yahoo.com 3 youTube channel www.youtube.com/c/fusebatti */ 4 5 /* This is a demo code with a proximity sensor on how to Trigger 6 the camera of your cell Phone by Arduino. You can make Ultrasound 7 Motion sensor or PIR sensor to work as a Motion sensing anti theft 8 Camera system. 9 * It's just an Idea , The Sky is the Limit */ 10 11int trig = 13; 12void setup() 13{ 14 pinMode(trig,OUTPUT); 15 Serial.begin(9600); // initialize serial communication at 9600 bits per second: 16} 17 18 19void loop() // the loop routine runs over and over again forever: 20{ 21 int sensorValue = analogRead(A0); // read the input on analog pin 0: 22 Serial.println(sensorValue); // print out the value you read: 23 delay(1); // delay in between reads for stability 24 25 if(sensorValue > 900) //Something is detected/ object has been stolen 26 { 27 digitalWrite(trig,HIGH); //trigger the camera 28 delay(100); 29 digitalWrite(trig,LOW); 30 delay(1000); // delay 1 sec_Take a picture in every second 31 } 32 else 33 { 34 digitalWrite(trig,LOW); 35 36 } 37}
Wireless_Control_of_Phone.Camera.c
c_cpp
1/* Control any cell phone camera with Arduino Wirelessly****** 2 By 3 Ashraf Minhaj. Find him at ashraf_minhaj@yahoo.com 4 youTube channel www.youtube.com/c/fusebatti 5 */ 6 7 /* This is a demo code with a proximity sensor on how to Trigger 8 9 the camera of your cell Phone by Arduino. You can make Ultrasound 10 Motion 11 sensor or PIR sensor to work as a Motion sensing anti theft 12 Camera system. 13 14 * It's just an Idea , The Sky is the Limit */ 15 16int trig = 13; 17void 18 setup() 19{ 20 pinMode(trig,OUTPUT); 21 Serial.begin(9600); // initialize 22 serial communication at 9600 bits per second: 23} 24 25 26void loop() // 27 the loop routine runs over and over again forever: 28{ 29 int sensorValue = 30 analogRead(A0); // read the input on analog pin 0: 31 Serial.println(sensorValue); 32 // print out the value you read: 33 delay(1); // delay in between 34 reads for stability 35 36 if(sensorValue > 900) //Something is detected/ 37 object has been stolen 38 { 39 digitalWrite(trig,HIGH); //trigger the camera 40 41 delay(100); 42 digitalWrite(trig,LOW); 43 delay(1000); // 44 delay 1 sec_Take a picture in every second 45 } 46 else 47 { 48 digitalWrite(trig,LOW); 49 50 51 } 52}
Wireless_Control_of_Phone.Camera
Downloadable files
Camera Control.circuit
Camera Control.circuit

Camera Control_Sonar Motion detect-Anti theft
Camera Control_Sonar Motion detect-Anti theft

Camera Control with Proximity motion detector-Anti theft
Camera Control with Proximity motion detector-Anti theft

Camera Control_Sonar Motion detect-Anti theft
Camera Control_Sonar Motion detect-Anti theft

Camera Control.circuit
Camera Control.circuit

Camera Control with Proximity motion detector-Anti theft
Camera Control with Proximity motion detector-Anti theft

Comments
Only logged in users can leave comments