Sorry couldn't post on earlier, been busy with some work anyways, one of the most discussed issues regarding Windows CE 6.0 has got to be the webcam interface so, lets have a look at what is what. There are two popular methods for doing this:
1: As described in Mike Hall's article on MSDN Mike Hall's article and
2: The open source webcam project from Codeplex written by Mr. Douglas Boling
In my project I worked with the webcam project developed by Mr.Douglas Bloing simply because its a lot easier to implement, however the only short coming in this method is that it only worked with Logitech QuickCam Pro 5000. I did try working with another model but, I did not have any luck with it.
So lets have a look at how to build a subproject to get the webcam working with windows CE 6.0.
Two components are needed to build this subproject:
1: Windows Embedded CE 6.0 USB Camera Driver
2:Windows CE 6.0 Webcam Project by Mr. D.Boling
This time around I thought of putting a lot of pictures in, instead of writing, so here it goes.
As usual we start with the BSP selection
Figure 1: Windows Embedded 6.0 design wizard. Figure 2: BSP selection window Figure 3: Design Template Selection
Figure 4: Design Template Variant Figure 5: Applications Media Figure 6: Networking & Communications
So far we have done the basic new project wizard which everyone is familier with I thought I needed to post it just so you don't have to go all the way back to the earlier posts, moving on, we will now start with adding the necessary components required for this project. The selected components are highlighted in blue.
This completes most of the things that we need to build the webcam project, so, one last thing remains recall the webcam subproject that we downloaded from codeplex earlier, we have to unzip it and copy it to the OS design folder located at C:\WINCE600\OSDesigns\WinCE_Webcam. Once this is done you go to VS 2005 IDE Solution Explorer tab and right click on the subprojects and add existing subproject and select the webcam project that you previously copied into the OS folder as shown in the Figure 23.
That completes the process, all we need to do now is build the OS but, before we start the build we have to do certain tweaks,
Now the OS is all set for the build.
Assuming that everything went according to plan and the OS is build without any errors, we will move ahead to download the OS onto the eBox. For this we will configure a static IP on the development workstation in order to setup communication with the eBox. Open LAN connection Properties and manually add the static IP I used 192.168.2.231 since my eBox is configure with 192.168.2.232 static IP.
Now just download the OS by attaching to the eBox and we are set. Once the OS is downloaded open My Devices from the CE desktop and find and locate the file Camtest2, if the build is done properly double clicking the Camtest2.exe should start the webcam.
First picture taken from the webcam.
Hope you all liked it, please let me know if I have missed anything or done anything incorrect.
Thanks for reading
Hi,i am trying to get the camera work using wince7 and eBox-3310A i really found your article very useful actually i was hoping to find such article as i have been working on that for 2 months by now with no results so thanks very much, i did tried following the steps in this article but when i downloaded the webcam from the given link but when i unziped it i found different files and folders than that shown in the image i found PDD folder and MDD folder and other folders and files but no webcam.pbpxml so i included the src file which later created this file and i build the os image successfully but when i deployed the image with diskprep i didn't find the camtest2.exe on my ebox so i got it of a flash and added it to the ebox ( i also couldn't access the hard disk of the ebox) but when i run it i got the error (couldn't open the driver is the camera plugged in )which is the error i always get when i add additional camera driver without adding the null camera driver ( the one supported in the wince7 ) and when i add the null camera driver i get (the driver reported no format supported or error getting the format ) so can u guess what is wrong i forgot to say that i am using Microsoft 7000 webcam and logitech c210 so is this the problem ? thanks
Srry for the late reply. As far as I know the driver i mentioned in the blog was originally developed for Win CE 6.0 so it might need some additional tweaks to get it to work with compact 7. I haven't tested it on compact 7 so I cannot guess what exactly is going wrong in your build. Secondly you do not need to include the " null camera " driver with the build its not needed. your camtest2.exe is not working probably because it wasn't compiled with the image that you built. the way I got it work is I copied the entire webcam sub project in the sub project folder and added existing sub project to the build. also the webcam model you are using will not work as I mentioned this driver is developed to work with pro 5000 only. however you can try adding the webcam vender ID in the webcam driver code and see it that works if not then pro 5000 is the only option, unfortunately its one of the drawbacks of this driver. thanks for finding the article useful glad i could be of help.p.s. please let me know if you get it to work.
Hi, In step 23 you add a subproject of the webcam project of codeplex, can you explain how to create it? Thanks!
Hi! thanks a lot for this information. And in general for your post about WinCE, they have been very usefull for me. But with this, I am having a problem as Mary and APT. I don't find any .pbpxml on Mr. Boling Project, neither camtest2.exe. I think you have use some other project. Can you give us a link to that project? Thanks again!!!
Re: Hello World
My concern is how I connect RDP from Win-XP/7(Client) to WIN EC7(HOST), also i can able to connect R...
Re: Windows CE 6.0 Installation
2nd step and 4th step are different software?? or same software? if it's different software then where...
Hello, I am new to Windows CE and I would like to get started from scratch. I have a brand new hard...
Re: About Me
thank u for posting this usefull contents.... as i m fresher to installation task ,so can u provide detailed...
Re: Windows CE 6.0 Webcam Interface
Hi! thanks a lot for this information. And in general for your post about WinCE, they have been very...
Hi, In step 23 you add a subproject of the webcam project of codeplex, can you explain how to create...
http://www.embeddedpc.net/ce6book/ Also its not Visual Stusio 2005 - But Visual Studio 2005 Very...
Re: Windows CE 6.0 OS design wizard
Could you elaborate on the issue a little more in detail, as a first guess I would say you probably have...
HI Satyajit I had small issue with platform builder ,when I am trying to open new project I am getting...