Apr 112012

Laser pointer turret, x y coordinate laser pointer, overgrown cat toy, whatever you want to call it. It has been done before 1001 times over, but I wanted to do it again, for myself. The hardware part of this is extremely simple. I just switched the device from the cat annoyance post from solderless breadboard to perfboard and headers. The X axis servo is on pin 9 and Y axis servo is on pin 10. I broke the Aixiz laser module I had on there, so I replaced it with a cheapo laser pointer from wal-mart.



I didn’t care for the code I had written before. It just moved the laser from one point to another random point. The cats seemed more confused by its erratic behavior than amused. I figured circles would be a good idea. I swiped snippets of code and inspiration from the following forum post.


I want it to turn off after 15 minutes, and reset after an hour. To add some variability, the diameter of the circle increases and decreases, the speed is random, the circle point of the circle is random too (all within certain limits).

I’ve included the code below
Continue reading »

Feb 192012

The menu for the panorama robot is slowly getting more useful as I learn how to make the menu structure. Once I figure out saving values between power cycles, I’ll be ready to mount the 16×2 LCD screen.



Of course I can’t show the video without also showing the result (scaled to 50% to keep filesizes manageable).

Feb 072012

I have mentioned panoramas before. This time, it got lazy. I’m sure things will improve, since this is the first run.

It uses a lazy susan bearing, 2 Futaba S3004 servos, a Hitec HS-55 micro servo, an Arduino UNO SMD, a pile of brackets, bolts, boards and wires. I whipped up an arduino sketch that starts the panorama when I hit the letter “a” in a serial terminal, prints the servo angles for each stop, then waits for input when it’s done. I’ve decided on a 10 degree step in both pan and tilt with the zoom in all the way on the Nikon S220 camera. To get the pictures to my laptop, I use my Eye-Fi Share 2GB SD card. I then use Microsoft Image Composite Editor to stitch them.

And here’s the result, scaled down to a reasonable size. There are definitely some stitching errors. I suspect having the camera angle skewed to the right doesn’t help much.

Nov 032011

I got an Arduino Uno for Christmas last year, and of course the first thing I think of is laser pointer turret. I played with this for months while I learned the basics of Arduino programming. It was knocked apart when hail totaled my Trailblazer.

To simplify rebuilding the turret, I bought a pan/tilt kit from trossen robotics. I upgraded the laser from a wal-mart cheapo with the buttons taped. Aixiz lasers are inexpensive and very easy to use. The aluminum mount is taped to the pan tilt kit.


650nm 5mW laser module.3.2V 12x30mm

12X30mm aluminum mount for AixiZ 12X30mm units

I actually bought my laser parts through eBay

The arduino and radio shack project boards are housed in a plastic bin I bought from wal-mart for a couple bucks. I hung it on the wall with a piece of decorative ribbon swiped from my girlfriend’s wrapping bin. I wanted to see the cats attacking the laser, so I dug out my webcam.


Hanging from the wall in place of a picture. Continue reading »