No announcement yet.

Problem after sending initial command

  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem after sending initial command


    I am working with the uCam and I have experimented a issue after sending the initial command. I mean, the first thing I do is to send the sync command which the ack is received correctly. Then I present the initial command and its ack is received well, but the next command that I present is Package size command. The response by the camera is AA F0 00 00 F0 00 and according to the datasheet correspond to the Command Header Error.

    However if I send the Package size command after I send the sync command without presenting Initial command, the response is correct and so for the next commands. (snapshot picture, JPEG, 640x480). The baudRate between the camera and the Arduino is 57600 bps.
    Click image for larger version

Name:	Problem.PNG
Views:	82
Size:	24.5 KB
ID:	53247

    As it is seen in the initial command, the camera parameters are: Color Type: JPEG, Raw resolution: 640x480 and JPEG resolution: 640x480.
    The package size is: 40 bytes (0x28).

    Thanks a lot
    Last edited by alvarin; 24 June 2016, 02:38 PM.