Hackaday Links: May Day, 2016

Humble Bundle is a great way to fill up your Steam library – just pay what you want, and get some indie video games. The Humble Bundle is much more than video games, because No Starch Press just put up a bundle of books on hacking. No, there are no books about wearing balaclavas and using laptops with one hand. I haven’t written that book yet. There’s some choice books in this bundle, including [Bunnie]’s Hacking the XboxAutomate the Boring Stuff with Python, and Practical Malware Analysis.

The Raspberry Pi camera – the $25 add-on webcam that plugs directly into the Pi – is getting an upgrade. The original camera was a five Megapixel sensor that was EOL’d at the end of 2014. The Raspberry Pi foundation bought up a lot of stock, but eventually there would be a replacement. The new sensor is a Sony IMX219 eight Megapixel deal, available at the same price. We assume a NoIR version without the IR filter will be released shortly.

Here’s a little hardware review that doesn’t quite merit a full post. The Raspberry Pi Zero is great, and will be even better once production ramps up again and stock lands in warehouses. One problem with the Zero is the lack of USB ports, leading to at least two Hackaday posts with the exact same headline, ‘Yet Another Pi Zero USB Hub‘. Obviously, there’s a market for an easy to use USB hub for the Zero, and this company is stepping up to fill the need. The killer feature here is the use of pogo pins to tap into the USB differential lines, power and ground pads on the bottom of the Pi Zero. The USB hub is based on the popular FE 1.1 4-port USB hub controller, giving the Pi Zero four USB 2.0 ports. Does it work? Yeah, and it’s only $10. A pretty neat little device that will be very useful when Pi Zeros flood workbenches the world over.

It was announced in 2014, released in 2015, but the STM32F7 hasn’t seen a lot of action around these parts. A shame, because this is the upgrade to the famously powerful STM32F4 microcontroller that’s already capable of driving high-resolution displays through VGA, being an engine control unit for a 96 Ford Aspire, and being a very complex brushless motor driver. The STM32F7 can do all of these and more, and now ST is cutting prices on the F7’s Discovery Board. If you’re looking for a high-power ARM micro and don’t need to run Linux, you won’t do better elsewhere.

Need to reflow a board, but don’t have a toaster oven? Use a blowtorch! By holding a MAPP blowtorch a foot away from a board, [whitequark] was able to successfully reflow a large buck converter. There’s a lot of water vapor that will condense on the board, so a good cleaning afterward is a good idea.

A few weeks ago, [Mr. LeMieux] built a 360 degree, all-metal hinge. He’s been up to something a little more dangerous since then: building piles of mini table saws. Small table saws are useful for miniatures, models, and the like. [Mr. LeMieux]’s table saw is a piece of CNC’d aluminum, with a bearing and saw arbor that attaches to an electric drill. Dangerous, you say? Not compared to the competition. Behold the worst forty dollars I’ve ever spent. This Horror Freight mini table saw is by far the worst tool I’ve ever used. The bed was caked with streaky layers of paint, uneven, the blade wasn’t set at 90 degrees, and the whole thing was horrifically underpowered. Trust me when I say the CNC electric drill version is safer.

The Open Source Hacker’s Laptop

[Tsvetan Usunov] has been Mr. Olimex for about twenty five years now, and since then, he’s been through a lot of laptops. Remember when power connectors were soldered directly to the motherboard? [Tsvetan] does, and he’s fixed his share of laptops. Sometimes, fixing a laptop doesn’t make any sense; vendors usually make laptops that are hard to repair, and things just inexplicably break. Every year, a few of [Tsvetan]’s laptops die, and the batteries of the rest lose capacity among other wear and tear. Despite some amazing progress from the major manufacturers, laptops are still throwaway devices.

Since [Tsvetan] makes ARM boards, boards with the ~duino suffix, and other electronic paraphernalia, it’s only natural that he would think about building his own laptop. It’s something he’s been working on for a while, but [Tsvetan] shared his progress on an Open Source, hacker’s laptop at the Hackaday | Belgrade conference.

Continue reading “The Open Source Hacker’s Laptop”

Building The Novena Laptop

The latest hardware project from [Bunnie] is the Novena, a truly open source laptop where nearly every part has non-NDA’d datasheets. This is the ideal laptop for hardware hacking – it has an FPGA right on the motherboard, a ton of pin headers, and a lot of extras that make interfacing with the outside world easy.

While the crowdfunding campaign for the Novena included a completely custom laptop, it was terribly expensive. That’s okay; it’s an heirloom laptop, and this is a DIY laptop anyway. With the Novena now shipping, it’s time for people to build their laptops. [Ben Heck] is the first person to throw his hat into the ring with his own build of the Novena laptop, and it’s fantastic.

The second video of the build was dedicated to what is arguably the most important part of any laptop: the keyboard. For the keyboard, [Ben Heck] went all out. It’s a completely mechanical keyboard, with backlit LEDs built around the Phantom PCB with Cherry MX switches. Because this is a DIY laptop and something that is meant to be opened, the keyboard is completely removable. Think of something like the original Compaq luggable, but turned into a laptop that looks reasonably modern.

The laptop enclosure was constructed out of a sandwich of an aluminum and laser cut plastic. These layers were glued and screwed together, the parts were carefully mounted into the case. The USB keyboard was attached directly to one of the chips on the motherboard with a few flying wires and hot glue.

The finished build is fantastic, even if it is a bit thick. It’s the ultimate hacker’s laptop, with an FPGA, Linux, open source everything, and even a cute little secret compartment for storing tools and cable adapters. A great build from one of the best builders around.

Continue reading “Building The Novena Laptop”

Stallman’s One Mistake

We all owe [Richard Stallman] a large debt for his contributions to computing. With a career that began in MIT’s AI lab, [Stallman] was there for the creation of some of the most cutting edge technology of the time. He was there for some of the earliest Lisp machines, the birth of the Internet, and was a necessary contributor for Emacs, GCC, and was foundational in the creation of GPL, the license that made a toy OS from a Finnish CS student the most popular operating system on the planet. It’s not an exaggeration to say that without [Stallman], open source software wouldn’t exist.

Linux, Apache, PHP, Blender, Wikipedia and MySQL simply wouldn’t exist without open and permissive licenses, and we are all richer for [Stallman]’s insight that software should be free. Hardware, on the other hand, isn’t. Perhaps it was just a function of the time [Stallman] fomented his views, but until very recently open hardware has been a kludge of different licenses for different aspects of the design. Even in the most open devices, firmware uses GPLv3, hardware documentation uses the CERN license, and Creative Commons is sprinkled about various assets.

If [Stallman] made one mistake, it was his inability to anticipate everything would happen in hardware eventually. The first battle on this front was the Tivoization of hardware a decade ago, leading to the creation of GPLv3. Still, this license does not cover hardware, leading to an interesting thought experiment: what would it take to build a completely open source computer? Is it even possible?

Continue reading “Stallman’s One Mistake”

The Unreasonable Effectiveness of Adhesive Tape

No doubt many of you have spent a happy Christmas tearing away layers of wrapping paper to expose some new gadget. But did you stop to spare a thought for the “sticky-back plastic” holding your precious gift paper together?

There are a crazy number of adhesive tapes available, and in this article I’d like to discuss a few of the ones I’ve found useful in my lab, and their sometimes surprising applications. I’d be interested in your own favorite tapes and adhesives too, so please comment below!

But first, I’d like to start with the tapes that I don’t use. Normal cellulose tape, while useful outside the lab, is less than ideally suited to most lab applications. The same goes for vinyl-based insulating tapes, which I find have a tendency to fall off leaving a messy sticky residue. When insulation is necessary, heatshrink seems to serve better.

The one tape I have in my lab which is similar to common cellulose tape however is Scotch Magic Tape. Scotch Magic tape, made from a cellulose acetate, and has a number of surprising properties. It’s often favored because of it’s matte finish. It can easily be written on and when taped to paper appears completely transparent. It’s also easy to tear/shape and remove. But for my purposes I’m more interested in it’s scientific applications.

Here’s a neat trick you can try at home. Take a roll of tape (I’ve tried this with Scotch Magic tape but other tapes may work too) to a dark room. Now start unrolling the tape and look at interface where the tape leaves the rest of the roll. You should see a dim blue illumination. The effect is quite striking and rather surprising. It’s called triboluminescence and has been observed since the 1950s in tapes and far earlier in other materials (even sugar when scraped in a dark room will apparently illuminate). The mechanism, however, is poorly understood.

It was perhaps this strange effect that led researchers to try unrolling tape in a vacuum. In 1953 a group of Russian researchers attempted this and bizarrely enough, were able to generate X-rays. Their results were unfortunately forgotten for many years, but were replicated in 2008 and even used to X-ray a researcher’s finger! As usual Ben Krasnow has an awesome video on the topic:

In my lab however I mostly use Scotch tape to remove surface layers. In certain experiments it’s valuable to have an atomically flat surface. Both Mica and HOPG (a kind of graphite) are composed of atomically flat layers. Scotch tape can be used to remove the upper layers leaving a clean flat surface for experimentation.

graphene
The mechanical exfoliation of Graphene

Researchers have also modified this technique to produce graphene. Graphene is composed of single carbon layers and has a number of amazing properties, highly conductive, incredibly strong, and transparent. For years producing small quantities of graphene provided difficult. But in 2004 a simple method was developed at the University of Manchester using nothing but bulk ordered graphite (HOPG) and a little Scotch tape. When repeatedly pressed between the Scotch tape, the Graphite layers can be separated until eventually only a signal layer of graphene remains.

kaptonmasking
Using Kapton to maskout traces via Dangerous Prototypes

 

 

The other non-conductive tape I use regularly in my lab is of course Kapton tape. While Kapton is a Dupoint brand name, it’s basically a polyimide film tape which is thermally stable up to 400 degrees C. This makes it ideal for work holding in electronics (or masking out pins) when soldering. You can also use it for insulating (though it’s inadvisable for production applications). Typically polyimide tape is available under a number of dubious synonyms (one example is Kaptan) from a variety of Chinese suppliers at low cost.

 

Carbon tape is conductive in all axes. This means it you can create a electrical connection by simply taping to your devices. It’s resistance however is somewhat high. I’ve most commonly come across this when using electron microscopes. Carbon tape is used both to keep a sample in place and create an electrical connection between the sample and the sample mount.

carbon_tape
Carbon tape, applied to a SEM mount.

Other conducting tapes are available with lower resistance, creating a electrical connection without soldering is valuable in a number of situations. Particularly when heat might damage the device. One example of this is piezoelectric materials. Not only does solder often bond poorly to ceramic materials, but it may also depole the material removing its piezoelectric properties. I tend to use conductive epoxies in these situations, but conductive tapes appear to be an attractive option.

Aluminum tape is commonly used for (heat) insulation in homes. It’s therefore very cheap and easily available. As well as conducting heat aluminum tape of course also conducts electricity. Around the lab this can be pretty handy. While the adhesive is not conductive, making it less attractive for connection parts, I’ve found aluminum tape great of sealing up holes in shielded enclosures. It also makes a great accompaniment to aluminum foil which is used to provide ad-hoc shielding in many scientific environments. Copper tape is also easily obtained, though slightly more expensive.

ztape
Z tape under a microscope

A much less common, but far cooler conductive tape is so called Z tape. This tape is composed of regular double-sided tape impregnated with spaced conductors. The result is a tape that conducts in only one direction (from the top to the bottom). This makes it similar in structure to a zebra strip, commonly used to connect LCDs. Z tape is unfortunately pretty expensive, a short 100mm strip can cost 5 dollars. What exactly 3M had in mind when creating Z tape is unclear. But it can be used for repairing FPC connectors on LCDs or in other situations where soldering is impractical.

One of the more awesome applications is Jie and Bunnie’s circuit sticker project. The kits are designed to allow kids to assemble circuits simply by sticking components together. Z tape is ideal for this, as it allows multiple connections to be made using the same piece to tape.

I couldn’t write an article on tape without mentioning the somewhat apocryphal “Invisible Electrostatic Wall” incident. A report at the 17th Annual EOS/ESD Symposium describes a “force field” like wall that appeared during the production of polypropylene film. While the story seems slightly dubious, it reminds us of the surprising applications and utility of tapes.

Next time you’re sending off a package or ripping open a package, spare a thought for the humble tape that holds it together.

The Death of Surplus

I thought the surplus electronics market in Dallas was a byproduct of local manufacturing, after all we have some heavy hitters in our back yard: Texas Instruments, Maxim (Dallas Semiconductor), ST Micro (at one time), Diodes Incorporated. If we widen our radius to include Austin (3 hours down the road) we can make a much more impressive list by including: National Instruments, Freescale Semiconductor, better yet I’ll just insert the graphic I’m pulling data from right here:

texas_companies_map
Texas Electronics Map Source: Texas.gov

Granted, not all of these are companies that manufacture silicon, or even have manufacturing facilities here in Texas. That doesn’t necessarily matter for surplus to exist. Back to my point of where surplus originated. While I wasn’t completely wrong (these companies certainly have helped contribute to the surplus electronics market) the beginnings of surplus storefronts date back to World War II. Did anyone see that coming? Neither did I. However it does make sense, the US government would have had a large stock of “stuff” to get rid of at the end of the war.

Enter the sale of government surplus all over the nation, usually near air force bases. So this is how the more generalized concept of a surplus shop came to be in existence; mix in the domestic manufacturing of electronics in the 1970’s and we have electronics surplus shops aplenty.

My First Hand Experience

I didn’t really appreciate how valuable my local electronics shop was until watching Beers in Bunnie’s Workshop – Workshop Video #36. If you haven’t seen the video you only need to know that [Ian] of Dangerous Prototypes and [bunnie] of Andrew [bunnie] Huang are standing in [bunnie]s work-space in Singapore drinking beer and talking about the lab that is [bunnie]s life. You with me now? Okay, there is a point in the video where the two discuss the ability to run down the street and buy a connector as something only available in Singapore or Shenzhen. Let me briefly pause here to clarify that I’m not comparing my local electronics shop to the Shenzhen market or Sim Lim Tower in Singapore, only stating that I too can hold parts in-hand before purchasing them. I’m also not [brandon] of Dangerous Prototypes or Andrew [brandon] Huang, clearly.

I do however have an electronics selection at my disposal that is unmatched until you get to the west coast shops. I went on a bit of an adventure with the owner [Jim Tanner] of my local shop [Tanner Electronics] to take some pictures of the retail floor and a few behind the scenes (warehouse) shots that you can check out after the break.

Continue reading “The Death of Surplus”

Video Standards Are More Than Video Signals

The number of hours we spend staring at screens is probably best unknown, but how about the technology that makes up the video on the screen? We’ve all seen a reel-to-reel projector on TV or in a movie or maybe you’re old enough to have owned one, surely some of you still have one tucked away real nice. Whether you had the pleasure of operating a projector or just watched it happen in the movies the concept is pretty straight forward. A long piece of film which contains many individual frames pass in front of a high intensity lamp while the shutter hides the film movement from our eyes and our brain draws in the imaginary motion from frame to frame. Staring at a Blu-ray player won’t offer the same intuition, while we won’t get into what must the painful detail of decoding video from a Blu-ray Disc we will look into a few video standards, and how we hack them.

Continue reading “Video Standards Are More Than Video Signals”