- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is it possible for a PSoC5 to appear to a USB host as a USB Camera?
If I attach a simple camera chip to a PSoC5, I can easily read images from it. What I would like now is to send those images to a PC, and I figure the easiest way to do that would be to make the PSoC appear as a USB camera. Is that possible?
I see that the USB component can easily be configured to act as a UART, Audio source, etc, but I don't see an option to create a USB camera.
Is it possible?
Thanks
Hugo
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I dont think it is possible to connect a webcam to PSoC3 or PSoC5 via USB. PSoC does not have a USB Host capability and hence a USB cam (assuming the camera is a USB perihperal) can not be connected via USB.
PSoC3/PSoC5 support only Full Speed transfer a maximum of around 1 Mega Byte/Second
Please check this forum links, which may be useful:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its not clear how you are attaching and reading images from your camera chip. Even if you did get the image, there is no code library available as such to transmit it to PC.
However, I must state that PSoC 5 development board does not have USB host capabilities to support input from USB. You need to use any of the other Cypress USB Peripheral Controllers like FX3/FX2LP etc. which can read your image/video data and transmit it to the PC.
You can find its implementation in the application note below: http://www.cypress.com/file/123506/download where it utilizes a USB Video Class (UVC) framework which is available only as a part of the FX3/FX2 firmware.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ddka,
thanks for your reply. I am not using the development boards, I am developing my own.
This question is really about the PSoC5 USB component in PSoC Creator, and whether it can be configured to act as an image source.
Hugo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Basically you want the PSoC 5 USB to act as a Mass Storage Device which can transfer images from your SD Card to your PC if I'm not wrong.
But there is no support for Mass Storage as of now as mentioned in the threads below:
Re: USB mass storage Class
Updates on PSoC 5 Mass Storage Programming?
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No,
As I said, I would like the PSoC5 to appear to the host PC as a USB Camera. Not a mass storage device. I.E. I would like the PC to think that a web cam has been plugged in, and to stream video from it as if it were a web cam.
Is that possible?
Hugo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, its not possible reasons are mentioned in above interactions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I dont think it is possible to connect a webcam to PSoC3 or PSoC5 via USB. PSoC does not have a USB Host capability and hence a USB cam (assuming the camera is a USB perihperal) can not be connected via USB.
PSoC3/PSoC5 support only Full Speed transfer a maximum of around 1 Mega Byte/Second
Please check this forum links, which may be useful: