0
$\begingroup$

I have a USB webcam and a WiFi module which it can convert Serial data to WiFi and vice versa.

The question is can I simply convert the data coming from the webcam to serial with a USB to Serial IC (like FT232R ) and then hand it over to my WiFi Module?

Update:

The WiFi module DataSheet is here

$\endgroup$
  • $\begingroup$ Can you post model numbers (and links, if possible) for the equipment you're referring to? $\endgroup$ – Ian Aug 4 '13 at 16:18
  • $\begingroup$ @Ian see my Update and let me know if you need more information $\endgroup$ – Mehrdad Kamelzadeh Aug 4 '13 at 16:28
  • $\begingroup$ Welcome to robotics Mehrdad Kamelzadeh, if you could edit your question to explain how this is a robotics problem, including details of your robot, then this question would become on-topic. If you do edit and I don't re-open it, let me know by flagging for moderator attention. $\endgroup$ – Mark Booth Aug 5 '13 at 13:06
1
$\begingroup$

I think you're asking whether you can use a USB-to-serial adapter to enable you to connect a USB webcam to a serial-to-wifi converter. The answer to that is no, unfortunately.

USB defines a hardware interface and a communications protocol. Your webcam driver communicates with the physical webcam by sending image data over USB, and your USB-to-serial adapter sends RS232 data over USB. The video stream and the RS232 stream are not compatible. (And even if your webcam somehow sent data over RS232, USB devices communicate with the operating system, not each other.)

What you are looking for is a bridge -- a way to send USB data over wifi. There are other consumer products which perform this function, e.g. this one or this one.

| improve this answer | |
$\endgroup$
  • $\begingroup$ WOW that's a good device @Ian But you know I want to put my webcam on a robot. and my robot wants to move around my house and I want to see the webcam images with my computer. so I want to somehow convert my webcam to a WiFi IP camera. the thing you suggest is exactly what I want. But it should be much smaller and I prefer to build such a thing myself if it is possible and easy. $\endgroup$ – Mehrdad Kamelzadeh Aug 4 '13 at 17:03
  • $\begingroup$ It's certainly possible to build one yourself, but I can't imagine that it's trivial. Do you think you could build it smaller than the industry-designed & manufactured option? $\endgroup$ – Ian Aug 4 '13 at 21:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.