Arduino Robotic Directional Wifi Scanning


I wanted to be able to locate wifi signals, so I built a directional antenna and strapped it onto my panorama robot. The waveguide style antenna built from a used can (explains the name cantenna) looked to be the easiest to build. I bought a pigtail with an N male connector to RP-SMA male connector.  I plugged this into my Alfa Network AWUS036NH. I then fired up inSSIDer and used PuTTY to control the Arduino sketch and aim the antenna.

The signal strength was not what I expected to see at all. I assumed this antenna was directional and would be strongest when I pointed it directly at the AP. It was strongest pointing at about a 45 degree angle to the left of the access point. I’m a complete n00b when it comes to RF, so any feedback on why I’m not seeing what i expected for results would be greatly appreciated.

Note: Will update post if/when I have an answer.


I am a complete n00b when it comes to build antennas. I goobered another can on there and it works a lot better. I have to give a great thanks to several redditors for pointing me in the right direction. I’m always impressed with how helpful people are. Even better, I’ve got some reading to do now.

I’ve included links I found useful or interesting and more pictures.

Continue reading “Arduino Robotic Directional Wifi Scanning”

Toner Transfer on the Cheap

I recently made my first PCB with toner transfer using an iron. It was pretty ugly.

I bought a cheap-o laminator from walmart for $25 + tax. It’s a Scotch TL901. I used masking tape to hold things in place. It worked well enough that I’m not going to complain.

I never realized what a difference a laminator makes! It’s hard to mess up now. I also tried using parchment paper.

The results are so much better with parchment paper and a laminator than proper transfer paper and an iron. At the end I have a pic of transfer using transfer paper. The edges are a lot more crisp, but it costs quite a bit more.

Toner transfer with parchment paper


Scotch TL901 Thermal Laminator

20120501-225704.jpgContinue reading “Toner Transfer on the Cheap”

Arduino IRremote + Servo Problem

I’m having some sort of issue with this. The servo is twitchy. Using and

It twitches just by having both enabled. I’ve included the code I used for the first part of the video. If you know why this is happening, I’d love to hear it.
Continue reading “Arduino IRremote + Servo Problem”

Arduino Laser Turret Cat Toy

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 “Arduino Laser Turret Cat Toy”

Crappy Wireless Device – Auto Reset

I’ve got a piece of crap wireless network device. It disconnects or the server part just locks up, or dies, or I have no idea, but it stops working. I am not fond of this behavior. It seems to work pretty well after it’s reset. It could be any misbehaving device like a modem, router, wireless cam, network security camera, bridge, or repeater.

This runs on my linux box running ubuntu server. It runs the job every 5 minutes, pings the crap device and the router. If the router has reset itself (very crappy unreliable century link DSL service) it makes note of this. The router usually comes back within 5 minutes.

If the device has stopped responding to ping and the router is up, it uses my CM11a X10 interface with heyu to turn off the appliance module the crap device is plugged in to. It’s not nice on the crap device, but beating on its power supply is a fair punishment for just stopping work after about a week.

Continue reading “Crappy Wireless Device – Auto Reset”

Hexbug Spider LIRC Control

As soon as I knew they existed, I got a Hexbug Spider. I wish these things existed when I was little. It is COOL!

Now that I’m older and can buy toys for myself, I can do more interesting things with my toys. The Hexbug is IR controlled, like a tv remote control. I have a Microsoft MCE IR blaster connected to a Mythbuntu linux box. LIRC is pretty easy to configure.

Of course this is just a substitute remote control. It isn’t as awesome as what EMGRobotics is doing with the hexbug spider. The biggest advantage of a computer remote control is scripting moves!


Continue reading “Hexbug Spider LIRC Control”

Panorama Robot

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).

Auto Panorama

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.

Cat Annoyance

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 “Cat Annoyance”