Pages: [1]   Go Down
Author Topic: How to connect this camera to arduino ?  (Read 1504 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 31
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,guys I have Iphone 3GS camera which is disassembled from the original Iphone, and I want somehow to connect it to arduino and pass the video feed from the camera threw microcontroller and visualizate it in my computer, so then I can apply computer vision algorithms. smiley-wink

Any idea what can I use in order to power up the camera and start making some video ?
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 64
Posts: 6055
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino and Video do not go together.  If you want to work with Video you really need a microprocessor platform, not a microcontroller.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

0
Offline Offline
Newbie
*
Karma: 0
Posts: 31
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

like ?
Logged

South England
Offline Offline
Full Member
***
Karma: 3
Posts: 205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not just use a webcam and software running on your computer? What's the arduino for in this project, and why do you need it?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 31
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If I can connect this camera directly to my computer and get video feed that will be great, but I am not sure what connector this camera use, and how to connect it at all.

I want to use this camera,because its small and perfect for my needs.
If I go to market and buy a webcam it will be way big, and the fps will suck so bad.
I need a  camera for computer vision project, so I need something that will not slow the fps frame even in full dark room.
« Last Edit: September 30, 2012, 11:56:16 am by mitko » Logged

Offline Offline
Sr. Member
****
Karma: 5
Posts: 422
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A Button camera is really small and can be used as a webcam
http://www.ebay.co.uk/itm/Mini-Button-Spycam-DVR-Camera-WebCam-Voice-Video-Audio-Recorder-Camcorder-30fps-/271070262988?pt=UK_Gadgets&hash=item3f1d0bf6cc
Not sure how well it would work in a dark room, you may need to add some extra IR lights for that.

If you want to process video then you need something like a Raspberry Pi.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 514
Posts: 31543
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
but I am not sure what connector this camera use,
Therefore if you don't know what is coming out of your camera you can't do anything with it.
It is your camera so unless you post more information about it like the model number and make and maybe even a link to it or better its data sheet then no one can help you connect it up.

It is likely you will need a video digitiser or frame grabber to access the images from it. The sort of thing you would use to transfer video tape into a computer.

This is not an arduino project.
Logged

Offline Offline
Sr. Member
****
Karma: 1
Posts: 314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know that this is not an answer to you question but may be an answer to you problem.  There are some cameras that have a TTL serial interface.
Such as:
https://www.sparkfun.com/products/10061
http://www.ebay.com/itm/LS-JPEG-Color-Camera-Serial-UART-Interface-TTL-level-/110934068395?pt=LH_DefaultDomain_0&hash=item19d42f8cab

There are probably others.  I am still looking for a cheaper solution.

I do not know what kind of frame rate you can get out of these cameras but they will easily interface to an Arduino.

I hope this help.  If not, forget I said anything.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 514
Posts: 31543
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
but they will easily interface to an Arduino.
Will they?
How?
Logged

Offline Offline
Sr. Member
****
Karma: 1
Posts: 314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
but they will easily interface to an Arduino.
Will they?
How?

The speak async serial at TTL level.  So you would open a serial connection and read and write.

Possible problems?  Most Arduinos are already using the serial port to talk to the IDE.  One exception is the MEGA2560 which has extra ports.
A work around is the Soft Serial library which "bit bangs" the serial link.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 514
Posts: 31543
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes a JPEG file, just how usefull is that in an arduino?
There is not enough room to decode it, all you can do is to pass it on. So what is the arduino doing for you ...... Nothing.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 79
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Exactly. I agree with Grumpy_Mike....Usually, the Arduino isn't the best choice for camera projects.

Good luck on your project, though!
Logged

Pages: [1]   Go Up
Jump to: