swan tron dot com

Inexpensive Ink Cartridges

Back in my college days, I did a lot of printing. As a math major, I probably printed a fraction of the amount of pages that most students had to rifle off. Most of our work was done either by hand on paper, or done utilizing math software of some nature (Matlab, Maple, etc.) and submitted directly into a professor’s shared folder. Call it old school or just plain old, but that is the nature of the beast. Even with that on my side, I wound up printing all of the time…between my core course work and math reports (no kidding) I was constantly hitting Ctrl - P. My sample size is sufficiently large to draw a parallel between ‘important printing task’ and ’empty ink cartridge.’ Every…single…time. I don’t know how many times I found myself trying to get to Staples before closing time, in order to buy a replacement cartridge. Too many. To add insult to injury, brick and mortar retail prices are the stuff of nightmares. Those markups still blow my mind. Pretty much outrageous. Like my octopus drawing: octopus ink Not to date myself, but online shopping was limited in my day. Amazon was around, but primarily for books. Specialty places were popping up…and then subsequently bursting when everything hit the colloquial fan. Comparative online shopping stuck, however. One of the things I am jealous of now are the deal pricing that you can find on ink cartridges. Very jealous…that would have put me in Cup of Noodle instead of Ramen. But, I digress. I have seen some creative stuff out there. You can buy bulk ink…shooting for the DIY fill-it-at-home crowd. Some models have cartridge reset units springing up…allowing the user to gain a few more prints per refill. The two main drawbacks of that are time (time is money) and quality. A lot of the replacements are prone to smudging…may as well pay for the real deal and do it right. At the end of it all, I have had good luck finding ink cartridges for my HP and Kodak printer online. Hit that link to see my go-to site.

Easy LCD Arduino Display

I am tired of looking at wobbly windows full of Eclipse. The best and worst part of the IOIO board is the fact that the libraries are Java-centric…unfortunately, I am in the middle of a ‘worst’ phase. I am sort of stalemated. Unfortunately, my issue lies in something that should be trivial, namely naming. Once I can figure out how to orient the crap out of these object-ass pins, I will be good to go. Until then…I am going back to the basics. Processing looks so safe and warm. Coziness, for the win.

How about a 20 by 4 LCD project? Okay.

+1 blue

I have had this sitting on the workbench of bad lab for a while. Time to get after it.

The unit came assembled, minus the jumpers I needed to plug this into my breadboard for prototyping. Coincidentally, my soldering station needed to come out of retirement. Sixteen pins…sounds about perfect.

those.

I snagged the unit from hacktronics.com. Their website has details on the pin-level for the LCD unit. Pretty straight forward…slam it together and feed it a string or four. Wiring as follows:

+ several wires

It has been a while since we have had a snippet. Fair enough; queue the snippet:

// LCD sandbox
// https://swantron.com
// 2011

#include <LiquidCrystal.h>

// **Define pins**
// LCD RS - pin 12
// LCD R/W - pin 11
// LCD ENABLE - pin 10
// LCD BACK+ - pin 13
// LCD DATA4 - pin 5
// LCD DATA5 - pin 4
// LCD DATA6 - pin 3
// LCD DATA7 - pin 2
// LCD VSS, CONTRAST,  BACK- - ground

LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);

int backLight = 13;    // Define pin for backlight

void setup()
{
  pinMode(backLight, OUTPUT);
  digitalWrite(backLight, HIGH); // Backlight level (LOW / HIGH)
  lcd.begin(20,4);               // (Columbs, Rows)
  lcd.clear();                   // Clear screen
  lcd.setCursor(0,0);            // Move cursor, print
  lcd.print("liquid      |   swan");
  lcd.setCursor(0,1);            // Move cursor, print
  lcd.print("crystal     |   tron");
  lcd.setCursor(0,2);            // Move cursor, print
  lcd.print("display     |    dot");
  lcd.setCursor(0,3);            // Move cursor, print
  lcd.print("(FTW)       |    com");
}

void loop()
{
}

That is that. Again, the potentials for this sucker are vast. I would like to to let this rip with my PING sensor, but need to throw some more effort towards the IOIO. Java schmava. Stay tuned for a bad assed project of some nature…even plan B is pretty awesome these days.

World’s Greatest Search Term

Tearing through my server logs, I have encountered the best search term in the world. nasa discovers new life in your butt I sure hope that the searcher found what he or she was looking for. In your butt.

Woot Bag-O-Crap FTW!

I’ve been trying to snag a Bag O’ Crap from Woot since 2007. At long last, victory is mine. woot bag o crap I verified that my card has been billed…it appears legit. I might have to post a nerdy un-boxing vid. Pretty excited here. For the record, I have used trackers in the past to no avail…this one was done with pure dumb-luck. No bots, for the win.

IOIO Android Breakout Board

~~~~ WARNING: AWESOME ~~~~ My new thing has officially arrived. Both in the literal sense and philosophically. I love my Arduino, and I love my Android…now I can have the best of both. Introducing, the IOIO breakout board… ioio breakout board I snagged this guy from SparkFun. You know how the Android is full of stuff? Accelerometers, touch screen, GPS receiver, WiFi…etc? Instead of having to start from scratch for each of my Arduino projects to introduce components, this board will allow me to use the Android/Java as the backbone of my code, instead of using Processing/C++. And that, my friends, is +++. Take a look at this awful-picture-quality-having video: Sorry about that…I had to use Katie’s old BlackBerry to record the demo. It leaves much to be desired. Anyhow, so far I have just managed to get Eclipse configured, and have uncovered several gotchas. The biggest obstacle was getting the permissions worked out and linking the libraries properly. When in doubt, chmod -R 777 * and let it rip. We’ll see what comes of this…could be cool once I dust off my Java skills. Of note: pretty sure I am the first person to get this working on a Droid 2, and likely the first to set this up on Linux. It just shipped yesterday, so the sky is the limit on this…I am very excited. Big props to Ytai and SparkFun.

Cheap Eyeglasses

Due to either poor eye genes or work related strain, my vision has really taken a turn for the worse. Let’s just go with work and call it a day…three monitors are certainly awesome, but can’t be helping things out much. Regardless, I find myself on the hunt for some [link removed}. My buddy Dock and I managed to sneak out to the golf course last weekend. It was my first round for years where I have managed to swing my driver all day (without giving in and hitting my three iron off of the tees) which was great. It was way less than great to need a spotter to figure out where I was ending up, due to my horrible eyesight. I can out drive the limits of my sight…for the win? Baseball is right around the corner…time to handle this thing. Zenni is the place to go for online eyeglasses. Quality eyewear without the gauging that you will see at the optometrist. If you can see your bill. You may be surprised by the actual prices… zenni optical … great specs …looking sharp. Head to the local WalMart, shell out a few bucks for your prescription, and holler at Zenni. Cheap enough for redundant backups.

LED…Matrix or Cube?

They’ve arrived… white leds 125 white LEDs. My first thought is 5*5*5 LED cube, powered by the Arduino. I am also thinking that a 6*20 LED matrix would be pretty slick. Either way, my soldering skillz will be put to the test, and awesomeness will surely ensue.

MMMexican Beer

Katie and I impulse bought the crap out of this at Costco… mexican beer …Dos Equis is pretty tough to beat. In my book. May your Cincos de Mayo be equally awesome. Buenisimo!

Verizon Wifi Tether…Droid + Ubuntu

The internets have been abuzz with talk of further stifling of Android tethering. Regardless of what will come of this, I would recommend getting a setup in place. May as well…you paid for the device. Am I right? My breaking point came with continued poor results from the wireless connection at work. Enough was enough. After trying several mean with which to tether, I think I have found one that is suitable for my needs. droid 2 verizon tether My hardware is simple…mid-line Dell Studio Notebook running Ubuntu 11.04…Droid 2, rooted, running Fro-Yo. Verizon with data plan…unlimited, if that is still the case. Connection…check droid verizon tether I played around with several apps, but have found that Barnacle Wifi Tether from the Android Market does the trick quite nicely. I have dumped several gigs through 3G, and it is decently fast. Haven’t had to reboot, or do anything wonky to this point. I have had two clients connected simultaneously, and it seems to be chugging along. You must configure the security settings, as this puppy lets it rip wide open out of the box. Grab the app from the Market before Google folds to Verizon. If you need any help rooting your phone, holler at me as well.

OBL Helmet Cam Footage 2

Drudge is reporting that the White House is preparing to release a photo of Osama dead. There is all sorts of speculation going on now…talks about releasing a video of his burial at sea, for instance.

Keep in mind that I avoid talking religion and politics on this site. There are all sorts of idiots blathering on about such things. This has nothing to do with the motivations, but rather a way to analyze the video, should it surface. Likely because it has been on my mind a lot lately, but the first thing that comes to my mind is the open source software I have been researching lately.

+1 terminal

I have been messing around with an algorithm nicknamed “Predator.” Messing around, as in trying to get something developed on W7 / Matlab to work on Debian / Octave. Sort of a pain, but I digress. OpenTLD is the project…

How is this applicable? It works to track unknown objects in unbounded video streams. Here, it can be used to compare a reference image (known pic of Osama) to the example footage (military helmet cam) for identification purposes. This could be used also to dampen the movement of the video…take out the bounce.

Pretty interesting stuff, huh? I am really hoping I can get this up and running on my system. When I do, I promise I will demonstrate something less offensive than a video of this nature.