Control Phone Camera Wirelessly Using ARDUINO!!!!!

About: A Computer Science and Engineering student and a Hobbyist. love to make robots,electric devices,diy things and Programming them by Myself. My youtube channel https://www.youtube.com/fussebatti Follow me on ...

Ever Wondered Making an Anti-theft device With camera trigger system? Or you want to make a device for your chocolate thief little brother which would just take Picture when and if he takes the chocolate away.

To be Clear, this post is all about Controlling Smart Phone Camera by Arduino WIRELESS'LY. I'm just providing you the process to Control The camera using arduino. What you'll build using it is all up to you. The sky is the limit, right? Lets hop in guys.

Step 1: Parts You'll Need

  1. Arduino (ANY BOARD\ any development board you'd prefer)
  2. Selfie stick remote
  3. Any transistor // I've used BC547 npn Transistor

Step 2: Principle

Well the selfie stick remote controls Phone Camera using Bluetooth technology when a button is pressed. What we will do today is to trigger the switch anyway using arduino.

So , we'll be using our transistor as what it was actually made to do- using it as a switch. we'll connect the BASE pin of a transistor to Arduino . And the Emitter & Collector will be attached to two points of the button of the Remote.

The working process:

Arduino will make The base pin HIGH so the the Collector & Emitter of Transistor will get connected and thus the button will get pressed virtually using arduino. Got it? lets proceed.

Step 3: Open the Cover and Take Out the Remote's PCB.

Carefully open the cover of the remote.

Remember which switch for which Platform, there's tow switches one for Android Phones, one for IOS. You would use the button / switch as your Phones OS is.

Step 4: Build the Remote Circuit.

as I've mentioned earlier Connect any transistors (my case BC547 npn) Emitter and Collector To the buttons two end and the Base to Arduino. DONT FORGET to connect the Ground pin of remote with Arduino .

NOTE : I've powered the remote with it's own battery . It's powered using a 3v button cell, as Arduino has 3.3v not 3v so I didnt take the risk . That's why we need to common the Ground pin.

Step 5: Application???

Man, you are done making this. This part is just two demonstrate how this can be used. So I've made a Infrared Proximity detector and Motion Camera Trigger System. Remember: I've connected the output pin of proximity sensor to Analog Input 'A0' so that i get a high range and guess what? It worked for even 9 to 11 INCH!!

Code Download- Camera Control by arduino

Or Copy from below

/* Control any cell phone camera with Arduino Wirelessly******
By Ashraf Minhaj. Find him at ashraf_minhaj@yahoo.com youTube channel www.youtube.com/c/fusebatti */

/* This is a demo code with a proximity sensor on how to Trigger the camera of your cell Phone by Arduino. You can make Ultrasound Motion sensor or PIR sensor to work as a Motion sensing anti theft Camera system. * It's just an Idea , The Sky is the Limit */ int trig = 13; void setup() { pinMode(trig,OUTPUT); Serial.begin(9600); // initialize serial communication at 9600 bits per second: }

void loop() // the loop routine runs over and over again forever: { int sensorValue = analogRead(A0); // read the input on analog pin 0: Serial.println(sensorValue); // print out the value you read: delay(1); // delay in between reads for stability

if(sensorValue > 900) //Something is detected/ object has been stolen { digitalWrite(trig,HIGH); //trigger the camera delay(100); digitalWrite(trig,LOW); delay(1000); // delay 1 sec_Take a picture in every second } else { digitalWrite(trig,LOW); } }

Upload the Code and see what happens.

There's also a Circuit using Sonar sensor HCsr04.

Again, I'm just giving you the Idea- Let me know what you want to make using this? Let me know in the comment section.

Share

    Recommendations

    • Plastics Contest

      Plastics Contest
    • Make it Glow Contest 2018

      Make it Glow Contest 2018
    • Optics Contest

      Optics Contest

    2 Discussions