Archive | Technology

Top view of completed robot

Tags: , , , ,

Building a robot: Dagu Magician Chassis & Arduino

Posted on 29 January 2012 by Mark Szulc

I’ve been reading quite a lot about Arduino & open source hardware recently and managed to build my first robot! Since I learned quite a bit in the process I wanted to share the experience.

This robot is based on the Magician Chassis from Dagu using an Arduino controller & Monster Moto Shield. I order the kit from Australian Robotics who have had really good service and delivery times.

Robot parts

I approached the building in a few stages;

  1. Assemble the chassis
  2. Program the Ultrasonic Range Finder
  3. Program the Monster Moto Shield
  4. Combine the above three steps!

Assemble the chassis

Assembling the chassis was quite simple. Most of the pieces simply screw together although I had a bit of fun trying to get the motor mounts to snap in place. They were a bit tight but managed to fit so if you experience the same then you should get there eventually.

Assembled Motor & Wheels

 

Programming the Ultrasonic Range Finder

This part was fun and my first experience doing something more interesting with an Arduino beyond blinking a LED. I used a breadboard and experimented getting the range finder working in isolation. This is generally a good way to approach building anything, as once the range finder was working I knew that code was fine and could go onto the next step.

Before moving on, I made one simple mod to the basic range finder sample, and that was to add a feedback LED so I could see when the robot detected something in front of it. Not needed, but good for debugging.

In the picture below you may notice an Ethernet Shield, this is not needed and was simply part of my test environment.

Ultrasonic Range Finder on breadboard with Arduino

 

Assemble & Program the Motor Shield

This is the part of the project was the most challenging. I made a few mistakes but got there in the end.

First of all I could have probably gotten away with just using the cheaper Ardumoto – Motor Driver Shield rather than the Monster Moto Shield but after watching the demo video on the Sparkfun site and viewing some images, it appeared that that was the recommended controller and being new, I wanted to make sure things worked.

The blue screw terminals shown on the board below are not supplied so you’ll need to purchase and solder these on as well as the risers (not shown below) so it mounts on the Arduino board. If you are new to soldering (or a bit rusty as I was) you may want to practice on something else before burning out a $80 board. For this I used a different cheap Arduino shield to practice on.

Monster Moto Shield

My last hurdle was powering up the motors. I made the mistake of thinking that the motors would be powered via the base Arduino power source and spent a few hours scratching my head trying to work out why the motors wouldn’t start even though the board had lit up. I emailed SparkFun tech support and they quickly set me straight (thanks Michelle!) and advised that I’d need an additional power supply even though one was not shown in the photos. I connected a second power supply and voila! We have movement!

Putting it all together.

All that was left now was to combine the 3 stages above. Merging Arduino code, putting the sensors on the robot chassis and start testing it out. This part was smooth sailing and after a couple of trial runs and tweaks to the code, I’m quite happy with the results.

Side view of complete robot  Top view of completed robot

 

Here is a video of the completed robot

If you are interested in building something similar, here is the final Arduino code I used

SensorBlinkMotor.zip

 

Now comes the hard part.. what to build next? Stay tuned…

Comments (0)

Tags: , ,

How I configure my Windows 2008 R2 demo setup

Posted on 20 September 2010 by Mark Szulc

Given that I often demonstrate Adobe’s server products (LiveCycle ES and others) I typically have a server centric environment on a VMWare image stored locally on my laptop. I have (finally) upgraded my demonstration environment from Windows 2003 to Windows 2008 R2. Since I often get asked how and why I set up my demo environment the way I do, I’ve captured some notes and share them

I won’t cover the actual OS installation, so i’ll assuming the OS & drivers are installed and you’ve run Windows update. First, in order to make the OS look slightly more familiar, I install the Desktop Experience feature using Server Manager, or with the following command line:

  • ServerManagerCmd -i Desktop-Experience
This will install the Windows Aero and other desktop themes, along with a lot of other programs that go into Vista by default (Windows Media Player, Windows Photo Gallery, etc.). Next, you need to set the Themes service to Automatic and start it. For Windows Server 2008 R2:
  • Click Control Panel > Appearance and Personalization
  • Click Personalization and select the Aero Theme

Stop the annoying Windows server shutdown event tracker. Each time you reboot you have to log a reason why… useful in production, but ANNOYING in development & demo. Continue Reading

Comments (2)

Screencasting your Android

Tags: , ,

Screencasting your Android

Posted on 15 September 2010 by Mark Szulc

Quick post to share a great utility for anyone like me who would like to show off their Android app on a projector. In my case I’ve been demoing the latest Adobe Reader, LiveCycle client, Acrobat.com, Photoshop Express apps from Adobe as well as some samples created with the upcoming AIR for Android.

Screencasting an Android

The problem is that I used to use a web camera and try and hold the phone in front of it while demonstrating. What I’ve started using now is AndroidScreencast (http://androidscreencast.googlecode.com). It’s a java app that displays whatever is on your Android device onto your PC. The screen refresh rate is not amazing, but it does work on Mac, Windows & Linux!

All the gory details are on the project site, but it works great!

Comments (0)

Tags: , , ,

How to fix PDF previews in Outlook 2007 64 bit

Posted on 31 October 2009 by Mark Szulc

If you’re like me and have finally made the move to a 64bit version of Windows, be it Vista or Windows 7, you may have come across an annoying glitch related to PDF previews within Outlook 2007. Instead of displaying the PDF correctly you receive an error similar to “This file cannot be previewed because of an error with the following previewer: PDF Preview Handler for Vista -  To open this file in its own program, double-click it.”

Adobe Acrobat and Reader both come with Adobe PDF preview handlers for Outlook but the installer has a mistake which means the preview handler does not work on 64-bit systems. It turns out the problem can be fixed via a simple registry change.

All that needs to be done to correctly preview PDF docs in Outlook 2007 64bit is to first download the latest Adobe Reader, then add the following key to your registry;

[HKEY_LOCAL_MACHINESOFTWAREWow6432NodeClassesCLSID{DC6EFB56-9CFA-464D-8880-44885D7DC193}]
"AppID"="{534A1E02-D58F-44f0-B58B-36CBED287C7C}"

The fix should only be applied to 64-bit versions of Windows that have Adobe Reader installed. Don’t apply the fix to 32-bit versions of Windows.  To install make it easier to configure, download the adobe_pdf_x64_fix, unzip then double-click the adobe_pdf_x64_fix.reg file and follow the prompts.


thanks to http://www.pretentiousname.com/adobe_pdf_x64_fix/index.html for this workaround..

Comments (16)

Tags: , ,

Notes from Web09

Posted on 20 April 2009 by Mark Szulc

web09_mediumLast week I had the pleasure of attending the Web09 conference in Auckland, New Zealand with Adobe’s Paul Burnett, Andrew Spaulding and Ryan Stewart. I took a few notes from some of the sessions. While this isn’t a complete run down of the conference, and does not include comments on every speaker, here are some of the remarks I picked up on.

Continue Reading

Comments (0)

Tags: , ,

Adobe’s Open Screen Project

Posted on 30 April 2008 by Mark Szulc

I’m really pumped! Today Adobe announced the Open Screen Project, lead by Adobe and supported by technology leaders such as Cisco, Intel, Nokia, Sony, Toshiba etc and content providers like MTV, NBC, BBC and more.

We drag around our devices with us every day, and these little things (media players, mobile phones etc) come out partying with us, sit in airport terminals with us, even sit at a lonely dinner table with us when travelling. So why is the experience on these devices not as good as the heavy laptops we carry around?

The good news is that its about to change. Adobe is lifting the restrictions on the use of the SWF & FLV file formats. This means that device manufacturers can easily embed Flash content designed by designers, not just coded by developers into their new products, leading to a great user experience!

We’ve seen some great examples of whats possible already.. iRiver have used Flash as the UI for their media players for some time, Flash comes with both the Sony PSP & PS3, and some mobile manufacturers are building the entire phone UI in Flash!

This is really big and I’m sure we’ll be talking about this for some time!

Comments (0)

SmallWorlds

SmallWorlds

Posted on 18 January 2008 by Mark Szulc

SmallWorlds beta was opened up today and I was lucky enough to get an invite.

SmallWorlds

Mitch Olson and the rest of the guys over in Auckland, NZ have been flat out creating what I believe to be the best online interactive experience currently on the web.

So what is SmallWorlds? The best i can do to describe it is to think of a cross between “The Sims” and FaceBook. You create an avatar, get some credits and start looking around. Second Life also comes to mind, but unlike Second Life, you can be logged in and interacting with people in seconds thanks to the fact that SmallWorlds only requires Adobe’s Flash Player.

Interacting is fun, you can play pool with others, listen to music, watch TV (YouTube clips), look at art hanging on the wall (Flicker) and more.

It’s currently in beta but still loads of fun. If you want an invite, send me an email.

Comments (1)

Integrating an iPod into a Mazda 3

Tags:

Integrating an iPod into a Mazda 3

Posted on 27 December 2007 by Mark Szulc

Finished installation!I should have done this a long time ago, but i finally managed to get my iPod hooked up to my Mazda 3 SP3 factory stereo and it is fantastic. Great sound, great integration with steering wheel controls etc, the iPod is charged while driving and icing on the cake is the fact that the song names come up on the dash!! Continue Reading

Comments (8)

Free Adobe Flex 2 training and more!

Posted on 25 June 2007 by Mark Szulc

Came  across this little gem (thanks to Binusha for the link!). Tutorom offer loads of free lessons on everything from Adobe Flex 2, to Oracle, JavaScript, Adobe PhotoShop CS2 and more, and thats just the tech related topics ( you can learn how to drive a manual car!)

Definitely worth taking a look at. www.tutorom.com

Comments (0)

WebJam tonight in Sydney! Booked out!

Posted on 06 June 2007 by Mark Szulc

Yes its raining, but don’t go home, don’t go shopping.. if you’ve registered make sure you join us tonight at WebJam

Jam Bar, Level 4, Hotel CBD, York St, Sydney.

Comments (0)

Photos from my Flickr stream

See all photos

What I'm Doing...

My Photos

Magician Chassis robotUltrasonic range finder on front of robotMagician Chassis robotTest setup of Ultrasonic Range FinderMagician ChassisTest setup of Ultrasonic Range Finder

Google Ads

My mobile site

QR Code - scan to visit our mobile site

This is a 2D-barcode containing the address of our mobile site.If your mobile has a barcode reader, simply snap this bar code with the camera and launch the site.

Who's Online

2 visitors online now

Switch to our mobile site