The Corona Clock

Schools are closed here in Germany until after Easter vacation, and that means that our almost-six-year-old son Max is staying at home with us. The good news is that my wife and I work from home anyway, so it’s not too stressful as long as he can look after himself for eight hours per day. The bad news is that there’s no way a kindergarten kid can take care of himself for such long stretches, and we don’t want to just park him in front of the boob tube. At least there’s two of us.

The new stay-at-home life has required some adjustment, but for at least the first five days (and counting) it’s working out pretty darn well. One trick: my wife came up with the idea of a visual schedule to help Max divide his day up into kindergarten-sized chunks, and then we added an LED strip behind it to turn it into a linear clock of sorts. And we did it with stuff we had lying around the house.

Granted, it’s not a super deep hacky-hack, and some of you out there could probably get it done with a handful of 555 timers. But it was quick, gets the job done, and heck, with NTP sync, it’s the most accurate kiddie clock in the world! So those of you out there who are stuck like we are, trying to balance childcare and working from home, here’s a quick project that can increase familial harmony while giving you an excuse to order more LED strips.

Continue reading “The Corona Clock”

The Ultimate Game Boy Talk

It is absolutely no exaggeration to say that [Michael Steil] gave the Ultimate Game Boy talk at the 33rd Chaos Communication Congress back in 2016. Watch it, and if you think that there’s been a better talk since then, post up in the comments and we’ll give you the hour back. (As soon as we get this time machine working…)

We were looking into the audio subsystem of the Game Boy a while back, and scouring the Internet for resources, when we ran across this talk. Not only does [Michael] do a perfect job of demonstrating the entire audio system, allowing you to write custom chiptunes at the register level if that’s your thing, but he also gets deep into the graphics engine. You’ll never look at a low-bit Pole Position clone the same again. The talk even includes some new (in 2016, anyway) hacks on the pixel pipeline in the last 15 minutes, and a quick review of the hacking tools and even the Game Boy camera.

Why do you care about the Game Boy? It’s probably the last/best 8-bit game machine that was made in mass production. You can get your hands on one, or a clone, for dirt cheap. And if you build a microcontroller-based cartridge, you can hack the whole thing non-destructively live, and in Python! Or emulate the whole shebang. Either way, when you’re done, you’ve got a portable demo of your hard work thanks to the Nintendo hardware. It makes the perfect retro project.

Continue reading “The Ultimate Game Boy Talk”

Corona Cancels Cons

As you read this, the Open Hardware Summit is taking place, but differently than in previous years. This year, it’s taking place in cyberspace! To what do we owe this futuristic development? Unfortunately, COVID-19, the corona virus.

And OHS isn’t alone. Vintage Computer Festival Pacific Northwest was cancelled outright. In Germany, where I live, the national health board has recommended cancelling all events with more than 1,000 attendees, and both the Maker Faire Berlin and the Chaos Computer Club’s 20th annual Easterhegg have been called off.

And just announced yesterday, our own Hackaday Belgrade event is going to be postponed and rescheduled for later this year. It’s truly sad, but we’re still looking forward to seeing you all a little bit later in the summer. If you can’t make the new date, tickets will of course be refunded. We’ll keep you informed when we get a new venue and time.

The best way to slow the spread of a global pandemic, according to the WHO who should know best, is washing your hands and avoiding contact with other people. “Social distancing” is the new catch-phrase, and that means keeping a few meters away from other folks whenever reasonable. And clearly, gathering people from all over the world, packing them into a single auditorium, and spending quality time together doesn’t meet this requirement.

So we’re all probably going to be laying low globally for a little while. On the positive side, this means more time for hacking here in the lab, and I’m excited to be able to watch the online version of the Open Hardware Summit. If you’re working from home, it’s that much easier to keep up to date with Hackaday. Still, I can’t wait to be on the other side of this thing, and it makes me appreciate the various social gatherings that much more.

And of course I have Isaac Newton in my thoughts, who developed the groundwork for his Calculus and laws of gravitation while at home because Cambridge was closed to stop the spread of the Great Plague. Wash your hands!

This article is part of the Hackaday.com newsletter, delivered every seven days for each of the last 210 weeks or so. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter.

Want this type of article to hit your inbox every Friday morning? You should sign up!

Hackaday Belgrade Conference Postponed

Due to uncertainties about the progress of the spread of the novel corona virus, it’s with a sad heart that we announce that we’re postponing the 2020 Hackaday Belgrade conference.

We will be rescheduling for later in the year, but for now we’ll be refunding conference tickets. We received a record number of incredible presenter proposals, and once we’ve rescheduled, we’ll get in touch with everyone who entered a proposal to check up on your availability.

In the meantime, come and hang out with us virtually on Hackaday.io’s Hackaday Belgrade page.

We know how much you were all looking forward to Belgrade in May, and it pains us to have to take this step. When we get more details ironed out, we’ll be sure to let you know! See you all a little bit later in the summer?

Hackaday Podcast 058: Motorheads, 3D Prints That Bend Metal, And Homebuilt Onewheel Deathmachines

Hackaday editor Elliot Williams and contributor Jonathan Bennett discuss the past week of Hackaday. Freeman Dyson, who wanted to send us to space on the back of nuclear explosions, passed away. Only slightly less dangerous, we looked at self-balancing vehicles, 3D printed press brakes, and making rubies in the home lab. All the usual suspects make cameo appearances: robots, FPGAs, and open-source software.

Take a look at the links below if you want to follow along, and as always tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 058: Motorheads, 3D Prints That Bend Metal, And Homebuilt Onewheel Deathmachines”

A Calculator In 2020?

This week, Al Williams wrote up an article on what might be the last scientific calculator. Back in the day, the fanciest of scientific calculators had not just sin, cos, and tan, but were also programmable so that you could code in frequently used formulae. And the calculator that he reviews is certainly powerful: with a screen, processor, and memory almost rivalling a mid-scale smartphone.

Wait a minute! “Almost”? I have a smartphone in my pocket right now. Why would I want something less powerful, when all that the calculator brings to the table is a bit of software? And that app can even be purchased for $20!

I’ll confess. I want a proper desktop calculator from time to time. But why? Sure, I can run calculations on the very computer that I’m using to type right now. And in terms of programming languages, the resources are far superior on my laptop. Unit conversions? Units, or the Interwebs. Heck, I can even type calculations directly into the Unix world’s default editor.

But there’s something nice about the single-purpose device. Maybe it’s the feel of the keys. Maybe it’s because it doesn’t require a context-switch on the computer. Maybe it’s irrational calculator nostalgia. Or maybe it’s an elegant tool from a more civilized age: the user experience is better because the tool is just simpler.

I like stand-alone devices that do their one thing right, and I almost always pick them over their more complex, if also more capable, counterparts when I only need that function. The fixed wrench over the adjustable wrench. The standalone audio recorder over my computer’s software. The simple bench power supply over the programmable. And, when I’m actually setting out to take good photos, a real camera instead of my cell phone’s. Purpose-built tools tend to work much better for their purpose than devices that try to do everything.

The days of the standalone calculator are nearly gone, though, so what am I going to do? I’m certainly not going to shell out megabucks for an overly-fancy calculator, nor am I going to be lured by nostalgia into picking up an antique at the ridiculous prices they fetch online. That leaves one option, and it’s both the Hackaday and the Jedi way. I’m going to have to build it myself. Where am I going to get a nice-feeling numeric keypad?

This article is part of the Hackaday.com newsletter, delivered every seven days for each of the last 210 weeks or so. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter.

Want this type of article to hit your inbox every Friday morning? You should sign up!

Mithro Runs Down Open Source FPGA Toolchains

Tim [Mithro] Ansell has a lot to tell you about the current state of open FPGA tooling: 115 slides in 25 minutes if you’re counting. His SymbiFlow project aims to be the GCC of FPGA toolchains: cross-platform, multi-platform, completely free, and all-encompassing. That means that it’s an umbrella framework for all of the work that everyone else is doing, from work on synthesis and verification tools, to placing and routing, to vendor-specific chip libraries. His talk catches you up with the state of the art at the end of 2019, and it’s embedded below. Spoiler alert: SymbiFlow has the big Xilinx 7-series FPGAs in its crosshairs, and is closing in. SymbiFlow is that close to getting a networked Linux system on the FPGA fabric in a Xilinx 7 today, completely independent of any vendor tools.

But let’s step back a sec for a little background. When you code for an FPGA, words you type get turned into a bitstream of ones and zeroes that flip perhaps a few million switches inside the chip. Going from a higher-level language to a bitstream is a lot like compiling normal programming languages, except with the twist that the resulting computational logic doesn’t map straight into a machine language, but rather into lower-level physical hardware on the FPGA. So “compilation” for FPGAs involves two steps: synthesis and place-and-routing. Synthesis takes the higher-level language that you write and turns it into a set of networks and timing requirements that represent the same logic, and can work across chip families. Yosys is the open-source synthesis tool of choice here.

Continue reading “Mithro Runs Down Open Source FPGA Toolchains”