Silicon ChipUSB Cameras: Use Them With Your Smartphone - May 2016 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: The visual spectacle of thunderstorms and auroras
  4. Feature: Atmospheric Electricity: Nature’s Spectacular Fireworks by Dr. David Maddison
  5. Feature: How To Convert Analog Video Tapes To Digital Format by Greg Swain
  6. Project: Budget Senator 2-Way Loudspeaker System by Allan Linton-Smith
  7. PartShop
  8. Review: USB Cameras: Use Them With Your Smartphone by Leo Simpson
  9. Serviceman's Log: Re-keyboarding a Yamaha electric piano by Dave Thompson
  10. Project: 230/115VAC, 50/60Hz Precision Turntable Driver by John Clarke
  11. Project: 4-Input Temperature Sensor PCB For The Raspberry Pi by Nicholas Vinen & Greg Swain
  12. Project: Arduino-Based Multifunction Measuring Meter, Pt.2 by Jim Rowe
  13. Product Showcase
  14. Vintage Radio: The 1948 AWA model 517M mantel radio by Associate Professor Graham Parslow
  15. Subscriptions
  16. PartShop
  17. Market Centre
  18. Notes & Errata: Automatic Starter Circuit for Cars, Circuit Notebook, April 2016

This is only a preview of the May 2016 issue of Silicon Chip.

You can view 42 of the 104 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Items relevant to "Budget Senator 2-Way Loudspeaker System":
  • 2-Way Passive Crossover PCB [01205141] (AUD $20.00)
  • Acrylic pieces to make two inductor bobbins (Component, AUD $7.50)
  • 2-Way Passive Loudspeaker Crossover PCB pattern (PDF download) [01205141] (Free)
Articles in this series:
  • Budget Senator 2-Way Loudspeaker System (May 2016)
  • Budget Senator 2-Way Loudspeaker System, Pt.2 (June 2016)
Items relevant to "230/115VAC, 50/60Hz Precision Turntable Driver":
  • 230/115VAC, 50/60Hz Precision Turntable Motor Driver PCB [04104161] (AUD $15.00)
  • PIC16F88-I/P programmed for the 230/115VAC, 50/60Hz Precision Turntable Motor Driver [0410416A.HEX] (Programmed Microcontroller, AUD $15.00)
  • Firmware (ASM and HEX) files for the 230/115VAC, 50/60Hz Precision Turntable Motor Driver [0410416A.HEX] (Software, Free)
  • 230/115VAC, 50/60Hz Precision Turntable Motor Driver PCB pattern (PDF download) [04104161] (Free)
  • 230/115VAC, 50/60Hz Precision Turntable Motor Driver lid panel artwork (PDF download) (Free)
Items relevant to "4-Input Temperature Sensor PCB For The Raspberry Pi":
  • 4-input Temperature Sensor PCB for the Raspberry Pi [24104161] (AUD $5.00)
  • Two BSO150N03 dual SMD Mosfets plus a 4.7kΩ M3216/1206 resistor (Component, AUD $5.00)
  • Scripts and configuration file for Raspberry Pi 4-input Temperature Sensor (Software, Free)
  • 4-input Temperature Sensor PCB pattern for the Raspberry Pi (PDF download) [24104161] (Free)
Items relevant to "Arduino-Based Multifunction Measuring Meter, Pt.2":
  • Arduino Multifunction Meter (MFM) PCBs [04116011/2] (AUD $15.00)
  • SMD resistors, capacitors and diodes for Arduino Multifunction Meter (MFM) (Component, AUD $25.00)
  • Arduino sketch, Windows installer & source code for the Arduino Multifunction Meter (MFM) (Software, Free)
  • Arduino Multifunction Meter (MFM) PCB patterns (PDF download) [04116011/2] (Free)
  • Arduino Multifunction Meter (MFM) cutting details and panel label artwork (PDF download) (Panel Artwork, Free)
Articles in this series:
  • Arduino Multifunction 24-Bit Measuring Shield (April 2016)
  • Arduino-Based Multifunction Measuring Meter, Pt.2 (May 2016)

Purchase a printed copy of this issue for $10.00.

USB cameras: use them with your smartphone This review looks at a variety of USB cameras which are normally intended for use with a laptop PC. But if you are trying to poke a USB pipe inspection camera down a blocked drain you don’t want it to be hooked up to a laptop – it is too awkward. The solution: hook it up to your smartphone and use an app like CameraFi. By Leo Simpson I have been eyeing off a couple of USB pipe inspection cameras from Jaycar for a while, as they should be very useful in quite a range of situations. Jaycar have two models: one with a 7-metre long flexible cable and one with a 2.3m flexible cable but in other respects they are identical. The camera itself is only 10mm in diameter and it can be poked into very small open46  Silicon Chip ings indeed. And while it is billed as a pipe inspection camera, it has far more uses than that. Incidentally, they are very often described on the net as borescopes – and even (obviously erroneously) as endoscopes. Since I was involved in a home renovation, there was quite of lot of wiring and plumbing to be done and I found that the electrician and plumber had not even come across the idea of using a pipe camera for peering into wall and ceiling cavities. In fact, when running new cables, most sparkies are using the tried and true method of poking a strip of “yellow-tongue” into a cavity and seeing if it can be fed through to the wanted location. Often it can’t. One particularly frustrating job involved installing a lot of LED downsiliconchip.com.au We’ve shown this close-up of the 2.3m Jaycar QC3373 for two reasons: you can see the four LEDs alongside the camera lens, with brightness controlled by a knob on the box. Also on the box is a “shutter” button to take a freeze-frame image. lights in the this home and trying to run the necessary cables over ceiling joists was time-consuming and labourintensive. If the electrician had used one of these inspection cameras, some of the frustration could have undoubtedly been avoided. But there are plenty of other applications where such a camera would be very handy. For example, you could use it check inside the cylinders of many engines (via the spark plug holes). It could possibly even be used to check for corrosion and blockages inside the water channels of exhaust headers on boats. Each camera incorporates its own light source in the form of four white LEDs, adjustable in brightness via a tiny knob on the side of a small plastic case in-line with the USB cable. That same in-line box also has a push-button which can use to take photos or start and stop a video recording. No batteries are required for the camera since that comes via the USB cable from the PC it is plugged into. This one is the Jaycar QC3374 which has a the tiny (10mm diameter) camera on the end of a rather stiff 7m cable. In this case the control box is integrated with the USB plug. The mini CD contains Windows software (but not Android). OK, all good but there are many jobs where you simply don’t want to have a camera tethered to a PC. Can you imagine a plumber trying to inspect a pipe with this camera tethered to his laptop while he stands in a muddy trench in the rain? Neither could I. But there is an easy solution. Ditch the PC and use your smartphone instead. Virtually every tradesman has a smartphone in his pocket and they are always using their phone to take picture of jobs. The pics can be used for later reference or sent to clients. And despite all the marketing hype, trying to convince you otherwise, over 70% of smartphones sold in Australia are of the Android variety (although it must be said there are countless camera apps for iPhones as well). So it is a simple step to hook one of these inspection cameras up to the micro USB socket on your phone. You need an OTG USB female A plug to micro male B plug. By the way, OTG stands for “on the go” and refers to adaptors while allow USB devices to connect to smartphones etc. Jaycar have a short cable adaptor which will do the job (Cat WC7747). So that takes care of the physical connection but would the USB inspection camera actually work in this mode? CameraFi There are probably more camera apps out there than you’ve had hot breakfasts but one which we’ve previously used is CameraFi, a free Android app from www.camerafi.com So I duly downloaded the Camera- Resolution The camera has a resolution of 640 x 480 pixels and is quite adequate for the tasks it is likely to be used for. Each camera comes with Windows software on a CD which can be loaded onto a laptop PC (provided it has a CD or DVD-ROM drive) and installation is relatively straightforward. You can then take the camera and your laptop to the job to be inspected, poke the camera into the job and view the cavity on the PC, take pics or a video. siliconchip.com.au Here’s a screen grab of the CameraFi app from my Samsung smartphone. It not only gives you instructions on connecting your camera (or in this case, the inspection camera) but allows you to set various modes (including movie mode) and a variety of other settings. It’s a free download from www.camerafi.com May 2016  47 The proof of the pudding, as they say: this screen shot is taken from the setting on page 46, looking down a large stormwater pipe. You can even see the join in the pipe in this shot – but fortunately, no blockages! Fi app onto my Samsung Galaxy S4, plugged in the inspection camera and it worked first time. It’s just so much more straightforward than loading software from a CD into a laptop. Well, does it work well as a camera in nooks and crannies? Well, yes, sort of... There are a few wrinkles. First, having the short OTG cable between the camera’s USB plug and the phone is a bit awkward, due to the relative stiffness of the camera’s cable. I found it was better to use a compact rigid female USB to micro USB adaptor. Second, it is quite awkward trying to take a picture using the in-line button on the camera cable. It is more convenient to simply touch the camera logo on the CameraFi screen. The Samsung phone has a “speech” function to take pics – you just say the word “shoot” and it . . . shoots! But I couldn’t get this to work with the app. With a focus down to about 50mm (or even less) the camera is more than capable of capturing text, which can then be put through Optical Character Recognition (OCR) software (also available online) and converted to a document file. It would be ideal if the camera sat in the centre of the pipe but it usually doesn’t. It goes where it wants to go – and in most cases, that’s following an edge. When you do get a clear view, it works very well. Other USB cameras What about using CameraFi with other USB cameras, such as a USB microscope camera? I tried it with Jaycar’s 5 megapixel USB microscope camera (Cat QC3199) which we featured in the article on magnifiers in the September 2015 issue (www.siliconchip.com.au/Issue/2015/ November/Magnifiers%3A+When+ You+Want+A+Really+Close-up+View). Again, it worked really well and it’s much more straightforward than using it with a laptop or PC. Selfie sticks We cannot finish this article us- ing smartphones without referring to selfie sticks. Most readers probably regard these devices with disdain and think they are only used by self-indulgent nitwits to post images of themselves and their equally inane transient companions on Facebook or Instagram. But selfie sticks can be very useful devices when you are trying to look into awkward locations which may well be out of arm’s reach. You only need to use a selfie stick once in this sort of situation and it will have already paid for itself. By the way, if you do decide to buy a selfie stick, make sure it will “pair” with your phone (it’s a Bluetooth connection) before you make the purchase. There are quite a few which won’t even find another Bluetooth device and even some which won’t pair, especially if the smartphone is more modern than the selfie stick SC Interpreting the image But the biggest problem tends to be when you are poking the camera down a drain or in a wall cavity and trying to interpret the image. First of all, Murphy’s law ensures that the image you see is not related to the horizontal. It takes some brainpower to work out which way is “up”. And the reason the image tends to be “fuzzy” is that, especially when you’re looking in a narrow pipe, say a 90mm storm water drain, the camera will slide along the edge of the pipe. 48  Silicon Chip A typical “selfie stick”, fitted here with my Samsung S4 Android smartphone. The stick, which telescopes out from about 90mm to almost one metre, is supposed to “pair” with the phone via Bluetooth to shoot pictures. . . except for one tiny detail – it won’t! In my case, I simply take the photo by saying “shoot” to the phone. But if your phone can’t do this, make sure you buy a selfie stick that will pair with your smartphone! Inset top left are two types of USB adaptors which are needed to fit an inspection camera to a mobile phone. siliconchip.com.au