Seed-Eye test for acquiring frames from camera peripheral 




This application note provides instructions for a SEED_EYE image board.

The system will acquire a QQVGA image (160 x 120) and will send it to the PC through the UART Port.


image capture_scheme

(The picture shows the system architecture)


Hardware Requirements

  • SEED-EYE board with camera board;
  • PC with Python;
  • TTL-USB adapter to connect PC with board;
  • picKit3 or ICD3 or other PIC programmer.


Software Requirements

  • Erika + RTDruid;
  • C32 Compiler;
  • Python 2.6 with Python Imaging Library and Pyserial.


Running the demo

To run the demo there are two ways:

  1.  download the pre-compiled example camera.elf or camera.hex  (File) and go to point a)
  1. download ERIKA + RTDruid

    " C32 Compiler"


    (follow the instructions in this page: Instruction)

    When Eclipse is installed click on “File → New → RT-Druid C/C++ Project

    → Create a project using one of these template → pic32 → SEED-EYE

    → camera_demo ”

    “Right click on project → build"

    go to point a)



  1. program the pic board with the .elf file (or .hex file) located inside the Debug folder into the main project folder (workspace/camera/Debug) or in the zip file;

  2. connect the board with the PC;

  3. reset the board (all leds are off);

  4. run seed-eye_python script (LD2 is on):

    $ python /dev/ttyS0 (or USB0, depending on the mounting point of the TTL adapter) [image 1-2];

  5. wait for the pop-up window with the image (all leds are  on) [image 3];


image capture_screenshot1

 Image 1


 image capture_screenshot2

 Image 2

 image capture_screenshot3

  Image 3





Riccardo Pelliccia



Salvatore Marrapese;

Claudio Salvadori.