CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

anyone interface a c328R-2820BW camera to a pic?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
starfire151



Joined: 01 Apr 2007
Posts: 195

View user's profile Send private message

anyone interface a c328R-2820BW camera to a pic?
PostPosted: Tue Jun 23, 2009 3:26 pm     Reply with quote

Has anyone successfully gotten a C328R-2820BW (or a variation) to work with a PIC? The C328 has a 4-wire interface: 3.3VDC, TXD, RXD, and Gnd. It runs on a serial interface at serial interface rates up to 115kbps.

I was thinking of trying to connect the camera to the serial port of a PIC and write the image data to an SD card connected to the SPI port.

Has anyone done anything like this?
PICoHolic



Joined: 04 Jan 2005
Posts: 224

View user's profile Send private message

PostPosted: Wed Jun 24, 2009 6:16 am     Reply with quote

Check this out:
http://www.electronics123.net/amazon/datasheet/C328_8051Demo.asm
http://www.electronics123.net/amazon/datasheet/C328_C_Demo.cpp
starfire151



Joined: 01 Apr 2007
Posts: 195

View user's profile Send private message

PostPosted: Wed Jun 24, 2009 9:22 am     Reply with quote

Thanks for the links. I was actually looking for someone that had experience in interfacing the camera to a PIC. There are supposed to be some subtleties to the interface for communication, etc.

Has anyone interfaced this camera to a PIC?

How do you re-assemble a downloaded image into a .jpg image viewable on a PC? Is it just a matter of downloading a .jpg compressed image from the camera and storing it onto a memory card with a .jpg file extension?
JamesW, kent, England
Guest







PostPosted: Thu Jun 25, 2009 5:21 am     Reply with quote

I assume that this is the same camera as the ITM-C328 digital colour camera? Takes jpegs and allows RS232 comms to control it.

Done the whole lot for a recent customer project - I save to ram and then upload the picture to an ftp site?

If so, let me know
JamesW, kent, England
Guest







PostPosted: Thu Jun 25, 2009 5:24 am     Reply with quote

might help if I'd included an email

re-edit this so it makes sense (ie remove spaces and ats and replace dots)
james at winterandsmith dot co dot uk
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group