[!] The blog has moved [!]

The blog has moved to http://carlitoscontraptions.com/.

You will be redirected to the new URL in 5 s. Sorry for the inconvenience.

March 30, 2009

Smoking Cyclops

For a long time now, I wanted to have a soldering fumes extractor. Until now I have been using a small fan but I wanted something more appropriate, something that would filter the fumes instead of just moving them away.

Some days ago, I decided I had to build a fumes extractor. I had a broken humidifier that I found in the garbage so I took it apart and used its pieces to build the extractor.

Materials
  • An old humidifier
  • Some assorted crimp connectors
  • Some zip ties
  • A rubber band
  • A two positions switch
Tools
  • A set of files
  • A hacksaw or rotary tool
  • A drill
  • A diagonal cutter
Getting it done

The first step when building something from a broken appliance is obviously to take it apart and go trough the parts in order to find how you could put the together in order to achieve your goal. In my case, I required the suction fan, the air filter (which is actually a sort of sponge used to provide as much surface area as possible for the water to easily evaporate), the base, and the power wire. I also ended up cutting a piece of the plastic casing that has a grid on it so I can attach the filter and put it in front of the air exhaust.

Then, it is a matter of cutting, drilling, filing, sanding and fitting together until you have the desired shape and function. I really like to use zip ties for binding things together since they are cheap, strong and can be undone (sort of) easily.

As for the electrical part, the can motor had three coils that, when energized, drive the motor shaft at three different speeds. Since I do not have the need for that much speed control, I used a three positions switching order to control it. I connected the main switch lead to the mains power and the other two leads to the first (slowest) and third (fastest) coils. Then I connected the ground and the mains power to the motor as required and voila. When the switch is in one position, the fan turn at the slowest speed (since the first coil i energized) and when the switch goes the other way, the fan spins at full speed (since the third coil gets energized). Finally, the the switch is at the middle position, all the coils are disconnected and the fan sits still.

Also, since I do not have a crimper, I used a diagonal cutter to crimp all the conenctors (that go to the switch). Using a diagonal cutter for this purpose can be tricky since, if you apply too much presure, you may end up cutting the conenctor, or if you apply too little presure, then the cable may slip away from the connector. As it can be seen in the picture to the right, crimping with a diagonal cutter leaves a very distinctive mark on the connectors.

March 22, 2009

Compact Keychain 2.0

The first compact keychain was a great success among my readers and became very popular very rapidly.

Now that my life has become slightly more complex, I need an extra key (and also, I've lost my original keychain) so I had to build another one. This exposes the most obvious fault of the design: no keys can be added or removed.

I was at the hardware store and I came across some Chicago screws, Immediately I remembered all of my readers suggesting using such screws for the keychain. Although I had seem Chicago screws previous to these suggestions, it is only thanks to my readers that now I know how they are called.

So, I decided to get some ¼" screws since they fit pretty nicely three keys. Since I had some extra space, I added a large washer. I can use this washer as a flat head screw driver (that even works on some Philips screws) or a bottle cap opener.

I was planning on using some thread lock in order to prevent the screw from loosen itself but it was not necessary. Also, for some keys, it may be required to enlarge their hole so the screw can fit in nicely.


Finally, while going trough a few jars filled with old keys I got form freecycle, I found an ancestor to my compact keychain. This old version features a custom Chicago screw and a leather jacket that covers  the keys.

March 11, 2009

Opus Smart Card

The Opus card is pretty much like an onion
~ Oscar Wilde
Here in Montreal, the public transportation system (STM) started to use a new system for paying the fares: a smartcard.

This smartcard is called Opus and features contactless communication as well as regular metal pads (like those on telephone cards). This card can be recharged with various tickets, month passes, week passes, etc. More info on it can be found in its very own wiki page.

Ever since it came out, I wanted to hack it and learn more about it. By searching a bit on the net, I found out that it is similar to other smart cards being used elsewhere in the world and this allowed me to learn some interesting things.

Similarly to the Hong Kong version of the system, the reader has a security feature that avoids writing to more than one card at the time. Let me explain: if you try to add fares to many cards at the same time (on the paying machine that features a contactless reader) by placing them on the reader, only the first one will get loaded with fares. This means that the cards are more than a simple memory, they feature a more complex and almost certainly encrypted communication system.

Also, each card has its own identification number.

Observations on the card behaviour:
  • Cards loaded with a monthly pass will make the the readers shine a green light (or yellow for students) during the given month and grant access.
  • Cards loaded with tickets will make the reader say that one ticket has been used, shine a green light and grant access (same behaviour as with alternative magnetic band tickets). The ticket is then spent.
  • If the card with a ticket is read again within two hours of spending a ticket, the reader will shine a green light and grant access without spending another ticket. The readers also displays a message acknowledging this.
  • The process of loading a card with new fares takes around two seconds after the payment has been performed. While the card is being loaded, a yellow progress bar is shown. This means that writing to the card is a slow operation and cannot be performed on the fly while passing the card by the reader when entering the bus, for instance.
  • It is unlikely that the readers in the buses are connected in a network with all metro stations and themselves.
How I think the card works:
  1. The card is put next to the reader which provides it with power (same as any contact less communication)
  2. The reader sends the current time to the card.
  3. The card checks if it can grant access to the transportation at the given time.
    1. If it has a month pass, the card only worries to see if the month is write.
    2. If it has a ticket it stores the time and spends a ticket.
    3. If it has spent the ticket in the previous two hours it does not decrement the ticket count
  4. In all the previous cases, the card sends the instruction to the reader to grant access and tells it what kind of message/light it should show.
  5. If the card does not have tickets or month passes or transfers (a ticket spent in the last two hours) it less the reader so and the reader does not grant access.
If this card is any similar to the ones in other countries, all the communication between the reader and the card are encrypted. The encryption may be symmetrical which means that there is a secret key shared by all the readers and the cards.

Also, at some point, the card may send its unique ID number to the reader.


Some extra info:
I also wanted to see how the card is built, and the easiest way of doing so is to disassemble it.

Since it is made out of plastic, I put it to rest in a bath of acetone (nail polish remover) for a bit less than a day while periodically checking how it was doing. I poured the acetone in a old iPod metal casing since it has almost the same size as the card.

In the end I found out that the card is made up of several layers. This layers are very thin (or so are they after being soaked in acetone for 20 hours) but very sturdy.
The middle layer contains the antenna and contact pads in order to be connected to the microprocessor. The chip is merely sitting on the pads, this may explain why the cards are so prone to break: when it is bent, the pads do not touch the antenna any more and the the card becomes inactive.

Note that the dissolved plastic in acetone really stinks on the fingers when you manipulate the dissolved card and it is really a pain to clean.

March 10, 2009

The Batrang

I always wanted to have a batrang since I have always liked Batman a lot. So, I decided to build one now that they have become much simpler than before in the latest Batman films.


Materials
  • A chunk of steel
The tools I used
  • Various files
  • A Jigsaw
  • A hacksaw
  • A Dremel with a heavy duty cutting blade
  • A grinder
  • A sharpening stone
  • Various grit sandpaper
  • A steel wool sponge
I used the pattern below, extracted from a film poster (or something like that) and obtained by accentuating the contrast and cutting off colours until the shape was clean enough. I printed it so it measures around 3.5 cm by 12 cm.
Then, I overlaid the printed and cut shape on the metal, traced it out with a marker and cut it roughly with the hack saw and the jigsaw (the jigsaw is not mine so I mainly used the hack saw). The next step was to grind and file the metal until it had the right shape. The lasts steps where to polish it and sharpen it so it could actually cut. I prefered making it sharp than polishing, as a result, it now serves as a multi-purpose knife or letter opener. I put a magnet on it so I can stick it to other metal surfaces such as a fridge.
As my readers may have guessed, I always prefer function instead of looks.

I may try to temper it to make it stronger and more durable.