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.

PIC to PC then to USB Camera Problem

Status
Not open for further replies.

Saumil_GSM

Newbie level 4
Joined
Feb 3, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
Hi everyone,

I need to send a command from my PIC 16f877a to the PC Attached via UART(RS232). PC then, should decode the command sent and then accordingly switch ON the Web Camera Attached to its USB Port, Take a Picture and Save it in PC's Memory. Programming must be done in C Platform only.

Pls Help
 

you want us to help you or do your project...?
you should tell that what have you done up till now and where exactly you are having problem so that we can help you out..
 

My Project is a 'Home Security System' where GSM Modem, Sensors and alarms are involved. I have finished all the hardware implementation, now the scenario left is "When the PIR Motion Sensor is triggered, Command from PIC is sent to PC Attached via UART where a C Program takes the input and accordingly runs the Driver file of USB attached camera"

My knowledge of Serial Communication is very very less. I dont know how to read the Serial Port of my PC. Kindly Help.
 

ok about the serial communication part where do you have problem on the controller side (PIC) or PC or both..?
do you have any schematic.?
have you written any code.?
 

I have a problem on the PC Side. I know how to send data to GSM Modem or Hyperterminal(which automatically reads). But the problem is how to read the Data from Serial Port and use it the way I want. I dont know how to read that Port (COM Port). I have gone through Serial Programming Guide for POSIX Operating Systems but still things are not clear as I am a rookie in serial programming. I have not written the serial code.
 

if you know how to send data from controller to GSM MODEM or HYPER TERMINAL. then thats enough you don't need to read about the the serial communication then. what you need is to read how to communicate to COM port on the Platform on which you are trying to access COM port..
which platform are you using?
Turbo C, C sharp, VC++, etc....?
 

sir, I am working on Turbo C Format......I am not able to find links on how in this format we can read the COM Port...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top