background image

www.linksprite.com 

 

 

4

 / 

9

 

 

4. Communication Protocol 

 
1.  Reset  

 

Command (HEX) 

Return (HEX) 

56 00 26 00 

76 00 26 00 

 

2.  Take picture 

 

Command (HEX) 

Return (HEX) 

56 00 36 01 00 

76 00 36 00 00 

 

3.  Read JPEG file size 

 

Command (HEX) 

Return (HEX) 

56 00 34 01 00 

76 00 34 00 04 00 00 XH XL 

 
 
XH XL is the file length of JPEG file, MSB is in the front, and followed 
by LSB. 

 

4.  Read JPEG file content 

 
 
JPEG file starts with FF D8 and ends with FF D9. 
 
To read the JPEG file, always starts with address 00 00,and choose a 
chunk size that are an integer times of 8, and read the chunk many 
times until reds FF D9 which indicates the end of the JPEG file.  
 
Command(HEX) 
56 00 32 0C 00 0A 00 00 MH ML 00 00 KH KL XX XX  
 
Return (HEX) 
76 00 32 00 00 

Interval time

 FF D8 

。。。

……

。。。(

Interval time

 

76 00 32 00 00 

Interval time

= XX XX*0.01mS  XX XX are recommended to be 00 0A 

00 00 MH ML: Starting address 
00 00 KH KL: Length of JPEG file 
MSB first, and LSB last 
 
 
 
 

Summary of Contents for LS-Y201-Infrared

Page 1: ...www linksprite com 1 9 LinkSprite JPEG Color Camera Serial UART Interface With Infrared November 2010 sales linksprite com...

Page 2: ...red feature has a built in sensor to sense the ambient light and will automatically turn on the infrared LED 2 Specification a VGA QVGA 160 120 resolution b Support capture JPEG from serial port c Def...

Page 3: ...www linksprite com 3 9 4 Interface definition Default baud rate is 38400 bps Name descriptions RED RXD IN Brown TXD OUT Purple GND Gray 5V DC...

Page 4: ...JPEG file content JPEG file starts with FF D8 and ends with FF D9 To read the JPEG file always starts with address 00 00 and choose a chunk size that are an integer times of 8 and read the chunk many...

Page 5: ...0 00 56 00 31 05 04 01 00 19 00 640 480 76 00 31 00 00 56 00 31 05 04 01 00 19 22 160 120 76 00 31 00 00 After changing the image size it is needed to reset or power cycle 8 Power Saving Entering Powe...

Page 6: ...el is used in the module as the communication distance of raw UART cannot be longer than 1 meter 4 When powered on serial port will output the following message actively Ctrl infr exist User defined s...

Page 7: ...www linksprite com 7 9 Capture a JPEG picture...

Page 8: ...www linksprite com 8 9...

Page 9: ...inksprite com 9 9 LinkSprite Technologies Inc Add 1067 S Hover St Unit E 186 Longmont CO 80501 Tel 720 204 8599 Email sales linksprite com Technical questions support linksprite com Web www linksprite...

Reviews: