Building Portable Linux Devices: Never Been Easier, But Still Hard

We live in a Golden Age of single-board computers. There was a time when a portable computer that was any good was a relatively rare and expensive device, certainly not something you could expect to replicate for yourself. A Psion, or later a Palm or perhaps a WinCE device would have been a lot more than an impulse purchase, and could not easily have been replicated using the components then available to the experimenter.

Thanks to spin-offs from technology developed for set-top boxes and mobile phones we can now buy any one of a pile of different boards that have almost equivalent power to a desktop computer. The experimenter can leverage that computing power to create their own small portables. Zerophone creator Arsenijs Picugins spoke about the tricky parts of designing a LInux portable at the recent Hackaday Superconference. You’ll find his talk below the break, which makes for a fascinating primer for those tempted to walk in his footsteps.

Zerophone – a Raspberry Pi Smartphone

Minor Details of Portables are the Majority of the Build

In theory, it’s pretty easy to use one of these boards to make a portable computer. Take one of the smaller members of the Raspberry Pi or Beaglebone families, add a battery and a display, and away you go. But as always the devil is in the detail, and for a truly successful build there are a wealth of variables to attend to.

In his talk, Arsenijs takes us through the challenges of power supplies, connectors, and interfaces. In particular there is considerable challenge to running an SBC from a battery small enough to be portable, as efficiency concerns and the ability to easily recharge make for a critical set of choices. Then we learn of another pitfall, that of using USB as a default interface. Power loss in converting 5V to 3.3V that is inconsequential for a desktop computer is a battery-killer in a small device, so we’re pointed at the array of alternatives.

Zerophone screen menu [via @ZeroPhoneOSHW]

Screen Size is a Tricky Spec to Settle

If you’ve been tempted by one of those cheap Raspberry Pi touch screens, you’ll certainly understand that while a full desktop on a screen the size of a playing card looks cool, the reality is almost unusable. Your device will require a user interface that fits its form factor, which from his experience, Arsenijs suggests is best achieved through the medium of buttons rather than a touchscreen on smaller screens. There are a variety of UI and display libraries he introduces us to which make the whole process significantly easier.

Arsenijs’ Zerophone Raspberry Pi smartphone was a finalist in the 2017 Hackaday Prize, and remains an exemplary portable project from which many others can gain inspiration. We are privileged that he was able to bring his experience to speak at the Superconference, and his talk makes for a fascinating watch.

Continue reading “Building Portable Linux Devices: Never Been Easier, But Still Hard”

Supercon: Alex Hornstein’s Adventures In Hacking The Lightfield

We are all familiar with the idea of a hologram, either from the monochromatic laser holographic images you’ll find on your bank card or from fictional depictions such as Princes Leia’s distress message from Star Wars. And we’ve probably read about how the laser holograms work with a split beam of coherent light recombined to fall upon a photographic plate. They require no special glasses or headsets and  possess both stereoscopic and spatial 3D rendering, in that you can view both the 3D Princess Leia and your bank’s logo or whatever is on your card as 3D objects from multiple angles. So we’re all familar with that holographic end product, but what we probably aren’t so familiar with is what they represent: the capture of a light field.

In his Hackaday Superconference talk, co-founder and CTO of holographic display startup Looking Glass Factory Alex Hornstein introduced us to the idea of the light field, and how its capture is key to  the understanding of the mechanics of a hologram.

Capturing the light field with a row of GoPro cameras.
Capturing the light field with a row of GoPro cameras.

His first point is an important one, he expands the definition of a hologram from its conventional form as one of those monochromatic laser-interference photographic images into any technology that captures a light field. This is, he concedes, a contentious barrier to overcome. To do that he first has to explain what a light field is.

When we take a 2D photograph, we capture all the rays of light that are incident upon something that is a good approximation to a single point, the lens of the camera involved. The scene before us has of course countless other rays that are incident upon other points or that are reflected from surfaces invisible from the single point position of the 2D camera. It is this complex array of light rays which makes up the light field of the image, and capturing it in its entirety is key to manipulating the result. This is true no matter the technology used to bring it to the viewer. A light field capture can be used to generate variable focus 2D images after the fact as is the case with the Lytro cameras, or it can be used to generate a hologram in the way that he describes.

One possible future use of the technology, a virtual holographic aquarium.
One possible future use of the technology, a virtual holographic aquarium.

The point of his talk is that complex sorcery isn’t required to capture a light field, something he demonstrates in front of the audience with a volunteer and a standard webcam on a sliding rail. Multiple 2D images are taken at different points, which can be combined to form a light field. The fact that not every component of the light field has been captured doesn’t matter as much as that there is enough to create the holographic image from the point of view of the display. And since he happens to be head honcho at a holographic display company he can show us the result. Looking Glass Factory’s display panel uses a lenticular lens to combine the multiple images into a hologram, and is probably one of the most inexpensive ways to practically display this type of image.

Since the arrival of the Lytro cameras a year or two ago the concept of a light field is one that has been in the air, but has more often been surrounded by an air of proprietary marketing woo. This talk breaks through that to deliver a clear explanation of the subject, and is a fascinating watch. Alex leaves us with news of some of the first light field derived video content being put online and with some decidedly science-fiction possible futures for the technology. Even if you aren’t planning to work in this field, you will almost certainly encounter it over the next few years.

Continue reading “Supercon: Alex Hornstein’s Adventures In Hacking The Lightfield”

Rapid-Fire Hail Of Chopstick Arrows Makes Short Work Of Diminutive Foes

Many Hackaday readers may also be familiar with the Discworld series of fantasy novels from [Terry Pratchett], and thus might recognise a weapon referred to as the Piecemaker. A siege crossbow modified to launch a hail of supersonic arrows, it was the favoured sidearm of a troll police officer, and would frequently appear disintegrating large parts of the miscreants’ Evil Lairs to comedic effect.

Just as a non-police-officer walking the streets of Ank-Morpork with a Piecemaker might find swiftly themselves in the Patrician’s scorpion pit, we’re guessing ownership of such a fearsome weapon might earn you a free ride in a police car here on Roundworld. But those of you wishing for just a taste of the arrow-hail action needn’t give up hope, because [Turnah81] has made something close to it on a smaller scale. His array of twelve mousetrap-triggered catapults fires a volley of darts made from wooden kebab skewers in an entertaining fashion, and has enough force to penetrate a sheet of cardboard.

He refers to a previous project with a single dart, and this one is in many respects twelve of that project in an array. But in building it he solves some surprisingly tricky engineering problems, such as matching the power of multiple rubber bands, or creating a linkage capable of triggering twelve mousetraps (almost) in unison. His solution, a system of bent coat-hanger wires actuated by the falling bar of each trap, triggers each successive trap in a near-simultaneous crescendo of arrow firepower.

On one hand this is a project with more than a touch of frivolity about it. But the seriousness with which he approaches it and sorts out its teething troubles makes it an interesting watch, and his testing it as a labour-saving device for common household tasks made us laugh. Take a look, we’ve put the video below the break.

Continue reading “Rapid-Fire Hail Of Chopstick Arrows Makes Short Work Of Diminutive Foes”

The (UV) Writing’s On The Wall

[Michael Karliner]’s Belshazzar, named for the Biblical character upon whose wall the writing appeared, is a unique light painting machine, that tracks an array of UV LEDs across a glow-in-the-dark background to paint transient dot-matrix letters in light. It was one of many cyberpunk-themed art pieces in Null Sector at the 2018 Electromagnetic Field hacker camp this summer.

The row of LEDs hangs down from a carriage that traverses a tubular rail, and is edged forward by means of a stepper motor driving a roller. This arrangement delivers the benefit that it can be scaled for displays of any length. The LEDs are driven from an Arduino via a Texas Instruments TLC5940 PWM driver ship.The result can be seen in the video below the break, and those who saw it at EMF may remember it tracing suitably dystopian phrases.

Continue reading “The (UV) Writing’s On The Wall”

The Kilogramme Will Cease To Be A Physical Entity

One of the most illuminating high school courses no doubt for many readers as much as for your scribe, was the series of physics lessons during which the SI units were explained. That glorious sense of having the order of the universe unlocked into an interlocking series of units whose definitions could all be derived in terms of a series of base units was mind-blowing in those early teen years, and even though the explanations might have been at a for-the-children level that has been blown out of the water by later tiers of learning it’s still a bedrock that will serve an engineer or scientist life-long.

The definitions of the SI base units have evolved with scientific advancement to the point at which they are no longer tied to their original physical entity definitions. Of all the base units though there is still one that has resisted the urge to move away from the physical: the kilogramme (giving it its French spelling to preserve context) is still defined in terms of a metal cylinder in a laboratory just outside Paris. Kg diehards have not much time left to cling onto their platinum-iridium alloy though, for a new definition has been adopted in which it is derived from Planck’s Constant. From next May this will become the official kilogram, at which point concerns over microscopic erosion of the metal standard become irrelevant, and an SI kilogram can be replicated by any laboratory with the means to do so.

The piece of apparatus that makes this definition possible is the Kibble balance, a balance in which the force required to overcome the effect of gravitational force on a given mass is measured in terms of the electrical power required to do so. The gravitational force at a given point can be measured accurately and is defined in terms of the other SI units, while the electrical power can be derived from a Josephson junction, a superconducting junction whose current is defined in terms of Planck’s constant. As a result, the kilogram can be measured solely in terms of the constant and other SI units, consigning the metal cylinder to history.

This high-end metrology and physics make for interesting reading, but it’s fairly obvious that the de facto kilogram we all use will not change. Our everyday measures of everything from sugar to PLA filament will be the same today as they will be next May. But that’s not the point, everyday measurements do not need the extreme accuracy and reproducibility of a laboratory. The point of it all comes in as yet unforseen applications, as an example would the ability to synchronise timing to create GPS or digital radio have been possible were the second to be still defined in terms of astronomical movements rather than atomic states?

Standard kilogramme replica picture: Japs 88 [CC BY-SA 3.0]

An Apollo Guidance Computer Laid Bare

An Apollo Guidance Computer probably isn’t a machine that’s likely to come the way of most Hackaday readers. The device that played such a vital role in taking astronauts to the Moon and bringing them home again is hardly a common find, even if it is one of the most iconic machines of its type and era.

[Carl Claunch] was approached to assist in the restoration of an AGC, and while he can’t reveal any information about its owner he is at liberty to document his progress. The result is a fascinating in-depth technical examination of the device over multiple blog posts, and is well worth a read for anyone with an interest in the Apollo program. It’s an ongoing progression of blog posts that are probably too numerous to list individually, but include the construction of a substitute for the DSKY control panel as well as looking at the device’s memory and construction. [Carl] then embarks on a series of posts looking at the restoration itself. This is where we see the computer in greatest detail, and learn the most about it.

If you think you might have seen [Carl]’s name here before, you’d be right. One of his past exploits was getting the first version of FORTH running on an IBM mainframe.

Belt Up With A Redundant Car Part

The toothed belt that turns the camshaft in synchronization with the crankshaft on many motor vehicle engines is something of an under-appreciated component. Unless you are unlucky enough to ave had one fail and destroy your engine, it’s probably something you’ve never given a second thought to outside of periodic service intervals.

For something to perform such a task over so many thousands of miles of motoring it must be made of pretty strong stuff. Even when a belt is life-expired it is still in good physical shape, and [Crispyjones] saw the potential in a used Subaru belt to make a different type of belt. After keeping his engine in sync for so long it would serve no less vital a purpose, and keep his pants from falling down.

You can of course buy the hardware for a belt from a decent crafting store, but he chose to recycle a buckle from a worn-out leather belt. Cleaning the timing belt and cutting it carefully so that the Subaru logo would be on show to the outside world in the finished article, he secured it round the buckle with some epoxy glue and a bit of stitching. The original leather retaining loop is not really appropriate, so one is fashioned from wire. Finally we see the process for measuring where the holes should be placed, followed by their creation with a hole punch.

Hackaday isn’t a crafting site, so we don’t often feature projects like this one. But the humble timing belt is a component that we’ve probably all replaced and thrown away more than once without really thinking what the properties of the thing we’re throwing away are. So we like this relatively simple project for its re-use of something few of us would otherwise keep, as well as for its delivering rather a cool belt. We’ve featured plenty of cambelts here doing their traditional job, but this is the first time we’ve had one as an item of clothing. We’ll leave you with a glimpse of a future without cambelts at all.