Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

PIC18 and webcam application on mobile robot

Status
Not open for further replies.

boon1987

Newbie level 6
Joined
Sep 18, 2009
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
malaysia
Activity points
1,437
PIC18 and webcam

good morning,

I am currently thinking of construct a mobile robot equiped with webcam. The webcam is connected to PC through wireless connection. The mobile robot contain PIC18 microcontroller. I want to use the webcam to recognize some stactic target.

The problem is can i use the PIC18 to send the signal to ask the computer to take picture from webcam under certain period. PC will capture the image sent from webcam, if the static target exist in the image, the PC will send the signal to the PIC.

have anyone know how to do this?
 

PIC18 and webcam

yes you can
but there are two ways

either you should have to links one for Picture/video and one for your data/command or you can do it by using simple audio/video link and stream data as audio
do AFSK.
i don't know that can your web cam recognize static target or not but you can send pics/video to PC and run a software over there
 

Re: PIC18 and webcam

either you should have to links one for Picture/video and one for your data/command or you can do it by using simple audio/video link and stream data as audio
do AFSK

hai,saeed_pk, i don't understand ur method mentioned in the quote above. Can u explain futher more?

I restate my question more clearly, Actually i want to use the PIC to control PC and webcam. The pic will communicate the data with PC. The PIC will control the rotation of webcam through servomotor. Besides, PIC will send the signal to computer to ask the computer to capture the image through the camera mounted on the board. The PC process the data. After finishing processing data, PC send the processed data to PIC. Based on this signal, PIC will perform the task.

In the processing the in PC, there is no person should control the software in PC. The PC should excecute the program written in C based on the signal get from the PIC. Can you provide me some guide to perform this task?

Thank for replying and information.
 

Re: PIC18 and webcam

boon1987 said:
either you should have to links one for Picture/video and one for your data/command or you can do it by using simple audio/video link and stream data as audio
do AFSK

hai,saeed_pk, i don't understand ur method mentioned in the quote above. Can u explain futher more?

I restate my question more clearly, Actually i want to use the PIC to control PC and webcam. The pic will communicate the data with PC. The PIC will control the rotation of webcam through servomotor. Besides, PIC will send the signal to computer to ask the computer to capture the image through the camera mounted on the board. The PC process the data. After finishing processing data, PC send the processed data to PIC. Based on this signal, PIC will perform the task.

In the processing the in PC, there is no person should control the software in PC. The PC should excecute the program written in C based on the signal get from the PIC. Can you provide me some guide to perform this task?

Thank for replying and information.


You can use VB.net for this,if you receive a byte of data and then sent it to PC via USB or COM,in vb just create a stream and write each received byte of data to that stream and then save it with which type(extension) of data you sent.

But all these things are a little difficult to do because

1.I think cheap ASK modules are not capable of sending data with high baud(typically 1200bit/s)....But i am not sure about it.You must make sure that the ASK module is capable of transferring data before doing your project....

2. you must be an expert in .net and also in PIC programming.But you can do it if spend 1 or 2 days only for this.....



If you need any help on VB.net or C# just post it...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top