A QR Code, Step By Step

We should all be familiar with QR codes, those blocky printed patterns containing encoded text, URLs, or other data. A few years ago they were subject to their own cloud of hype, but now they have settled down in their niche of providing a handy route for a smartphone owner to reach a website without having to type an address.

Have you ever wondered how they work? There are plenty of dry technical guides out there, but if they’re not your thing you might find [Nayuki]’s step-by-step guide to be of interest. It explains the encoding and error checking bit generation process before starting on the familiar three-squares pattern and timing bars of the QR code itself. The really interesting part comes with its explanation of overlays, a set of repeating patterns that are added to the final data segment, and how the pattern used is chosen to minimise penalties due to large blocks of the same colour in the final piece. The chances are most of us will never have to create a QR code from scratch, but it is this type of fascinating technical general knowledge that makes guides like this such an interesting read.

QR codes have appeared in quite a few projects here over the years, but the one we find particularly amusing is this project to hack them by changing one QR into another.

Via Hacker News.

Who’s Going On Your Fifty?

You can tell a lot about a country, its history and its politics, by taking a look at its banknotes. Who features on them, or in the case of studiously engineered international compromises such as the Euro, who doesn’t feature on them. Residents of the UK  have over the years been treated to a succession of historical worthies on their cash, and when a new revision of a banknote is announced you can be certain that the choice of famous person to adorn it will be front page news. Today we have a new banknote on the way, and this time the selection is squarely in Hackaday’s sphere of interest because the public is being urged to nominate a scientist for the honour. The note in question is the £50, the one that nobody uses and plenty of shops won’t even accept, but still, it’s an important choice that will replace the incumbents on the present version, steam engine pioneers Matthew Boulton and James Watt.

So, given a blank £50, who would you put on it? Candidates must be British, not fictional, and also no longer alive. Names in the frame include Ada, Countess Lovelace, Stephen Hawking, and Alan Turing, though with such a wide field to choose from there are sure to be many more front-runners. You might, for example, wish to consider Rosalind Franklin, but you can forget Isaac Newton, Charles Darwin, or Michael Faraday as they have all already featured on British banknotes.

Hackaday does not take sides in such endeavors, but it’s still an opportunity to back your most inspiring figure. As your scribe, it’s a tough one between Lovelace and Turing, though Turing probably wins by a short head. Who would you like to see on the next £50 note? The bank has produced a short promotional video which we’ve placed below the break.

Continue reading “Who’s Going On Your Fifty?”

Speak Your WiFi

When you create a Thing for the Internet of Things, you’ve made a little computer that does a simple job and which probably has a minimal interface. But minimal interfaces leave little room for configuration, such as entering WiFi details. Perhaps if you made the Thing yourself you’ve hard-coded your WiFi credentials in your code, but that hardly translates to multiple instances. So, how to put end-user WiFi credentials easily on more than one Thing? Perhaps [Rob Dobson] has the answer with his technique of sending them as a sequence of audible tones.

There is a piece of Javascript code in a browser into which you enter your WiFi credentials, which are then expressed through the speaker as a set of FSK tones to be picked up by a microphone on the Thing. They can then be decoded into the credentials, and the Thing can connect. All the code is available, on GitHub, should you fancy it yourself.

Of course, this is nothing new, as any owner of an 8-bit machine that had a cassette interface will tell you. And on the face of it it’s much easier than those awkward impromptu hotspots with a web interface to which you connect and pass on your credentials. But while we quite like the convenience, we can’t help wondering whether expressing the credentials in audible free space might be a bit too insecure for many readers. The technique however remains valid, and we’re sure that other less sensitive applications might be found for it. Meanwhile we hope he hasn’t inadvertently shared his WiFi password in the video below the break.

Continue reading “Speak Your WiFi”

A Bluetooth Upgrade For An Unusual Set Of Headphones

We will have all picked up something from a junk pile or swap meet in our time that caught our eye not because we needed it but because it looked cool. [Quinn Dunki] did just that with an irresistible set of 1980s air traffic control headphones. What did she do with them? Turn them into a set of Bluetooth headphones of course!

The ‘phones in question are particularly interesting, as they turned out upon inspection to be a two-way radio in disguise. Cracking them open revealed a radio board and a logic board, and what makes them particularly interesting to this Hackaday scribe’s eye is their choice of frequency. She finds a crystal with a VHF airband frequency multiplier and concludes that they must operate there, but a look at the photos reveals all the ingredients of a classic AM or low HF receiver. There is a ferrite rod antenna and a variable capacitor, if we didn’t know that these were very high-end professional ‘phones we’d almost suspect they were a novelty AM radio from Radio Shack. If any readers can shed any light on the frequency and purpose of this device, we’re all ears.

The conversion involved a Sparkfun Bluetooth module breakout board paired with a little audio power amplifier. The original drivers were high-impedance and one of them had died, so she replaced them with a modern pair of identical size. The control buttons were mounted in the headphone’s external housing, after a wrong turn into attempting to create a custom enclosure. The result is a rather novel but high-quality set of ‘phones, and one we rather wish we’d found ourselves.

EMMC Data Recovery From A Bricked Phone

We’ve probably all got at least one old cell phone lurking somewhere around our bench. In most cases they’ll still work, but their  batteries may be exhausted and their OS could be an ancient version. But sometimes there will be a phone that just died. One minute the flagship model, the next a useless slab of plastic and glass with the added annoyance of those priceless photos of Aunty May’s 80th forever locked in its memory.

[Andras Kabai] had just such a device land on his desk, a high-end Sony whose screen had gone blank. Others had tried, he was the last hope for the data it contained. He zoomed in on the eMMC chip on its motherboard, desoldered it and hooked it up via a specialist eMMC reader to recover those files. That was a very simple description of a far more involved process that he sets out in his post about it, a post that is fascinating reading and serves as a handy primer for any reader who might like to try it for themselves. We learn about the MMC interface and how simple it can be in its serial form, how with some fine soldering you can use a cheap USB reader, and that eMMC chips have a pinout conforming to a JEDEC standard.

Finally we see the software side as he takes the various SQLite databases and extracts the data for the user. It shows, all is not necessarily lost, however dead a phone may be.

We’ve seen [Andras] before, using an old scanner in his PCB fab.

Shedding A Bit Of Light On Some Logic

When it comes to logic technologies, we like to think we’ve seen them all here at Hackaday. But our community never ceases to surprise us with its variety and ingenuity, so it should be a surprise that [Dr Cockroach] has delivered one we’ve not seen before. Light logic doesn’t use the conventional active devices you’d expect such as transistors, tubes, or even relays. Instead, it uses LEDs and CdS cells to make rudimentary switches. So far there is a NAND, a NOR, and a set-reset latch that appears in the video below the break, and it is not inconceivable that much more complex devices could be crafted.

The CdS cell switch is not too far different in operation to a transistor, with the CdS cell forming half of a potential divider as a rough equivalent of a collector-emitter circuit, and the LED feeding its light to the cell and forming a rough equivalent of a base circuit. It would probably not form a very good analog of a transistor and it seems likely that is will not be the fastest of devices, but we applaud the ingenuity in coming up with it.

CdS cells are a component that seems almost to come from another era, redolent of childhood electronic kits from days of yore. It’s no surprise we don’t see them too often, though, they pop up in the occasional automatic sunglasses.

Continue reading “Shedding A Bit Of Light On Some Logic”

Tiny Telescope For Simple Radio Astronomy

We are used to imagining radio telescopes as immense pieces of scientific apparatus, such as the Arecibo Observatory in Puerto Rico, or the Lovell telescope in the UK. It’s a surprise then that they can be constructed on a far more modest sale using off-the-shelf components, and it’s a path that [Gonçalo Nespral] has taken with his tiny radio telescope using a satellite dish. It’s on an azimuth-elevation mount using an Ikea lazy susan and a lead screw, and it has a satellite TV LNB at the hot end with a satellite finder as its detector.

So far he’s managed only to image the wall of his apartment, but that clearly shows the presence of the metal supporting structure within it. Taking it outdoors has however not been such a success. If we wanted to hazard a guess as to why this is the case, we’d wish to look at the bandwidth of that satellite finder. It’s designed to spot a signal from a TV broadcast bird over the whole band, and thus will have a bandwidth in the hundreds of MHz and a sensitivity that could at best be described as a bit deaf. We hope he’ll try a different path such as an RTL-SDR in the future, and we look forward to his results.

This isn’t the first simple radio telescope we’ve seen here, aside from at least one other LNB-based one we’ve also shown you a WiFi device.