Sparki spy camera

#include <Sparki.h> // include the sparki library

void setup() 
{
  sparki.servo(0);
   for (int i = 0; i < 10; i=i+1)
   {
  sparki.moveRight(40);
delay(200000);
sparki.moveLeft(40);
delay(200000);
sparki.moveRight(40);
delay(200000);
sparki.moveLeft(40);
delay(200000);
   }

}

void loop() 
{

}


I made a bracket 
for Sparki to hold 
an old smartphone 
on which I can access
 the camera and video
 from my own smartphone
 via wifi. I wrote this
 code to test how long 
Sparki could run a simple
 program for and to keep 
the camera moving at 
regular intervals.
 This worked really well 
and I was impressed with 
the results.
Sparki easily managed
the two hours.

JPG (2)
Advertisements

One thought on “Sparki spy camera

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s