Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

USB webcam, interfacing with ARM cortex m3 controller

Status
Not open for further replies.

parth_126

Newbie level 1
Joined
Jan 28, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
I want to interface a USB web cam with cortex m3 controller
I have already arranged a USB OTG circuit on my project board
Is using plug and play camera a necessity so that I dont need camera specific drivers and will need only USB drivers ?
Do I need to load an OS on my microcontroller for using USB drivers ?
Where can I get the data format given out by webcam ?
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,221
Helped
1,147
Reputation
2,313
Reaction score
1,123
Trophy points
1,403
Location
Brazil
Activity points
53,681
Hi friends,


Sorry for posting in an old thread, however my question is exactly what was asked above.
I´m designing a system to share remotelly images acquired for a Webcam.

My first impulse was to choose an ARM CORTEX M4, in which could install an embbedded WINDOWS(CE) or LINUX.
However, I would appreciate to operate in a minimalist hardware platform, such as an ARM CORTEX M3.
( I suppose it is not so easy to run WIN or LINUX in an M3 as is in an M4 )

Does somebody could give to me seme advices regarding this task ?
I would appreciate to receive sugestions about demo application avalible at some M3 starter kit.


+++
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,221
Helped
1,147
Reputation
2,313
Reaction score
1,123
Trophy points
1,403
Location
Brazil
Activity points
53,681
Hi sabouras,



Thanks for reply.

However, the use of webcam is a project requirement, due we will not depend on a sigle manufacturer of a not standardized part.
Note also that OV7670 module cost is almost $20, while a Webcam can be buyed for 1/10 of this price.



+++
 

sabouras

Member level 5
Joined
Jul 28, 2009
Messages
86
Helped
25
Reputation
50
Reaction score
25
Trophy points
1,298
Location
Greece
Activity points
1,736
ok then you choose the hard way to do that because you need to implement the usb stack and interface with the web camera.
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,221
Helped
1,147
Reputation
2,313
Reaction score
1,123
Trophy points
1,403
Location
Brazil
Activity points
53,681
I research a lot on the web and didn´t find some application example source code.
Anybody else can provide some advice ?


+++
 

sabouras

Member level 5
Joined
Jul 28, 2009
Messages
86
Helped
25
Reputation
50
Reaction score
25
Trophy points
1,298
Location
Greece
Activity points
1,736

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,221
Helped
1,147
Reputation
2,313
Reaction score
1,123
Trophy points
1,403
Location
Brazil
Activity points
53,681
sabouras,


I appreciate too much your effort to help, but I´m still expecting an example applied to Webcam.

+++
 

sky_123

Advanced Member level 4
Joined
Feb 26, 2011
Messages
1,170
Helped
279
Reputation
566
Reaction score
273
Trophy points
1,363
Activity points
9,602
See here for information on a Linux driver for a webcam.
You could try porting the Linux driver, but it may be an uphill struggle, since the Linux driver uses
different APIs.
For that reason I don't think it will be straightforward; there may be a lot of work involved. You'd need to
examine the driver code, hope that your webcam works with that driver code, and then re-implement
any Linux-specific hooks on your specific microcontroller.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top