FET_Destoyer wrote:Hi WickedMinds
What is the hardware that u are using to interface the camera with the pc?
KreAture wrote:Wow! Been a long time!
Just wanted to mention I hope to publish a updated version of Atmels ISI driver with tcm8230md and tcm8240 driver module for avr32linux. It has all the cameras registers available in debugfs for hacking directly from linux userspace.
It still has issues but it's also a lot of fun.
It makes it a lot easier to fiddle with these cams. (as long as you have a old ngw100 card lying around that is...)
leonix wrote:your direct SRAM interface to the TCM8240MD sounds very interesting. Can you please post a circuit diagram of it?
Even a sketch would be very useful.
leonix wrote:Another question - what is the minimum distance of that camera to get a sharp image?
KreAture wrote:Just wish I had solder-masks...
If this board was to be made professionally I'd ofcource do it 2-sided to tidy up the routing. Then I'd add silkscreen to connector-side so one would always have the pinout of the connectors available.
The large 1206 resistors are for all spots where user might want to change stuff. Only the power-system is set up with tiny stuff as that will be a 1-time affair. (0603 and 0805 for power system.)
#define TCM_DEV_ADDR 0x3C
#define TCM_REG_SLEEP 0x1F
#define TCM_SOFT_RESET 0x06
#define TCM_REG_AWBSW 0x0A
#define TCM_REG_PICTURE 0x03
#define TCM_DOUTSW_ON 0
#define TCM_DATAHZ_OUT 0
#define TCM_PICFMT_YUV422 0
// Picture Formats
#define TCM_PICSIZE_VGA 0
#define TCM_PICSIZE_QVGA 1
#define TCM_PICSIZE_QVGA_Z 2
#define TCM_PICSIZE_QQVGA 3
#define TCM_PICSIZE_QQVGA_Z 4
#define TCM_PICSIZE_CIF 5
#define TCM_PICSIZE_QCIF 6
#define TCM_PICSIZE_QCIF_Z 7
#define TCM_PICSIZE_SUB_QCIF 8
#define TCM_PICSIZE_SUB_QCIF_Z 9
void WriteCameraRegister(unsigned char reg, unsigned char data)
Wire.endTransmission(); // stop transmitting
void CCD_Init(unsigned char pic_format)
// Send a Reset
// Enable Picture
WriteCameraRegister(TCM_REG_PICTURE, TCM_DOUTSW_ON | TCM_DATAHZ_OUT | (pic_format<<2) | TCM_PICFMT_YUV422);
Users browsing this forum: Bing [Bot] and 1 guest