TCM8240MD connector and example

Have a good idea for a new product for SFE or Olimex? Let us know!

Moderator: phalanx

Re: TCM8240MD connector and example

Postby noend » Thu Oct 28, 2010 5:49 pm

Everything you need to interface the TCM8230MD to a MCU is in the data sheet.
Last edited by noend on Tue Jan 04, 2011 10:15 am, edited 1 time in total.
noend
 
Posts: 10
Joined: Wed May 19, 2010 3:45 am

Re: TCM8240MD connector and example

Postby d4n1s » Wed Nov 10, 2010 3:32 pm

anyone has .brd or .sch eagle files of the breakout board for the TCM8230MD camera?
d4n1s
 
Posts: 93
Joined: Thu Nov 04, 2010 6:09 am

Re: TCM8240MD connector and example

Postby gentlemich » Mon Nov 15, 2010 9:09 am

I am having a problem interfacing with the TCM8230MD on I2C using a Texas Instruments DM365 chip:

When reading the register (0x00 in this case) the I am getting the first Acknowledgement but not the second! Therefore nothing is happening and I cannot read the register.

I2c Read protocol: S SlaveAddress 0 A SubAddress A
Where SlaveAddress = 0x60 or 0x3c +0 and SubAddress = 0x00.

The first A (Acknowledgement) is OK but I am not sure if the second appears. Here are my screenshots:

Yellow = SDA; Blue=SCL
photo 1.JPG


You can see the yellow SDA line going down for the first Acknowledgement but there is no second A after sending the SubAddress.

Larger zoom (notice the long pause) :
3.jpg


My clock is at 10Mhz, my lines at 3VDC.

Any idea why?
gentlemich
 
Posts: 3
Joined: Thu Feb 18, 2010 7:54 pm

Re: TCM8240MD connector and example

Postby Roko » Tue Nov 16, 2010 1:50 pm

Do you mean your SCL Clock is at 10 MHz? If so perhaps try scaling it down a couple orders of magnitude. SCL Max is 400 khz according to general I2C specs, as well as the TCM8230 datasheet.

Edit: NM, if I'm reading your scope traces correctly you're more in the ballpark of 300-400 KHz, which should be fine.
Roko
 
Posts: 153
Joined: Tue Apr 11, 2006 10:34 am
Location: Vancouver, Canada

Re: TCM8240MD connector and example

Postby JustGreg » Thu Nov 18, 2010 12:32 pm

Hi everyone,

and greetings from me. I ordered two 8230 cams and I'll start experimenting as soon as they arrive. Anyway, has anyone tried the data transfer using an FTDI245 parallel FIFO USB chip? It has 8 data line can bedirectly connected to the camera DOUTs, and a 384 bytes FIFO. There would be no MCU action but to validate the lines at the FTDI's WR pin. Any idea?

@Dmitri

Would you be so kind as to name that battery pack on your picture? Thank you.
JustGreg
 
Posts: 2
Joined: Wed Nov 17, 2010 1:12 pm

Re: TCM8240MD connector and example

Postby Dmitri » Fri Nov 19, 2010 12:21 pm

JustGreg wrote:@Dmitri

Would you be so kind as to name that battery pack on your picture? Thank you.

It is something pleasantly cheap from China, bought at e***.com

70mAh
Dmitri
 
Posts: 31
Joined: Thu Oct 29, 2009 1:39 am

Re: TCM8240MD connector and example

Postby JustGreg » Mon Nov 22, 2010 2:39 pm

Thx.
JustGreg
 
Posts: 2
Joined: Wed Nov 17, 2010 1:12 pm

Re: TCM8240MD connector and example

Postby gentlemich » Tue Nov 23, 2010 8:58 am

gentlemich wrote:When reading the register (0x00 in this case) the I am getting the first Acknowledgement but not the second! Therefore nothing is happening and I cannot read the register.

I was able to solve the problem myself: the reason came from a poor soldering of the camera on the board...
I2C is ok and I even did not need any voltage translator (although the processor is at 3.3V the I2c line was limited at 3V by itself).
gentlemich
 
Posts: 3
Joined: Thu Feb 18, 2010 7:54 pm

Re: TCM8240MD connector and example

Postby nachox2002 » Sun Dec 05, 2010 5:48 pm

nachox2002
 
Posts: 20
Joined: Thu Jul 17, 2008 7:29 am

Re: TCM8240MD connector and example

Postby snoop911 » Thu Dec 16, 2010 2:21 pm

Can this (or any hobby camera) output raw (uncompressed) images?

My micro has limited space and a jpeg decoder doesn't fit.. I'd like to find a uart/spi camera that outputs 8-bits per pixel.. (@320x240 resolution would be nice). Even monochrome 1bpp would be fine!
snoop911
 
Posts: 6
Joined: Sat Sep 08, 2007 6:46 pm

Re: TCM8240MD connector and example

Postby Dmitri » Thu Dec 23, 2010 2:28 am

Hi all!

I'd like to make something clear. I cannot provide any assistance in building something similar nor I would sell a ready-to-use device.
The first is because my motivation for this has gone, the second is because of juristical reservations about unknown purpose.

The entire project is still on sale though.
Dmitri
 
Posts: 31
Joined: Thu Oct 29, 2009 1:39 am

Re: TCM8240MD connector and example

Postby snoop911 » Thu Dec 23, 2010 10:05 am

@Dmitri: when you say the project is for sale, is it this one:

http://www.ifrdesign.com/blog/2010/08/0 ... tcm8240md/

(I didn't see any pricing info)
snoop911
 
Posts: 6
Joined: Sat Sep 08, 2007 6:46 pm

Re: TCM8240MD connector and example

Postby Dmitri » Thu Dec 23, 2010 11:07 am

snoop911 wrote:@Dmitri: when you say the project is for sale, is it this one:

http://www.ifrdesign.com/blog/2010/08/0 ... tcm8240md/

(I didn't see any pricing info)


My thingie is this one viewtopic.php?p=109977#p109977

It runs at 24 frame per second storing 320x240 color pictures to the micro SD card.
A PC software is available to dump frames to the HDD.
Dmitri
 
Posts: 31
Joined: Thu Oct 29, 2009 1:39 am

Re: TCM8240MD connector and example

Postby noend » Mon Dec 27, 2010 10:46 am

Nice thingie.
noend
 
Posts: 10
Joined: Wed May 19, 2010 3:45 am

Re: TCM8240MD connector and example

Postby ohmeega » Sun Jan 09, 2011 11:48 pm

How do I use my webcam to remotely view my puppies from work? I have my webcam set up at home. When I get to work I would like to use it to view my puppies. At one time I had a free program I logged in to to do this but have lost it in a crash. Any ideas how I can do this?
______________________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com
Last edited by ohmeega on Sat Jan 15, 2011 12:57 am, edited 1 time in total.
ohmeega
 
Posts: 1
Joined: Fri Jan 07, 2011 2:39 am

PreviousNext

Return to New Product Ideas

Who is online

Users browsing this forum: No registered users and 1 guest