yasser saber
Published © Apache-2.0

Smart Selfie Stick

Add more Fun and Energy for Selfie Stick by controlling Capture with voice level and post it automatically on tweeter .

BeginnerFull instructions provided4,144

Things used in this project

Hardware components

selfie stick
Any Cheap kind , does not contain any additions
×1
1Sheeld
1Sheeld
Basically, 1Sheeld consists of two parts. The first part is a shield that is physically connected to your Arduino board and acts as a wireless middle-man, piping data between Arduino and any Android smartphone via Bluetooth. The second part is a software platform and app on Android smartphones that manages the communication between our shield and your smartphone and let your choose between different available shields.
×1
Arduino UNO
Arduino UNO
You can use any other model compatible with 1Sheeld
×1

Schematics

Components to make your own smart selfie stick

simple and uncomplicated ,it does not require any wiring or additional electronic components !

Code

Smart selfie stick

C/C++
By using this example, you can controlling camera Capture with voice level if the
smartphone's mic reports a certain noise level and Post the picture on Twitter.
/*

Mic , Camera and twitter Shield 

This example shows an application on 1Sheeld's mic shield  control camera and Twitter shield.

By using this example, you can controlling camera Capture with  voice level  if the
smartphone's mic reports a certain noise level and Post the picture on Twitter.

*/

/* Include 1Sheeld library. */
#include <OneSheeld.h>



void setup()
{
	/* Start communication. */
	OneSheeld.begin();
	
}

void loop ()
{
	/* Always check the noise level. */
	if(Mic.getValue() > 80)
	{
		/* Turn on the camera flash. */
    Camera.setFlash(ON);
    /* Take the picture. */
    Camera.rearCapture();
    /* Wait for 10 seconds. */
    OneSheeld.delay(10000);
    /* Post the picture on Twitter. */
    Twitter.tweetLastPicture("Posted by @1Sheeld");
	}
	
}

Untitled file

Arduino
/*

Mic and Camera Shield Example

This example shows an application on 1Sheeld's mic shield  control camera and Twitter shield.

By using this example, you can controlling camera Capturer with  voice level  if the
smartphone's mic reports a certain noise level and Post the picture on Twitter.

*/

/* Include 1Sheeld library. */
#include <OneSheeld.h>



void setup()
{
	/* Start communication. */
	OneSheeld.begin();
	
}

void loop ()
{
	/* Always check the noise level. */
	if(Mic.getValue() > 80)
	{
		/* Turn on the camera flash. */
    Camera.setFlash(ON);
    /* Take the picture. */
    Camera.rearCapture();
    /* Wait for 10 seconds. */
    OneSheeld.delay(10000);
    /* Post the picture on Twitter. */
    Twitter.tweetLastPicture("Posted by @1Sheeld");
	}
	
}

Smart selfie stick

This example shows an application on 1Sheeld's mic shield control camera and Twitter shield. By using this example, you can controlling camera Capturer with voice level if the smartphone's mic reports a certain noise level and Post the picture on Twitter.

Credits

yasser saber

yasser saber

2 projects • 7 followers

Comments