Tuesday, June 3, 2014

Licensing of work completed!!

As you can see on the top of the page, we have licensed our work/product, crediting to Project Arditor.

The Arduimobile Documentation

Download the ardimobile documentation file from the URL below.


https://www.dropbox.com/s/192dz6nc6ggbugn/Arduimobile%20Product%20Docx.odt


Thursday, May 29, 2014

THE GENIUS CAMERA FEATURE.... WORKEDDDDD

IT WORKED?

After 2 sleepless nights without rest..... IT WORKED?? THE CAMERA FINALLY WORKED????

MY WORK HERE ON EARTH IS DONE. I MUST GO NOW MY PEOPLE NEED ME!!!

I CAN FINALLY SLEEP AFTER 28 HRS AWAKE.

THIS IS HOW SATISFIED I FEEL RIGHT NOW

This Is A Super Feel.
I AM VERY CRANKY AND INSANE NOW >> I AM NOT MYSELF BUT I SHALL DOCUMENT THIS MILESTONE.

I'M NOT GONNA EVEN RECOGNIZE THAT I WROTE THIS BEFORE I SLEEP LATER...

I use an app on my mobile phone called IP camera and it so happens to give a very accurate and fixed server IP address. Instead on using an ip camera, we shall place my phone into Arduimobile and connecting to the local wifi network.

This is a new attraction is that we are able to use our very own phone as the camera for the function.

And we have also solved a latency issue that was rather distasteful when the cloud camera was tested out in a home network (not using NTUSECURE/ NTUWL).

Now the live stream speed has improved and we are able to hook up video imaging for our intended feature.




I had enough but this is a sweet beginning for our finale product... This mod rocks. <3 <3 <3


Wednesday, May 28, 2014

Problems encountered so far

As with all great projects, there will always be a few limitations we need to overcome.

After Monday (26th May) lecture, there are two issues to be addressed:

1. We need to find a way to get around the security issue surrounding the mydlink account that governs the camera usage. We have established the fact that the laptop used to access the mydlink viewing page and the camera itself has connection to the local school server. This might likely be resolved by recreating the mydlink account and registering the IP address using NTUSECURE.

2. The huge lag experienced during the live feed is likely due to the fact that the path the feedback is sent is really very complex. The flow chart below (I do not own this picture, taken from and credited to mydlink.com) shows the layers of filters the feedback needs to travel from the camera to the laptop for the user to view the live feed.





What we hope to do is keep the path in the blue zone, from the Camera to the Router to the PC.

This is why Open source is important, look at all the trouble we could have potentially avoided. Unfortunately, we were not able to get an open source camera, given the time frame we were given to work with, which would have been much easier to work with.

Tuesday, May 27, 2014

The code that powers the Arduino

#include <SoftwareSerial.h>
int sensorpin = 5;             // analog pin used to connect the sharp sensor
int val = 0; // variable to store the values from sensor(initially zero)
int DistInCm = 0 ;
int SensorPin = 1 ;
int LightVal = 0 ;


SoftwareSerial mySerial(0,1); // pin 2 = TX, pin 3 = RX (unused)

void setup()
{
  mySerial.begin(9600); // set up serial port for 9600 baud
  delay(500); // wait for display to boot up
  mySerial.write("    Welcome!    ");
  mySerial.write(254); // move cursor to beginning of first line
  mySerial.write(128);
  delay(5000);
}

void loop()
{

  mySerial.write("                "); // clear display
  mySerial.write("                ");
  mySerial.write(254); // move cursor to beginning of first line
  mySerial.write(128);
  val = analogRead(sensorpin);    // reads the value of the sharp sensor
  DistInCm = map(val ,600,0,0,40);
  mySerial.write("Distance :      ");
  if(DistInCm<= 10)
  {
    mySerial.write("Object close");
  }
  else if (DistInCm > 10 && DistInCm <= 20)
  {
     mySerial.write("Object near");
  }
  else if(DistInCm > 20 && DistInCm <= 30)
  {
    mySerial.write("Object far away");
  }
  else
  {
    mySerial.write("No object");
  }
 
 
  delay(5000);
  LightVal = analogRead(SensorPin);
  mySerial.write("                "); // clear display
  mySerial.write("                ");
  mySerial.write(254); // move cursor to beginning of first line
  mySerial.write(128);
  mySerial.write("LightInt :      ");

  if(LightVal<=300)
  {
    mySerial.write("Low");
  }
  else if (LightVal>300 && LightVal<=450)
  {
    mySerial.write("Medium");
  }
  else if (LightVal > 450 && LightVal <= 620)
  {
     mySerial.write("High");
  }
  else
  {
    mySerial.write("Very High");
  }
  delay(5000);
}


Saturday, May 24, 2014

WE. ARE. LIVE. (Beta still)




Meeting in the afternoon, we roamed the roads and alley ways in Singapore in an effort to find all our hardware needed to complete the Arduimobile.

We questioned ourselves one last time before heading out for our hunt. Will the project have growth potential and will it be sustainable?

We unanimously agreed that the project shall satisfy both requirements upon the fact that surveillance and mapping is a lively industry and the needs for such equipment and services range from any common individual to businesses and even governments. As existing products are only able to provided sole images of certain places of interest and roads as per user request, our project actually improves upon this function with our distance and light sensor which serves to calculate and display representations of the displacement of certain target objects from a point to the camera and also lighting conditions for the environment surrounding the target.

Then it was off we go on our hunt at Courts and Challenger to buy our wireless surveillance camera which we bought at a discount because Ezra signed up for membership on the spot. A cunning one, we have here. 

After exhausting all possible places to get a RC Car that doesn't cost us a bomb and is big enough to hold our Arduino Mother board, the camera, the display screen and the power source for the Arduino Mother Board.......... we decided to take a stop and rethink of our strategies for finding the stuff and we ended up at a place of childhood and modelling art, Tai Seng Corporation at North Bridge Road. 

This here is what immediately captured our hearts and we decided on this RC Car the moment we ended the shop.....


Deepest apology for the fat face and being "one of a kind at that". #Fountain

After which we triumphantly headed to an empty void deck with chairs to get fix our Arduimobile in a flash and this is the beautiful moment when our equipment started to piece together and run smoothly. #Nomoredonk



Our construct is well on it's way and possibly finished by the time you read this post. :)

Look forward to our product soon guys :)

Monday, May 19, 2014

Arduimobile?!

So on Monday 19/05/14,

We officially bought and started testing out our new Arduino Pro set. With the extensive and expensive set of equipment that we had bought, we were thrilled with the idea and possibility of being able to increase the interactivity and functions of our project.

Building upon the idea of Arduino software controlled camera, we have started making plans for a new product stemming from Project Arditor. This new product that we will construct in the week to come is called the Arduimobile. A remote controlled car with a surveillance camera attached to it, along with the Arduino Motherboard and a Liquid Crystal display.

What we hope to achieve is an Arduimobile that successfully uses infrared sensor to detect a target and take a picture of the target after which the Liquid display will reflect the lighting conditions and the distance calculated between the Camera and the Target captured in the picture. Also, we are projected to link up the camera video output to a local wireless hotspot, giving live feed to the projector screen in the point of view in first person plus the figures on the liquid display.

We are rather positive of the outcome of this product and given the time frame to work on this we are looking at a few more weeks of improvements and debugging after the product is up by the end of the week. We shall be obtaining the remote controlled car and camera soon.