kellbot

Nov 132009
 

One of the awesome things about building a hacker group is the community that has grown up around us. Our members are cool and all, but our community is what makes us great.

Unfortunately keeping a hackerspace as awesome as ours running comes with some real financial costs. Rent, power, insurance… it all adds up pretty quickly. Some of our community members have asked how they can help. Therefore, we’ve created a Friends of Resistor program.

So what do you get for being a Friend of Resistor? Access to an amazing community of hackers and makers via our Google Group, craft night, and other public events. But wait aren’t I already getting those for free? Well, yes. By becoming a Friend of Resistor you help make sure these events stay free, as well as give us the resources to host more open community events.

NYCRmoleskineFor just $13.37 a month, less than a new stick of PC133 RAM, you can help keep Resistor awesome. Plus, Friends of Resistor not only get the fuzzy feeling associated with supporting a good cause, you’ll also get a SWEET NYC Resistor Moleskine Notebook* to put all your exciting notes in. Because who doesn’t leave craft night brimming with ideas? Oh. Well, you would if you had somewhere to write them down!

So what are you waiting for? Sign up today!

What if you don’t have a monthly surplus that l337 to spread around, but still want to contribute? Consider teaching a class! Teaching a class is fun and rewarding. And everyone has something they can talk about for an hour. If you’ve got a topic you’d like to share with inquiring minds, email us the details at contact@nycresistor.com.

We now return to your regularly scheduled programming.

*To be picked up at craft night… we’re not mailing these babies, sorry! And yes, we totally stole this idea from NPR.

Nov 112009
 

Introduction to Algorithms

What’re you doing Sunday evening? Nothing? Come down to NYC Resistor where starting this weekend we’ll be working through the Introduction to Algorithms course available through MIT’s OpenCourseWare project. What’s OpenCourseWare?

MIT OpenCourseWare (OCW) is a web-based publication of virtually all MIT course content. OCW is open and available to the world and is a permanent MIT activity.

We’ll start at 5pm and the lectures run about an hour and a half. The time may shift a bit each week due to other classes happening at the space, but we’ll post it on the calendar well in advance. The class uses the text “Introduction to Algorithms” which you may want to pick up or borrow from a friend. We’ll try to scrounge up a couple copies to have on hand.

This event series is totally free to attend, but if you enjoy it please consider donating to the MIT OpenCourseWare project!

This week we’ll be watching Session 1: Introduction – Analysis of Algorithms, Insertion Sort, Mergesort

Oct 132009
 

 Success! I’ve managed to print to the thermal printer by sending commands over my homemade connector cable in HyperTerminal.

Picture 027

 There were a few breakthroughs which helped me get to this point. On the off chance they might answer, I asked the manufacturer for the pinout information for the serial port on the PD-22. Not only did they send me a pin diagram, they also included a schematic for the cable.

Pins 1-8 are straightforward and what you’d expect to find on RS232. I was originally thrown off because 9 looked like signal ground. Pins 9 and 10 are tied to each other, and go to signal ground internally. I think this is used to indicate that the cable is present, as the printer defaults to IrDA otherwise. I’ve updated the Eagle schematic to tie 9 and 10 together and removed the traces which aren’t connected to anything.

I didn’t have a chance to etch the new board yet, but really wanted to try things out so I made do with the old one by just putting a blob of solder between pins 9 and 10. It’s not very pretty, but it works!

Picture 026

The next step is getting this contraption working with the Arduino instead of running off a USB serial port on my laptop. I have to read up on the SoftwareSerial library, as I haven’t really done anything with it before. I also need to read the command sheet more carefully, I’ve figured out how to print, and turn the thing off via serial, but haven’t got it to feed the paper after printing. Right now I just press the feed button.

But it works!

Oct 112009
 

 As part of my knucklebuster hacking project, I’ve been working with a portable thermal receipt printer. I picked up a Citizen PD-22 on eBay at a very attractive price, but later realized why it was so attractive: the printer uses a proprietary RS232 cable, and replacements are hard to come by at any price, much less a reasonable one.

Mysterious Port

Aside from that hitch, the printer itself is great. I found a full list of the control codes on the manufacturer’s website, and got it to spit out some configuration information. It runs on 4 AA batteries, which fits the bill of "portable electricity" for our show. 

The printer also has an IrDA port, but after poking at it for a day and talking to a friend about it, I’m abandoning hopes of getting the Arduino to interface with it. I have a bunch of IR LEDs, but the IrDA protocol is apparently a big pain.

Poking around on DigiKey didn’t bring up any connectors which fit the bill, so at the suggestion of someone on the NYCR Microcontroller Study Group list I set about building my own by etching a tiny PCB with appropriately spaced traces.

A pair of calipers measured the traces at 0.8mm, so I came up with a board in Eagle, shown at left. It’s super simple, just 10 wires and 10 holes. I plan on using a Makerbot to make a nice little housing for the board, after I trim it down some. 

Note that the traces fan out at the end simply because I am not very good at soldering in small spaces, and i wanted plenty of room for error since I was using the toner transfer method of making the PCB. 

The board was actually a bit too thick, and while someone more patient might have ordered thinner copper-clad board, I am nothing if not impatient so I took it to the belt sander to remove a little bit of material from the back.

 After some trimming I got something which appears to work! I’ve located power and ground on the pins, but not much else. None of the other pins seem to be saying anything, which is surprising.

Still left to do is drilling out the holes for the wires and soldering them up. Then I’ll cut/file the excess board away and build a little housing for it on a Makerbot. I may decide to re-etch the board with slightly longer traces, right now there’s *just* enough room to clear the printer housing. That and one of the traces didn’t come out quite right (although it’s still serviceable as-is).

Admittedly, I did end up ordering an official cable for the princely sum of $35. I figure I can use it as a control, and to double check that I’ve figured out the pins. So far I haven’t located TX/RX. I would have expected RX to be floating, but my cheap RadioShack multimeter shows no signs of life on the other pins.

 

Sep 042009
 

 If you’ve been considering signing up for Beginning PHP, do it quick! The class is this coming Sunday!

The class is geared towards people with no prior programing experience,  so don’t be intimidated if you aren’t too handy with variables and functions. So sign up! Sign up now!

Jul 092009
 

I always wanted a cute little herb garden. There are two problems: I live in an apartment with no yard, and I have a black thumb. I generally forget about my houseplants, and then they die.

Which is why I’m excited that my attempt at building an aeroponic garden for growing basil, oregano, etc has been successful so far:
Basil, Oregano, and Lettuce

I set up two different pots, one using an air pump and airstone, the other using a water pump and some tubing/sprayers. The results have been mixed, and I’m still revising things. But now I have some basil that’s just about ready for me to steal some of. The nice thing about this setup is that it’s totally automatic. I can forget about it for a week and that’s just fine. All I have to do is top off the water once a week or so.

A full report, including an explanation of how the two setups were built can be found here: http://www.kellbot.com/category/projects/diy-aeroponics/

May 282009
 

There are still a few spots left in this weekend’s PHP Classes, so if you’ve always wanted to learn PHP here’s your chance!

Beginning PHP runs from 1pm to 3pm on Saturday and covers basic PHP syntax, functions, etc. It’s perfect for people with little to no previous programing experience.

Object Oriented PHP is a class for folks who already know their way around PHP and want to learn object oriented programming to go with it. We’ll cover the basics of OOP, and some of PHP’s OO excentricities. It runs from 1pm to 3pm on Sunday.

Snag your spot now before they fill up!

May 242009
 

Ok maybe it’s a little smaller than life-size, but it’s a hella fun way to play Katamari.

More details on how it’s put together can be found on my blog, kellbot.com

May 212009
 

swapfestOur first swap night was a success! There were lots of goodies being traded: mysterious old EPROMs, old iPods, a steam engine, a laser barcode scanner, resistors by the reel, even a Wii. Most folks left with a little more than they came in with… but at least it was different stuff!

If you didn’t make it you missed out an a lot of cool stuff, but don’t worry; We’ll likely have another one in the future!