Propeller Web Camera
Brianmcm
Posts: 33
Greetings, if this question has been asked before I apologize for the repeat.
I have a propeller based mobile platform I've been experimenting with and decided I wanted to add real-time color video monitoring. I purchase one of those 2.4gHz "spy" cameras and connected it to a video capture card on the laptop. Unfortunately·to get a useful·image·I needed to backlight the subject with 60 watt bulb in a clamp style reflector; defeats the idea of mobile. In my stash of stuff I have several USB web cameras so my question is;
· Can a usb-camera be integrated with the propeller chip such you can tranmit video remotely, say set it as an IP camera? Or is this out of the realm of practicallity?
Any advice will be greatly appreciated.
Thanks
Brian Mc.
I have a propeller based mobile platform I've been experimenting with and decided I wanted to add real-time color video monitoring. I purchase one of those 2.4gHz "spy" cameras and connected it to a video capture card on the laptop. Unfortunately·to get a useful·image·I needed to backlight the subject with 60 watt bulb in a clamp style reflector; defeats the idea of mobile. In my stash of stuff I have several USB web cameras so my question is;
· Can a usb-camera be integrated with the propeller chip such you can tranmit video remotely, say set it as an IP camera? Or is this out of the realm of practicallity?
Any advice will be greatly appreciated.
Thanks
Brian Mc.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
The image below has been taken using that technique (you can see the shadow of the solar/camera/modem box atop a 25m pole)
Tubular: Are you saying that example is done with Prop? Where is that camera located, on the moon?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
If you have posted this to a separate thread, I completely missed it. It is important enough to refresh the thread or start a new one... I have been toying with the idea of dual porting an SDcard, but it would take me an unreasonable amount of time to get it right.
Anything you could add would be appreciated.
Thanks,
Rich
The nice thing about saying "practical" is that each of us gets to define what that means. In my case, I understood the question to ask whether a standard USB web-cam could be interfaced to a Propeller such that the Propeller transfers the images via a WiFi connection to a PC somewhere.
The existing Prop USB host driver has nowhere near the throughput needed for a webcam. It may be possible to increase the throughput modestly by using more than the 3 cogs needed currently, but I still think that it won't be high enough. The Prop doesn't have enough memory for even a single frame of video at 320 x 240 x 8-bits, so external high speed SRAM would be needed for buffering. On top of that, I don't think the current Ethernet driver has the throughput needed either. It may be that the forthcoming Parallax WiFi board will be able to handle the throughput given that the low level networking is offloaded to the processor in the WiFi interface.
So, I think one of you smart, hard-working people could make something that would work given some significant external hardware, but we're not talking about a couple of objects to be thrown into an existing program that already uses 2 to 4 cogs and a few, mostly passive components to be attached to a few spare I/O pins.
Brian
@heater, you're right it does look like another planet. But if you zoom in on the horizon you can just make out the city skyline of civilization...
I had seen the sniffer... but decided that for my app there was probably a simpler way to do it... then I got involved in something else and it all evaporated.
Rich
At the same time... guys around here routinely do things that are originally thought to be impossible. For completeness only... there has been a thread (and I wish I could reference it for you) recently about USB solutions for the Prop... and I meant to ask why this couldn't apply to a USB camera... 512K ram cards are available, with supporting objects and done by very good guys. The one for the Hydra can be used in any system and is fully documented right down to the external bits. As I recall the USB solution used up a lot of resources... whether it used so much that there wouldn't be enough left to drive the RAM... I don't know.
In this case X seems to be a "WEB cam and USB and image transfer over Ethernet." But what if this is recast as "image grabbing from some camera (no USB), transmission out from Prop to remote location (not necessarily Ethernet) and speed does not matter so much."
Then there may be a host of simpler solutions all be it with less performance that might suffice.
Don't forget what radio amateurs did, and still do, with slow scan TV before we had any computers to worry about fitting it in[noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
Very true about slow scan TV, but remember that the pixel dimensions were smaller and they used a long persistence phosphor to hold the image long enough for the slower scan to take place. Similarly here in that less resolution and less pixel depth (like 4 bit grey scale) would go a long way towards making this practical for the Propeller to do without significant external hardware.
With this one could make trade offs between resolution/pixel depth/speed.
This might lead to some funky images when things are moving but there we go.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.