There are many ways to tell the time, from using analog dials to 7-segment displays. Hackers tend to enjoy binary watches, if only for their association with the digital machines that seem to make the world turn these days. [Vishal Soni] decided to build one of their own.
It’s a straightforward design, that uses six bits to show the time. A red light is illuminated at the top of the watch to indicate the watch is showing minutes, and these are displayed in binary on the six blue LEDs below. Then, the watch indicates it is showing hours, and again uses the six blue LEDs to show the relevant number. Continue reading “Simple Binary Watch Uses A PCB Body”→
In a relatively short amount of time, the average capacity of USB flash drives has skyrocketed. It wasn’t so long ago that two and four gigabyte drives were considered to be on the high end, but today you can grab a 512 GB drive for less than $50 USD. In fact they’ve gotten so large that it can feel wasteful using them for some tasks, and we occasionally find ourselves wishing we could find some modern USB drives that didn’t rival the storage capacity of our whole computer.
That said, this USB-C tetrabyte drive created by [Glen Akins] might be slightly too small for our tastes. No, that’s not a typo. As in the Greek tetra, this drive can hold a massive four bytes at a time. Even better, you don’t need a computer to write to it: the 32 DIP switches let you key in the content on the fly, bit-by-bit.
Reading out the first byte from the DIP switches.
As explained in a Twitter thread, [Glen] was inspired to create this gadget after another user posted a picture of a 32 position DIP switch with a caption that said it was a “One Tetrabyte SSD” back in December. He apparently couldn’t track down the same switch, but the four red Grayhill 76 Series switches arguably make it a bit clearer when entering in your bytes.
Each of the individual DIP switches are connected to one of the GPIO pins of the 8-bit EFM8UB2 microcontroller, and the code simply reads the state of each pin in order and saves the binary results in a variable to put together the “file” it presents to the OS when plugged in.
We’ve seen our fair share of unusual USB flash drives in the past, but this one is truly in a league of its own. Can’t say we can think of any four bytes of data important enough to hold on a dedicated piece of hardware, but we certainly appreciate the effort to store it in the most robust way possible.
You know the old joke: There are 10 types of people in the world — those who understand binary, and those who don’t. Most of us on Hackaday are firmly in the former camp, which is why projects like this circuit sculpture binary calculator really tickle our fancies.
Inspired by the brass framework and floating component builds of [Mohit Bhoite], [dennis1a4] decided to take the plunge into circuit sculpture in an appropriately nerdy way. He wisely decided on a starter build, which was a simple 555 timer circuit, before diving into the calculator. Based on an ATMega328P in a 28-pin DIP, the calculator is built on an interesting hybrid platform of brass wire and CNC-routed wood. The combination of materials looks great, and we especially love the wooden keycaps on the six switches that make up the keyboard. There’s also some nice work involved in adapting the TLC5928 driver to the display of 16 discrete LEDs; suspended as it is by fine magnet wires, the SSOP chip looks a bit like a bug trapped in a spider web.
Hats off to [dennis1a4] for a great entry into our soon-to-conclude Circuit Sculpture Contest. The entry deadline is (today!) November 10, so it might be a bit too late for this year. But rest assured we’ll be doing this again, so take a look at all this year’s entries and start thinking about your next circuit sculpture build.
There are many ways to update an embedded system in the field. Images can fly through the air one a time, travel by sneaker or hitch a ride on other passing data. OK, maybe that’s a stretch, but there are certainly a plethora of ways to get those sweet update bytes into a target system. How are those bytes assembled, and what are the tools that do the assembly? This is the problem I needed to solve.
Recall, my system wasn’t a particularly novel one (see the block diagram below). Just a few computers asking each other for an update over some serial busses. I had chosen to bundle the payload firmware images into the binary for the intermediate microcontroller which was to carry out the update process. The additional constraint was that the blending of the three firmware images (one carrier and two payload) needed to happen long after compile time, on a different system with a separate toolchain. There were ultimately two options that fit the bill.
Performing over-the-air updates of devices in the field can be a tricky business. Reliability and recovery is of course key, but even getting the right bits to the right storage sectors can be a challenge. Recently I’ve been working on a project which called for the design of a new pathway to update some small microcontrollers which were decidedly inconvenient.
There are many pieces to a project like this; a bootloader to perform the actual updating, a robust communication protocol, recovery pathways, a file transfer mechanism, and more. What made these micros particularly inconvenient was that they weren’t network-connected themselves, but required a hop through another intermediate controller, which itself was also not connected to the network. Predictably, the otherwise simple “file transfer” step quickly ballooned out into a complex onion of tasks to complete before the rest of the project could continue. As they say, it’s micros all the way down.
Nixie clocks have become such a staple in our community as to have become mundane. They’re pretty, but show us something new! It seems [Marcin Saj] has done just that with his offering, because with a bank of 18 IN-2 Nixie tubes he’s telling the time – but in binary rather than the usual decimal.
The tubes are arranged in three banks of six, the upper registering hours, the middle minutes, and seconds on the lowest. Each one only uses two digits, as you might expect from a binary device they are 0 and 1. Behind is a large PCB with the Nixie sockets, and on the back of that in sockets are a pair of Nixie driver boards, a real-time clock module, temperature sensor module, PSU module, and either a Particle Photon or an Arduino Nano IoT. This two-option set-up for the choice of dev board is unusual, and there is code for both of them in the GitHub repository.
The result is eye-catching and unusual, and certainly a departure from the usual Nixie digital clock. Hackaday readers are probably more likely than the average Joe or Jane to be able to read binary at a glance, watching it in action in the video below the break is an interesting exercise in testing one’s binary-aptitude.
Meanwhile if binary Nixies are too commonplace, how about binary neon lamps?
[John] sent this one in to us a little bit after Christmas, but we’ll give him a pass because it’s so beautiful. Think of it this way: now you have almost a full year to make a binary advent calendar of your own before December 1st rolls around again.
Normal advent calendars are pretty cool, especially when there is chocolate behind all 24 doors. But is it really a representational ramp-up if you never get more than one chocolate each day? [John] doesn’t think so. The economics of his binary advent calendar are a bit magical, much like the holiday season itself. Most days you’ll get two pieces of chocolate instead of one, and many days you’ll get three. That is, as long as you opened the right doors.
A momentary switch hidden behind the hinge of each door tells the Arduino clone when it’s been opened. The Arduino checks your binary counting abilities, and if you’re right, a servo moves a gate forward and dispenses one chocolate ball per opened door. We love the simplicity of the dispensing mechanism — the doors are designed with a ceiling that keeps non-qualifying chocolates in their channels until their flag comes up.
[John] is working out the kinks before he releases this into the wild. For now, you can get a taste in the demo video featuring a bite-sized explanation. If you don’t like chocolate, maybe this blinky advent calendar will light you up inside.