TTL Serial JPEG Camera COLOR_CTRL

Breakout boards, sensors, Drawdio, Game of Life, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

TTL Serial JPEG Camera COLOR_CTRL

Postby cfaulkingham » Tue Aug 16, 2011 7:16 am

Is there a reason why the color ctrl was omitted from the Arduino lib? I would like to try and switch the mode to black and white on the camera but I have been unsuccessful in extending the api.

Here are my changes to VC0706.h
https://gist.github.com/1148928

and my changes to VC0706.cpp
https://gist.github.com/1148890

In the Snapshot.pde I added
Code: Select all
cam.setColorCtrl(2,1);

right after cam.setImageSize(

It seems to be sending the right sequence of bytes to the camera to set it to black and white but the images are still color.
Code: Select all
0x56+0x0+0x3C+0x2+0x1+0x2


Any thoughts on this would be appreciated.
cfaulkingham
 
Posts: 15
Joined: Tue Feb 15, 2011 4:17 pm

Re: TTL Serial JPEG Camera COLOR_CTRL

Postby adafruit » Tue Aug 16, 2011 12:24 pm

we didn't think anyone would like to have that, you can add a request on github and we'll try to add it
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: TTL Serial JPEG Camera COLOR_CTRL

Postby LarryHamid » Sat Apr 28, 2012 11:23 am

Hi

I am also trying to use the camera in black and white mode.
Am about to try out my code.
Did you ever get it working?

Larry
LarryHamid
 
Posts: 1
Joined: Sat Apr 28, 2012 10:58 am


Return to Other Adafruit products

Who is online

Users browsing this forum: adafruit_support_bill and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
Android[6]
 
BeagleBone[24]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]