Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase the frame rate by 320x240 #526

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions ArduCAM/ov5642_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,36 @@ const struct sensor_reg OV5642_640x480_RAW[] PROGMEM =

const struct sensor_reg ov5642_320x240[] PROGMEM =
{
{0x3800 ,0x4 },
{0x3801 ,0xFF},
{0x3802 ,0x2 },
{0x3803 ,0xE1},
{0x3804 ,0x5 },
{0x3805 ,0xd8},
{0x3806 ,0x4 },
{0x3807 ,0xc4},
{0x3808 ,0x1 },
{0x3809 ,0x40},
{0x380a ,0x0 },
{0x380b ,0xF0},
{0x380c ,0xb },
{0x380d ,0xF0},
{0x380e ,0x5 },
{0x380f ,0x00},
{0x3011 ,0x00},//bit[7:4 3:0] offset
{0x5001 ,0x7f},
{0x5680 ,0x0 },
{0x5681 ,0x0 },
{0x5682 ,0xA },
{0x5683 ,0x20},
{0x5684 ,0x0 },
{0x5685 ,0x0 },
{0x5686 ,0x7 },
{0x5687 ,0x98},
{0x3a15 ,0x3D}, //bit[5:0]
{0x3011 ,0x0F}, //bit[5:0] div
{0xffff, 0xff},
/*
{0x3800 ,0x4 },
{0x3801 ,0xFF},
{0x3802 ,0x2 },
Expand Down Expand Up @@ -449,6 +479,7 @@ const struct sensor_reg ov5642_320x240[] PROGMEM =
{0x3a15 ,0x1D}, //bit[5:0]
{0x3011 ,0x0F}, //bit[5:0] div
{0xffff, 0xff},
*/
};

const struct sensor_reg ov5642_640x480[] PROGMEM =
Expand Down