Arduino Source with Infrared IRJPEG TTL Serial Camera Webcam Taking Picture UNO R3

Customer Review 0Review(s) | Product Details
451 Units in Stock
Price :
US$40.30



Quantity: - +
Total :
US$40.30
VIP Center Learn more 0
Silver VIP 3% off
Gold VIP 5% off
PLATINUM vip 10% off
Why Choose Us?
  • Worldwide Free Shipping
  • Free Gift Packing
  • Unbeatable Price
  • Over 10,000 Fashion Items Desgins
  • 30 Days Money Back Guarantee


Provide the upper machine (PC) test program source code

  • LS - Y201 is a highly integrated camera module, image by JPEG compression. Through simple serial command control image, obtain. Module adopts strict production process, qualified for general industrial environment, performance is very reliable, has widely applied to the wireless image transmission, image acquisition, monitoring, monitoring, and the people with monitoring, monitoring equipment. Applicable areas: security system, image acquisition system, environmental monitoring, industrial process control, medical equipment, videophone, power distribution network monitoring, hydrological monitoring, oil monitoring system, the city street light monitoring such as municipal engineering, railway monitoring, GPS positioning information back, urban public transport vehicle monitoring, highway monitoring, monitoring of mine production, forestry protection monitoring, exploration of surveying and mapping monitoring, intelligent community monitoring, logistics management, monitoring, yard management monitoring, weather monitoring, environmental monitoring, intelligent instrument and meter monitoring, industrial automation monitoring, all kinds of alarm system

  • The realization of the function of infrared by built-in sensors automatically adjust according to the environmental needs.

  • Note: this product is TTL serial interface, RS232 serial port connection with computer to add level switching modules.

Parameter

  • QVGA/VGA / 160 * 120 resolution

  • Support from the serial port for JPEG images

  • The default baud rate is 38400

  • DC 3.3 V or 5 V power supply

  • Size 32 mm X 32 mm

  • Current range: 80-100 ma

  • C03 beside the stitch is AV output, it is an analog output interface

Application

  • The environmental monitoring

  • Industrial monitoring

  • Medical equipment

  • Video phone

  • Security system

Related

User Manual:http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/LightImaging/UserManual.pdf

Imaging Specs:

http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/LightImaging/ImagingSpec.pdf

Arduino Code:http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/LightImaging/LinkSprite_cam_IR.zip

Product Video:http://youtu.be/fTfra9K7eQM?t=1m7s

#include

byte incomingbyte;

NewSoftSerial mySerial(4,5);                     //Configure pin 4 and 5 as soft serial port

int a=0x0000,j=0,k=0,count=0;                    //Read Starting address      

uint8_t MH,ML;

boolean EndFlag=0;

void SendResetCmd();

void SendTakePhotoCmd();

void SendReadDataCmd();

void StopTakePhotoCmd();

void setup()

{

  Serial.begin(19200);

  mySerial.begin(38400);

}

void loop()

{

     SendResetCmd();

     delay(4000);                               //After reset, wait 2-3 second to send take picture command

     

      SendTakePhotoCmd();


     while(mySerial.available()>0)

      {

        incomingbyte=mySerial.read();


      }  

      byte a[32];

     

      while(!EndFlag)

      { 

         j=0;

         k=0;

         count=0;

         SendReadDataCmd();


         delay(25);

          while(mySerial.available()>0)

          {

               incomingbyte=mySerial.read();

               k++;

               if((k>5)&&(j<32)&&(!endflag))< span="">

               {

               a[j]=incomingbyte;

               if((a[j-1]==0xFF)&&(a[j]==0xD9))      //Check if the picture is over

               EndFlag=1;                          

               j++;

        count++;

               }

          }

        

          for(j=0;j          {   if(a[j]<0x10)< span="">

              Serial.print("0");

              Serial.print(a[j],HEX);

              Serial.print(" ");

          }                                       //Send jpeg picture over the serial port

          Serial.println();

      }     

     while(1);

}


//Send Reset command

void SendResetCmd()

{

      mySerial.print(0x56, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(0x26, BYTE);

      mySerial.print(0x00, BYTE);

}


//Send take picture command

void SendTakePhotoCmd()

{

      mySerial.print(0x56, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(0x36, BYTE);

      mySerial.print(0x01, BYTE);

      mySerial.print(0x00, BYTE); 

}


//Read data

void SendReadDataCmd()

{

      MH=a/0x100;

      ML=a%0x100;

      mySerial.print(0x56, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(0x32, BYTE);

      mySerial.print(0x0c, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(0x0a, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(MH, BYTE);

      mySerial.print(ML, BYTE);  

      mySerial.print(0x00, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(0x20, BYTE);

      mySerial.print(0x00, BYTE); 

      mySerial.print(0x0a, BYTE);

      a+=0x20;                            //address increases 32,set according to buffer size

}


void StopTakePhotoCmd()

{

      mySerial.print(0x56, BYTE);

      mySerial.print(0x00, BYTE);

      mySerial.print(0x36, BYTE);

      mySerial.print(0x01, BYTE);

      mySerial.print(0x03, BYTE);       

}


Reviews

Create your own review

You can get 5 SmartArduino Points by commenting on the products( Login first ).

User Name: *
Comment Rank: 1 2 3 4 5 *
Confirm Text: captcha *
Content: *