OmniBoard KIT2: JPEG camera recorder (053)

Get this page as PDF

last update: January 15, 2009.

 

OmniBoard Projects Home

This is an intermediate dsPIC project.

It interfaces a miniature C328 serial JPEG camera:

  • image preview can be shown on an RGB OLED.
  • captured JPEG images may be written to a MMC or SD card.
  • camera connects @28.8 kbps.
  • 2..10 images/min transfer, depending on resolution.
  • User menu control via RS232/joystick. See details below.
  • 7 user selectable operation modes:
  • mode 1: 160x120 8-bit greyscale uncompressed to OLED.
  • mode 2: (default mode) 160x120 16-bit (565) RGB uncompressed to OLED.
  • mode 3:  640x480 JPEG YCbCr 4:2:2 compressed to RS232 (terminal screen.)
  • mode 4: 640x480 JPEG YCbCr 4:2:2 compressed stored to SD card.
  • mode 5: Four sequencial 80x60 8-bit greyscale previews: Quad-split OLED
  • mode 6: 160x120 8-bit greyscale preview.
  • mode 7: module and interface are both idle.
  • Assembled and programmed pcb.
  • Battery supply +3V5 ... +6V, integrated voltage regulator.
  • ON/OFF with single pushbutton.
  • Bootloader support.
  • Hardware is compatible with other omniboard projects and can be upgraded.
  • RGB 160x128 OLED and serial camera to be bought separately

Shop:

 

  Free schematics, diagrams and downloads available.

KIT2 + OLED + JPEG Camera

 

  Downloads:  
 

 

Get this page as PDF

 
 

 

 project example (053) with image preview to OLED

        JPEG camera autoportrait, saved to SD card

 

  Connections:  
   

How to make it work?

  1. Use a supply or battery between +3V5 ... +6V
  2. Optional terminal through RS232-1 @ 115200 bpS, 8N1, "type comm"
  3. JPEG camera connected via RS232-2
  4. MMC or SD(HC) cards must be formatted as FAT16. FAT32 will be supported later.
  5. Choose configuration via user menu:
    • OLED preview: on/off
    • save to MMC/SD(HC) card: on/off

RS232 terminal & bootloader.

 

 

In case you need to reprogram the dsPIC from scratch, then use the ICSP+ connector X3, connected to a hardware programmer, like the dsPIC USB programmer: WinPic800.

Omniboard ICSP+ (X3 connector) connection pins:

  1. !MCLR/VPP
  2. PGD (data)
  3. GND
  4. PGC (clock)
  5. +3v3
  6. leave open
  7. leave open
  8. leave open (closest to pcb corner)
 


 

Images: (click images to view full resolution)

   

pcb top view pcb bottom view

Diagrams: (click images to view full resolution)
   
  pcb top diagram pcb bottom diagram  

Component Datasheets:

Check out our development tools page.

Operation modes:

  • mode 1: 160x120 8-bit greyscale uncompressed to OLED.
  • mode 2: (default mode) 160x120 16-bit (565) RGB uncompressed to OLED.
  • mode 3:  640x480 JPEG YCbCr 4:2:2 compressed to RS232 (terminal screen.)
  • mode 4: 640x480 JPEG YCbCr 4:2:2 compressed stored to SD card.
  • mode 5: Four sequencial 80x60 8-bit greyscale previews: Quad-split OLED
  • mode 6: 160x120 8-bit greyscale preview.
  • mode 7: module and interface are both idle.

User Menu: joystick controls:

  • Enter (short): activates mode 1
  • Right: mode 2
  • Left: mode 3
  • Up: mode 4
  • Down: mode 5
  • Enter (long): mode 7

 

User Menu: RS232 controls:

  • Any number transmitted over the serial RS232 connection @ 115200 bps + ENTER.
  • So 1...7 followed by ENTER (carriage return - 0x0d) activates the corresponding mode.

 

 

 

 

terminal screen output


 

 

 

<< back to the OmniBoard HomePage

TechDesign Electronics 2005-2009