Friday, June 20, 2014

Obi-Wan Kenobi Light Saber Mod into an E-cig

Recently helped a friend modify an Obi Wan Kenobi .45 scale light saber into an e-cig.  The model is similar to the one in this Ebay listing, and is getting pretty rare.  They got the idea from a forum post that did a much less elegant job, but contains a slightly bigger battery.  Here are brutal steps for our build:
  1. Get the model disassembled.  You should end up with:
    • An end cap
    • Chromed plastic 6 spoke pommel cap
    • A die cast metal shroud
    • Plastic insert for metal shroud
    • Belt loop with screw
    • Red and brass buttons with screw
    • Die cast fore end
    • Plastic insert for metal fore end
    • 3x chromed plastic pins that hold the plastic insert inside the metal fore end
  2. Find a battery.  We were able to fit a 180mAh long cylindrical 3/8" diameter one into the case.  It had a button on one end that fit just right so the fitting just comes to the fore end and a hole can be opened in the plastic insert for the metal fore end to allow access.
  3. Vice the metal fore end by the wider cap (and not the base) into no-mar jaws and drill out the central hole with a 3/8" bit.  I would suggest a drill press for this operation, though a hand drill will do in a pinch.  A Dremel did not work for this due to hole size.  The metal is aluminium, so it shouldn't be too rough to do on most metal bits if you go slow and break your chips.  NOTE: we busted the spindly base off the wider fore end and snapped the 3  connecting bars by holding the fore end in the vice by the body of the fore end and not the cap.  They went back on with superglue after we matched up the shear patterns, but avoid this if at all possible.
  4. Gently vice the plastic insert to the fore end and drill it out to 3/8" as well.  While you have it disassembled, drill the hole for your the button on your battery as well.  NOTE: be careful not to deform the plastic insert in the vice.
  5. To reduce rattle inside the case, wrap some electrical tape around the parts of the battery that don't precisely fit (and are hidden in plastic).
  6. Attach a wooden or metal extension on the battery cap and drill it so the belt loop screw can be reinserted.  We used wooden dowel screwed onto the plastic cap at the end of the battery, then epoxied in place. The belt loop screw holds the metal shroud and plastic fitting to the battery in the same manner as the fitting and battery button hold the fore end tight to the battery.
  7. Attach your fitting and vape!
Fully Assembled

Coil Removed

Side View with all Vape connectors removed



Friday, May 23, 2014

Outlook 2013 Forms are Blank when Sent

I tried my hand at designing an Outlook Form.  The most frustrating thing for noobs seems to be that when they send the form, it appears blank.  For me, the fix wasn't in the first page of Google results.  Here's where I got my fix: http://www.slipstick.com/developer/designing-custom-forms/

The problem was the Page setting.  By default, the layout for Compose (when entering data into the form) and Reading it (after being sent) are separate.  To fix this, uncheck "Separate Read Layout".  This will cause the form to be displayed even after it is sent.


Behat Error: PHP Warning: array_combine():

When I attempted to run a Behat Feature with multiline arguments, I kept getting an error.  In the console, the Feature Description lines would print, but the following error would print 3 times thereafter.

PHP Warning: array_combine(): Both parameters should have an equal number of elements in /home/testadm/LbX/vendor/behat/gherkin/src/Behat/Gherkin/Node/TableNode.php on line 133

After hours of searching, I found that it was caused by my arguments and the PHP function array_combine().  This function requires all arrays to be combined to have the same number of elements.  I can't reproduce it now, but these are possible solutions:

  • The simple solution: make sure all your cells have values.
        | Good  | Data | Data |
        | Bad   |      |      | 
  • Don't put comments after a line in a multiline argument.
        | key   | value    |  # No comments after a cell 
  • Make sure your scenarios containing multiline arguments have a semicolon after them.
    Given you have a multiline argument:
        | Data | Value |
        | Data | Value |
    Then make sure you have a semicolon at the end of the line

I'll update this post when I figure out the true cause.

Wednesday, May 21, 2014

My Github

https://github.com/RangerDan

And my first project:
https://github.com/RangerDan/rainbow-guess

The work in progress shots from the Misc Electronics post are for this repository.  Need to restore some changes lost after a kernel panic on my raspberry pi dev station and then it is a hop, skip and jump to release.

Wednesday, May 7, 2014

Arduino and Other Electronics Projects

Miscellaneous electronics and microcontroller projects:

Make and RadioShack's Drawdio:
Initial test of this 20x4 character screen.  Notice the Haiku
Small Screen Blues
Screens 20 by 4
Focus encoded messag
As haiku does

 First fully custom project.  Writing a 'guessing' game that uses a RadioShack RGB LED Strip, the screen, LEDs, and 6 buttons.  Already maxed out the memory of the little chip on the Uno R3.
 Moving my dev environment to Raspberry Pi.  The borrowed laptop I was using is going to be repurposed and will live in an inaccessible place.  Here is the Pi running the Arduino IDE.
 Used Google, and knowledge from a class at SYN Shop, the local Hackerspace, to remove and troubleshoot this module.  It is a Blower Motor Speed Controller from my car's AC.  I found out the transistor in it is bad, but replacing it would take more effort than it is worth.

Table Saw Rehab Results

Executed the checklist from a previous post.  Here are before and after picks of the absolutely filthy top.  Ended up going at it with Krud Kutter, then a palm sander with WD-40, then razor blades.  It is sealed using Minwax Paste Wax and is as smooth as glass.

These stains were caused by paint and primer used for preparing Warhammer miniatures:
 I may have abused the garage lights to maximize shininess:
I still need to fabricate something to choke off the cabinet and force more dust through the vacuum hose.  Also, the router table needs some work to make sure the melamine has all residue removed.

Random Board Gaming Shots

Jenga: 32 levels with my son

Alea Lacta Est - Press your luck game with a Roman theme.  Translation: The Die is Cast.  Very fun!

Kremlin, a reprinted Avalon Hill game.  Note the prototype OFBC illuminating the board

Forbidden Desert with Ethan.  He loves this game, and it is awesome to see him strategize.

Telestrations with Ethan and my Grandparents.  Considerably less innuendo than usual.