Getting Kitted To Teach Your First Hardware Workshop

I was always a sucker for art classes in my early days. There was something special about getting personal instruction while having those raw materials in your hands at the same time. Maybe it was the patient voice of the teacher or the taste of the crayons that finally got to my head. Either way, I started thinking: “I want to do this; I want to teach this stuff.”

Last year at Hackaday Superconference I got my chance. Hardware workshops with real hardware were so rare; I just had to bring one to the table! What follows is my tale of joys and woes bringing together a crew to take their first few steps into the world of cable-driven animatronics. If you’re thinking about getting your feet wet with teaching your own hardware workshop, read on. I’ve packed this story with as much of my own learnings as I could to set you on a path to success.

The good news is that Supercon returns every year. I you want to take part in some epic workshops like this one, grab a ticket for this year’s conference now. If you want to host a hardware workshop, the Call for Proposals is still open! Okay, let’s dive in.

Continue reading “Getting Kitted To Teach Your First Hardware Workshop”

Stop Using Python 2: What You Need To Know About Python 3

Though Python 3 was released in 2008, many projects are still stuck on Python 2.

It’s understandable that porting large existing codebases to a new version is a prospect which sends a shiver down many a developer’s spine. But code inevitably needs to be maintained, and so when all the shiny new features that would fix everything are in a new version, is it really worth staying rooted in the past?

We’ll take you through some of the features that Python 2 programs are missing out on, not only from 3.0 but up to the current release (3.7).

Continue reading “Stop Using Python 2: What You Need To Know About Python 3”

Behind The Pin: Logic Level Outputs

There is one thing that unites almost every computer and logic circuit commonly used in the hardware hacking and experimentation arena. No matter what its age, speed, or internal configuration, electronics speak to the world through logic level I/O. A single conductor which is switched between voltage levels to denote a logic 1 or logic zero. This is an interface standard that has survived the decades from the earliest integrated circuit logic output of the 1960s to the latest microcontroller GPIO in 2018.

The effect of this tried and true arrangement is that we can take a 7400 series I/O port on an 8-bit microcomputer from the 1970s and know with absolute confidence that it will interface without too much drama to a modern single-board computer GPIO. When you think about it, this is rather amazing.

It’s tempting to think then that all logic level outputs are the same, right? And of course they are from a certain viewpoint. Sure, you may need to account for level shifting between for example 5V and 3.3V families but otherwise just plug, and go, right? Of course, the real answer isn’t quite that simple. There are subtle electrical differences between the properties of I/O lines of different logic and microcontroller families. In most cases these will never be a problem at all, but can rear their heads as edge cases which the would-be experimenter needs to know something about.

Continue reading “Behind The Pin: Logic Level Outputs”

Dawn Of The First Digital Camera

Technology vanishes. It either succeeds and becomes ubiquitous or fails. For example, there was a time when networking and multimedia were computer buzzwords. Now they are just how computers work. On the other hand, when was the last time you thought about using a CueCat barcode reader to scan an advertisement? Then there are the things that have their time and vanish, like pagers. It is hard to decide which category digital cameras fall into. They are being absorbed into our phones and disappearing as a separate category for most consumers. But have you ever wondered about the first digital camera? The story isn’t what you would probably guess.

The first digital camera I ever had was a Sony that took a floppy disk. Surely that was the first, right? Turns out, no. There were some very early attempts that didn’t really have the technology to make them work. The Jet Propulsion Laboratory was using analog electronic imaging as early as 1961 (they had been developing film on the moon but certainly need a better way). A TI engineer even patented the basic outline of an electronic camera in 1972, but it wasn’t strictly digital. None of these bore any practical fruit, especially relative to digital technology. It would take Eastman Kodak to create a portable digital camera, even though they were not the first to commercialize the technology.

Continue reading “Dawn Of The First Digital Camera”

Project Orion: Detonating Nuclear Bombs For Thrust

Rockets with nuclear bombs for propulsion sounds like a Wile E. Coyote cartoon, but it has been seriously considered as an option for the space program. Chemical rockets combust a fuel with an oxidizer within themselves and exhaust the result out the back, causing the rocket to move in the opposite direction. What if instead, you used the higher energy density of nuclear fission by detonating nuclear bombs?

Detonating the bombs within a combustion chamber would destroy the vehicle so instead you’d do so from outside and behind. Each bomb would include a little propellant which would be thrown as plasma against the back of the vehicle, giving it a brief, but powerful push.

That’s just what a group of top physicists and engineers at General Atomic worked on between 1958 and 1965 under the name, Project Orion. They came close to doing nuclear testing a few times and did have success with smaller tests, exploding a series of chemical bombs which pushed a 270-pound craft up 185 feet as you’ll see below.

Continue reading “Project Orion: Detonating Nuclear Bombs For Thrust”

Tariff Expansion Set To Hit 3D-Printing Right In The Filament

Mere weeks after tariffs were put into place raising the cost of many Chinese-sourced electronics components by 25%, a second round of tariffs is scheduled to begin that will deal yet another blow to hackers. And this time it hits right at the heart of our community: 3D-printing.

A quick scan down the final tariff list posted by the Office of the US Trade Representative doesn’t reveal an obvious cause for concern. In among the hundreds of specific items listed one will not spot “Filaments for additive manufacturing” or anything else that suggests that 3D-printing supplies are being targeted. But hidden in the second list of tariff items, wedged into what looks like a polymer chemist’s shopping list, are a few entries for “Monofilaments with cross-section dimension over 1 mm.” Uh-oh!

Continue reading “Tariff Expansion Set To Hit 3D-Printing Right In The Filament”

Circuit VR: Starting An Amplifier Design

Sometimes I wish FETs had become practical before bipolar transistors. A FET is a lot more like a tube and amplifies voltages. Bipolar transistors amplify current and that makes them a bit harder to use. Recently, [Jenny List] did a series on transistor amplifiers including the topic of this Circuit VR, the common emitter amplifier. [Jenny] talked about biasing. I’ll start with biasing too, but in the next installment, I want to talk about how to use capacitors in this design and how to blend two amplifiers together and why you’d want to do that.

But before you can dive into capacitors and cascades, we need a good feel for how to get the transistor biased to start with. As always, there’s good news and bad news. The bad news it that transistors vary quite a bit from device to device. The good news is that we’ll use some design tricks to keep that from being a problem and that will also give us a pretty wide tolerance on component values. The resulting amplifier won’t necessarily be precise, but it will be fine for most uses. As usual, you can find all the design files on GitHub, and we’ll be using the LT Spice simulator.

Continue reading “Circuit VR: Starting An Amplifier Design”