/ArduCam

Primary LanguageProcessing

ArduCam

A small Processing sketch that downloads an ArduCam image over the USB Serial cable (or any serial connection including Bluetooth).

Captures 320x240 JPEG image every couple of seconds using single shot capture command (0x10).

You will need to manually configure the appropriate COM port in the code.

The Arduino sketch used is one of the ArdUCam examples: ArduCAM_Mini_2MP_OV2640_functions.

Protocol


Write
0x10

Receive (first shot)
ACK CMD ArduCAM Start! END
ACK CMD SPI interface OK. END
ACK CMD OV2640 detected. END
ACK CMD CAM start single shoot. END
ACK CMD CAM Capture Done. END
6152
ACK IMG END
`Binary Payload`

Receive (subsequent shots)
ACK CMD CAM start single shoot. END
ACK CMD CAM Capture Done. END
5128
ACK IMG END
`Binary Payload`