Android Smartphone As USB Webcam

by NirL in Circuits > Mobile

103157 Views, 352 Favorites, 0 Comments

Android Smartphone As USB Webcam

cover3.png
Presentation123.png

Over the last few months we've all been forced to communicate online rather than in person. As a student, most of my lectures turned into Zoom meetings, and the same happened to my tutoring hours.

In the next few weeks, many students of all ages will go back to their schools or universities but many will still be studying from home. While many people have a desktop computer, not everyone have a laptop with a built-in camera. This means that some people would have to buy a new webcam just for these online meetings. Another option would be to chat directly through your smartphone, but that's not optimal in most cases. For this reason, I thought it would be useful to connect my smartphone to my computer and use it as a webcam.

In this instructable I'll show you how to use your smartphone as a webcam using a USB cable. You'd think that this should be trivial - after all, you have a camera and a laptop, why should this be difficult these days?? Turns out this not exactly the case! and since searching google for answers took me a while, I thought I'd save others the trouble.


While you can easily find out how to use your smartphone as a webcam using WiFi, connecting through a USB cable is not just a gimmick. There are many advantages in this method over using WiFi:

1) The connection is much more stable. I found this solution because I had problems with my screen freezing during meetings when I tried to connect through WiFi.

2) Using WiFi will slow down your internet speed - you're taking up some of your WiFi's bandwidth for this.

3) The image quality is much better using a USB cable!

4) Almost no latency! Delays are the worst!! Using a USB cable to connect your smartphone solve this problem.

4) The USB cable will charge your phone while you use it as a webcam, so you don't need another charger just to keep it going during long meetings.

5) With this method, you can also use the microphone on your smartphone! Many methods that use WiFi do not transmit sound to your computer!

Other than keeping you from buying unnecessary webcams for your desktop computer, you smartphone can also serve as a second camera if you already have one! I'll also teach you how to use this second camera in Zoom!

This is actually what I used it for - while tutoring physics it's essential that you write down equations and explain stuff on a board. For this reason I wanted a way to capture a whiteboard. I built a simple phone holder and wrote down the equations on a piece of paper just beneath it. I'll add some explanations for how you can make your own stands - one for video-chats (Zoom) and one for capturing a whiteboard.

** If you find a better way to connect a smartphone as a USB webcam, please let me know!!

Supplies

You'll need a smartphone, a suitable USB cable and a PC. Obviously if you want to talk to other people online, you'll also need an internet connection.

Become a Developer

About.png
BuildNumber.png
BuildNumber4-2-go.png
BuildNumber1-2-go.png
BuildNumberDeveloper.png

You don't really need to be a developer to become one!

In order to use your smartphone as a webcam using a USB cable, you'll need access to the phone's developer options.

The attached photos should guide you through the process, but here's what you should do:

Find your phone's 'build number'. It's usually located in the 'about' section inside the phone's settings.

Next, click the build number 7 times and insert your phone's password.

Congratulations, you're now a developer!! :)

Turn ON USB Debugging

System.png
SystemAdvanced.png
DeveloperOptions.png
USB_Debugging_OFF.png
USB_Debugging_ON.png

Next, you'll need to located the 'developer options'. It's usually inside the 'System' section.

Once you're inside 'System', look for 'Advanced' and there you should find 'Developer options'.

Now remember that "with great power comes great responsibility" (Peter Parker) - tweaking your phone's settings can change how it operates. You can always reset it back to factory setting, but I advise that you do not change anything that you don't understand. Anyway..

Look for 'USB debugging' and turn it on.

Install IVCam

iVCam_smartphone.png

Download and install iVCam both on your smartphone (through the play store) and on your PC.

While this app offers a free version with low-resolution videos (it's still very good in my opinion, I only use the free version), you can also pay for the HD version which is nice.

Connect Your Phone Using a USB Cable

Connect to PC.jpg
Screenshot_20200905-182601.png
IMG_20200905_182754.jpg

It's time to connect your smartphone to the computer!

Once connected, open the IVCam software and you'll see a window popping up on your smartphone. Make sure you allow USB debugging.

At this point, your computer should be showing the image from the smartphone!

You can also pick which camera to use (front or back), set the exposure and more directly through the software.


*November 2021 update - allparticipate noted correctly that if you restart your phone and want to reconnect, all it takes is to allow USB debugging again (you should see a message at the top of your smartphone screen). Thanks allparticipate for your input!

Use Your Smartphone As a Webcam for Zoom Meetings (or As 2nd Camera)

use as zoom camera.png
Share_screen.png
advanced sharing.png
content from 2nd cam.png
use for teaching.png

To use your smartphone as the main camera in zoom conversations:

In some cases the software will automatically recognize the smartphone camera and set it as your webcam. In other cases, you'll have to click the small arrow next to the "Stop video" button and select the 'e2eSoft iVCam' as your camera (see first image). Even if you do have a camera on your or PC, chances are that your smartphone has a better camera than the one you have.


To use your smartphone as a 2nd camera (for teaching / sharing hand-writing):

To use your smartphone as a 2nd camera which you can use to capture hand-written notes and what-not, press "Share" (2nd image) and go to "Advanced" (3rd image). Select "Content from 2nd camera". You'll now have both cameras connected to your zoom meetings!

My main use for this was to teach physics and math, but you can use it to share all kinds of hand-written notes!

BONUS #1: Simple Smartphone Stand for Zoom Meetings

IMG_20200825_213200.jpg
IMG_20200825_213417.jpg
IMG_20200825_213428.jpg
IMG_20200825_214644.jpg
IMG_20200825_214701.jpg
IMG_20200825_220212.jpg
IMG_20200825_220126.jpg
IMG_20200825_220325.jpg
IMG_20200825_220830.jpg
IMG_20200825_220916.jpg
IMG_20200825_220256.jpg
IMG_20200825_221243.jpg
IMG_20200825_221238.jpg

I made this using popsicle sticks and hot glue. The images are really self explanatory but if you want more instructions here, let me know in the comments :)

I do have a few tips though:

1) Use a milimetric paper while you glue the different parts and use it to lay the pieces straight. That why your final smartphone stand will be stable.

2) The paper-clip on the back lets you adjust the angle at which the phone faces you. It's useful for video-chatting.

3) I cut a hole at the bottom of the stand so that my USB cable fits through. This is also very useful.

BONUS #2: Smartphone Holder for Capturing a Whiteboard

I also made a smartphone holder to capture A4 pages while I write on them as a whiteboard. I would share it too, but there's a much better version on instructables that I highly recommend. It's simple, cheap, and much better than mine :)

Once you have a smartphone holder, place some printing paper or a small eraser whiteboard just beneath it. That way, when you share the content of your 2nd camera, students or other collaborators could see your hand written notes.

Connecting Your IPhone As a Webcam - Some Tips

** I do not have an iPhone, so I have not tried these methods myself, but since people asked for guidance I did some research and included the information I found! Thanks TheFireMan & RobertA282 for the links and information!

1) First, if you have an iPhone but you're using Windows, you can still use the iVCam app. Here's a video of a guy showing how to do it.

2) RobernA282 suggested using Epoccam. Looks like you can use it both on Windows / Android and Apple OS.

3) TheFireMan suggested using DroidCam. He pointed out that it should work on Linux, Windows & Mac.

If you need any further help or have any feedback regarding connecting your Android / iPhone as a webcam, feel free you post a comment or message me!

That's it for now! if you have any comments or questions I'd love to hear them!

You can find some of my other projects on my instructables page and if you like this instructable I'd appreciate if you vote for me in the Back to Basics contest!

See you soon!

If you want to support my projects, you can buy me a coffee :)

100% of all proceedings will go into future projects! Thanks!!