• Home
  • Articles
  • Entertainment
  • Games
  • Hardware
  • Projects
    • Coffee and Tea
    • iPhone
    • MyToaster
    • TouchShield Slide
  • Security
  • Software
  • Space
  • Tweaks
  • Updates

I am ShadowLord

Interesting to me

Feed
  • $10 Mont Blanc Rollerball Hack

    Apr 17th 2010

    No comments

    My dad gave me a Mont Blanc pen as a gift awhile back. I love the pen -- it writes amazingly smooth, it’s rather expensive, and I also don’t want to lose it.

    On the site Instructables.com, I found a pen hack tutorial. Someone figured out that the refill for the Mont Blanc rollerball pen is the same as the refill for the Pilot G2 pen. The Mont Blanc is so nice because of the tip and the refill has the nib right on it. I picked up some office supplies and recreated the project. I bought a Pilot G2 for $3 and a Mont Blanc rollerball refill for $7 at Staples. My Pilot G2 / Mont Blanc rollerball pen turned out great. I feel much more comfortable carrying the hacked version around.

    The Pilot G2 Mont Blanc

    Here are some tips:

    • You can get blue or black Mont Blanc refills.
    • The Pilot G2 is the “0.7 Fine Point” version of the pen.
    • The Mont Blanc rollerball refill is slightly larger than the ink cartridge of the Pilot G2.

    All you have to do is trim down the Mont Blanc refill and match the size. I took some sand paper and smoothed down the plastic endcap to match the size of the Pilot G2 rollerball cartridge.

    Here are the tutorial and video I watched to create my own $10 Mont Blanc Rollerball:

    Share this

    Projects, Tweaks

    hack, mont blanc, pen, Projects, rollerball

  • A Magic Trick Four Years in the Making

    Apr 11th 2010

    No comments

    When I get get ready to go out, I check to make sure I have the essentials:

    • Wallet – check
    • Watch - check
    • Pants - check
    • Extra Pants - check
    • Binaca - check
    • Three of Diamonds – check

    For almost 4 years, I have been carrying around a “Three of Diamonds” in my front pocket. I wanted to pull off a surprising magic trick using this precise card. The trick involves asking somebody to pick a card from an invisible deck of cards. I would say, “Pick any card,” as I fanned out a pretend deck of cards. My hope was that the trickee would pick the “Three of Diamonds”. If I could produce the card they were thinking of, they would be amazed – they would have to be.

    Three of Diamonds

    Three of Diamonds

    I chose the “Three of Diamonds” for one main reason – if someone picked it out of the blue, it would be unlikely that I was prepared for that exact card. “Ace of Spades” of “Queen of Diamonds” would be obvious, but a three – none one would pick that one.

    My thoughts were right, no one picked the three of diamonds for a long time, 4 years or so. I had to play it off as a joke when they said some card other than the 3 of D. Almost half the time someone picked an Ace of something.

    But patience paid off. I was at a party recently and I got to try my trick again. I saw a group of ladies that were friends of friends that I had met a long time ago. I started up a conversation. I wanted to say the words “Three” and “Diamonds” in the chit-chat. After so many wrong picks, I thought that I would start stacking the deck so to speak. I had to be subtle though.

    “Alright, I want you to think of any card…” I waved my hands to mock a magician and got a smile. “Pick any card…Do you have the card?…Can you see it?” She said, “Yes!?”

    I dug out the hidden “Three of Diamonds” and said, “Is this your card?” She opened her eyes and reacted with total amazement. She immediately wanted to know how I just did that. “It’s magic. I am magical.”

    I have since retired the trick. I didn’t want to be that guy that does magic tricks at parties. How annoying is that guy?

    Share this

    Entertainment

    cards, diamonds, magic trick

  • TouchShield Slide Two-way Communications

    Mar 21st 2010

    18 comments

    Over last summer, I got the GamePack from Liquidware which includes a touch screen display, joystick, microcontroller, and battery pack. With this kit you can make a GameBoy from scratch. With some blood, sweat, and tears, I was able to re-create some games like Asteroids and Tetris.

    The touch screen is called the TouchShield Slide which is a 320×240 OLED and resistive touch screen. The screen also has a microcontroller that is Arduino compatible and expands your program space. Since the screen is really a microcontroller in disguise, it can be used for many types of projects. Overall I am very happy with the screen, but I realized I didn’t know how to use it very well. I set out to learn and develop a protocol / reusable library that allows the screen to talk to a microcontroller and vice-verse. So I wanted to take a moment and explain what I learned – maybe you can get going faster than I did.

    The Goal

    My goal is to be able to display data on the screen that has been received from another device. The data requested would be initiated by a touch on the screen. The protocol has to be consistent and reliable, while being flexible enough to be the basis for future projects.

    Touch -> TouchShield Slide -> Arduino -> TouchShield Slide

    Touch -> TouchShield Slide -> Arduino -> TouchShield Slide

    Programming Tips and Tricks

    I found quite a few libraries and resources on liquidware.com.  I also discovered quite a few important things through my trial and error. My biggest frustration was with programming and figuring out the IDE. Here are some tips.

    • To program the screen use the Antipasto Arduino / Aardvark IDE
    • Program the screen and Arduino separately - make sure the IDE has the proper device selected
    • To put the screen in program mode, press the switch beside the power connector – it’s in program mode when the LED on the backside is red

    TouchShield Slide Serial

    Serial data sent and received by the TouchShield Slide uses the hardware serial lines.

    To setup the serial connection, place this line in your setup code block:

    Serial.begin(9600);

    Now you can read and write to and from the serial buffer. To read in a whole string, use a byte array to store bytes from the serial buffer when serial data is available. To write to the serial buffer, simply use serial print.

    char charIn = 0;
    byte i = 0;
    char stringIn[32] = "";

    while(Serial.available()) {
    charIn = Serial.read();
    stringIn[i] = charIn;
    i += 1;
    }

    Serial.print("A");

    Arduino Serial

    On the Arduino side, you have to use some form of Software Serial that sends and receives data on Pins 2/3. I have found that the Adafruit SoftSerial Library, “AFSoftSerial.h”, works the best. It seems to be reliable and produce consistent results when talking to the TouchShield Slide. Reading and writing from a software  serial buffer is about the same as a hardware one with this library.

    To use software serial, follow these steps:

    • Include the “AFSoftSerial.h” library in your Arduino code header space
    • Define the RX and TX pins
    • Instantiate the software serial
    • Initiate the software serial line
    #include <AFSoftSerial.h>

    #define RX_PIN  3
    #define TX_PIN  2

    AFSoftSerial touchSerial =  AFSoftSerial(RX_PIN, TX_PIN);

    void setup() {
    touchSerial.begin(9600);
    }

    Demo Project

    I took a moment to put together all of the things that I learned into a quick demo project. This project displays a random number on the screen. The random number is being generated by an Arduino, sent via serial, and requested by a touch of the TouchShield Slide.

    Visit Liquidware’s App Store to download the source code and library for this demo project.

    Random Number from Arduino Displayed after Detecting a Touch

    Random Number from Arduino Displayed after Detecting a Touch

    Share this

    TouchShield Slide

    app, arduino, liquidware, Projects, serial

  • Physical Security Book Published

    Mar 19th 2010

    1 comment

    Physical security is video surveillance, entryway access, and sensors. In other words, it’s a network of things to protect and secure physical areas. Traditionally this network was analog and serial, but today it’s converging through the use of the Internet Protocol (IP). IP allows you to build a physical security network using one network and probably the very same network that you already have in place. Transitioning over to IP also gives rise to a lot more features and software based analytics. Physical security is just as important as network security.

    Tim Dodge and I wrote a book last year about transitioning from analog to IP-based security systems called, “Introduction to IP-based Physical Security”, published by TESSCO Publishing. The book is meant to be a jump start for those heading over to IP-based physical security and video surveillance.

    Today I had the thrill of opening up a box with a few publication samples. I know we are in a digital age, but I have to admit that it was cool holding a book with an ISBN and a barcode on it…

    IP-based Physical Security

    I look forward to running into this book in a used bookstore and/or being the reason for a book burning.

    Share this

    Security

    Book, IP, Security, surveillance, tessco

  • Best Invention Since Sliced Bread

    Mar 3rd 2010

    No comments

    My toaster is back in the news with a post on FoxNews.com regarding “Things that Tweet”. I love things that can speak and soon the idea of a “web of things” will not be so odd.

    The website “Global Toaster” reported that my internet toaster is a celebrity. Their site is chock full of toasters, toaster info, toaster love, and a toaster blog. Check it out.

    Share this

    MyToaster

    internet of things, iobridge, my toaster, thingspeak, twitter, web of things

    • <
    • 1
    • 2
    • 3
    • 4
    • ...
    • 7
    • >
  • Recent

    • Dominion Card Game Review and Storage Project
    • Adding Images to EAGLE PCB Layouts
    • Toaster + Twitter = Internet of Things
    • New Gig, Less Hotels
    • Mini Vox Robot Hacking
    • $10 Mont Blanc Rollerball Hack
    • A Magic Trick Four Years in the Making
    • TouchShield Slide Two-way Communications
    • Physical Security Book Published
    • Best Invention Since Sliced Bread
  • Tags

    airport arduino battery cards comedy writing connectors dating fiber optics games hack high-speed internet of things iobridge IT lan liquidware mobile device movie reviews my toaster optimization otdr packet analysis podcast printer drivers printing procedure Projects psychology recieve-only reviews services sketch comedy smart phone sniffing social networking stand-up tech support tessco twitter ubernote web 2.0 web applications windows windows vista wireshark
  • Archives

    • July 2010 (2)
    • June 2010 (2)
    • May 2010 (1)
    • April 2010 (2)
    • March 2010 (3)
    • February 2010 (1)
    • December 2009 (1)
    • October 2009 (1)
    • September 2009 (1)
    • August 2009 (1)
    • June 2009 (2)
    • May 2009 (1)
    • April 2009 (1)
    • January 2009 (1)
    • December 2008 (3)
    • October 2008 (1)
    • June 2008 (1)
    • May 2008 (1)
    • April 2008 (1)
    • December 2007 (2)
    • November 2007 (1)
    • October 2007 (1)
    • September 2007 (1)
    • July 2007 (1)
    • June 2007 (1)
    • May 2007 (1)
  • Latest Tweets

    • Dominion Card Game Review and Storage Solution - http://bit.ly/9aUAw5 #GenCon #Games #BGG
    • Is everyone ready for Gen Con? #gencon
    • New blog post : Adding Images to EAGLE PCB Layouts http://bit.ly/dpLOyS
    • I found a box of Tim Horton's coffee today...yes!
    • Any one going to Gen Con from Pittsburgh?

© Copyright I am ShadowLord. All rights reserved.

Theme designed by Nischal Maniar