MAKE A TRACKING WEBCAM
PROTECT YOUR HOME WHILE YOU’RE AWAY
WINDOWS 7 RELEASE CANDIDATE WHAT’S NEW IN MICROSOFT’S KILLER OS?
ISSUE 229 AUG 2009
PERFORMANCE GEAR & GAMING
ISSUE 229 I PROMISE. I WILL NEVER DIE
FREE
DVD 62 GA 118 APMES P’S SEE P AGE 122 FOR D ETAIL S
I PROMISE. I WILL NEVER DIE
Ultimate guide: Hit 3.7GHz with Intel’s stunning new budget CPU
BOOT WINDOWS FASTER AND RUN YOUR RIG SMOOTHER
How to optimize services in Windows
WWW.PCFORMAT.CO.UK
THERE’S MORE… Upgrade your PSU Killer games from E3 Computex: Core i5 hands on How to Master
Sims 3 Issue 229 August 2009 £5.99 Outside UK & ROI £6.49
FUEL: 100,000 MILES OF ROAD PCF229.cover 1
CALL OF JUAREZ 2 GUNSLINGING FUN 11/6/09 12:13:4 pm
Make: A tracking Up to USB webcam £20 Keep tabs on the neighbours with your own motorised webcam and a bit of help from PCFormat
W
e all know robots are going to take over the world, and as if to quicken the coming of the Singularity and the thumping march of our new metal overlords, we’ve got a Make that can bestow seeming intelligence to the most basic of USB peripherals. Using the guts of a toy missile launcher to provide the moving parts and any old webcam to act as the eye, then with the right software to guide the whole lot, we’ll soon have a fully motorised tracking webcam! Clever old us hey? Well no, we’ll be leaning heavily on the shoulders of genius for this one. Just fitting the webcam to the movement mechanism is handy enough but it’s the software that brings this Make alive. At its heart is the novelty USB Launcher that can be picked up for as little as £15. PC World was flogging them for this over Christmas, so shop around on eBay rather than ThinkGeek.com or Iwantoneofthose.com where they’ll be more like £25. At its most basic we’re just attaching a webcam to the missile
3
launcher - if you want just a mechanical webcam you could happily remove the missile section and attach just the webcam. We’re using the software here as a basic controller, however it comes with intelligent tracking features. With a basic level of programming you could upgrade this to automatically target moving objects. ¤ Neil Mohr
What you will need ¤ USB rocket launcher ¤ USB webcam ¤ Hot glue gun ¤ RoboRealm Software
2
1 5
4
Future Publishing Limited provides the information for this project in good faith and makes no representations as to its completeness or accuracy. Individuals carrying out the instructions in this project do so at their own risk and must exercise their independent judgment in determining the appropriateness of parts, equipment, sealants and other
64
PCF229.make 64
adhesives for a particular use. (Yes, we know, but it’s what the lawyers tell us to print). Protective clothing, gloves and goggles/safety glasses should also be worn at all times, when using drills. Use of the tracking USB webcam may void a product’s warranty (like you really care, but, again, we have to say this for the stupid people). To the fullest extent
permitted by law, Future Publishing Limited takes no responsibility for any person relying on the information relating to this project and disclaims all liability for any errors, omissions, damage or injury to users or their equipment as a result of or relating to their making and use of the tracking USB webcam.
August 2009
16/6/09 11:55:36 am
Make a tracking USB webcam
7 6
8
10
“We’ve got a Make that can bestow seeming intelligence to the most basic of USB peripherals”
9
How to make a tracking cam
Lets turn this little into a webcam missile launcher (1). Every webcam is different, so you’ll need to decide what’s the best way to mount yours. You could hot-glue yours to a plastic plate or fix the webcam directly (2). We’re going to use a bolt and then hot-glue that in place to minimise any damage/mess (3). Remember that hot glue makes a real mess, so cover your surfaces and remove any extra gunk by warming it with a hairdryer (4). To take control of (and even automate) your launcher head to www.roborealm.com/tutorial/usb_missile_ launcher/slide040.php and grab the .robo and the second ‘Try this one’ files. You’ll also need RoboRealm software from the front page. Install and run RoboRealm with the camera and USB launcher plugged in. Drag and drop the Missile_keyboard. robo file onto the program (5). If you’ve get one of the new Dream launchers everything will work (6). If, like us you’re running the older grey launcher, you’ll need to select and delete the DC_Missile module. Click the Index tab and add the Striker_Missile module. Enter the term ‘move’ into the variable box (7). The script is set incorrectly so the launcher will move straight away. Double-click the Keyboard_Read module, change the [cursor left] action setting to ‘Or’ rather than ‘Set’ (8). Click the Camera button to activate it and away you go (9). Here we’ve modified the software to recognise red objects and report back their coordinates (10). August 2009
PCF229.make 65
65
16/6/09 11:55:38 am