Need Teensy camera advice for streaming frames over UDP

Status
Not open for further replies.

kdharbert

Well-known member
I'm using an Arducam 5642 and got burned: Although I can get each frame quickly over SPI, the camera takes forever to make the data available, so I get a frame rate of about 2 seconds.

I have the UDP JPG datapath handled, I just need to find a camera that states its specs accurately. Any advice on a simple SPI camera with good library support?

Also, with a Teensy 4.1 with the extra PSRAM, using a parallel camera might be possible. Anyone tried this?
 
You might look at some of the forum threads that talk about some cameras like the OV7670.
Like:
https://forum.pjrc.com/threads/63195-Problem-trying-to-read-OV7670-camera-under-IRQ-Teensy-4-0
https://forum.pjrc.com/threads/64132-CSI-Camera-Library
https://forum.pjrc.com/threads/66771-MicroMod-Beta-Testing

There are probably several others. Also some of us also have played some with Sparkfn HIMAX monochrome camera on beta of Teensy MicroMod.

We played with three different ways to do parallel data including DMA.

The first thread: shows code that uses GPIO pins and DMA to read from the camera. Note T4 there are not 8 contiguous pins in the same port so you
have to do a little bit of massaging of the data.

The Second thread (and some in first thread) talk about using the CSI pins on the T4.1 (we can handle 8 bit transfers) to do reading from the camera.
Note: T4 does not bring out enough pins to do CSI.

The third thread, specific to MicroMod it shows a way to use FLEX IO and DMA to be able to transfer images. Note: this camera supports 4 bit and 8 bit transfers.
Only the T4 MMOD has enough pins to do 8 on FlexIO(1 or 2). Probably can do 4 bit on T4.1 and maybe 4, but not enough to do 8... Do have enough on FlexIO3, but FlexIO3 does not support DMA.
 
Thanks. I'm using a T4.1, so it looks like I can use an OV7670 without cost issues.
It looks like the libraries were last worked on last year. Were they left in a mature state?
 
I am not sure what state the CSI library is in... probably best for the owner of it to answer. I will be trying some of it out again at some point with the Himax monochrome, more out of curiosity.
 
I'm going through the OV7670 libraries and at first pass I can't find pin assignments. It seems these libraries are using the 'CMOS sensor interface'. I think I need to read about that first. I can't find much via google. Any links to Teensy pin mappings?
 
Status
Not open for further replies.
Back
Top