WOPR: Building Hardware Worth Sharing

It wouldn’t be much of a stretch to assume that anyone reading Hackaday regularly has at least progressed to the point where they can connect an LED to a microcontroller and get it to blink without setting anything on fire. We won’t even chastise you for not doing it with a 555 timer. It’s also not a stretch to say if you can successfully put together the “Hello World” of modern electronics on a breadboard, you’re well on the way to adding a few more LEDs, some sensors, and a couple buttons to that microcontroller and producing something that might come dangerously close to a useful gadget. Hardware hacking sneaks up on you like that.

Here’s where it gets tricky: how many of us are still stuck at that point? Don’t be shy, there’s no shame in it. A large chunk of the “completed” projects that grace these pages are still on breadboards, and if we had to pass on every project that still had a full-on development board like the Arduino or Wemos D1 at its heart…well, let’s just say it wouldn’t be pretty.

Of course, if you’re just building something as a personal project, there’s often little advantage to having a PCB spun up or building a custom enclosure. But what happens when you want to build more than one? If you’ve got an idea worth putting into production, you’ve got to approach the problem with a bit more finesse. Especially if you’re looking to turn a profit on the venture.

At the recent WOPR Summit in Atlantic City, there were a pair of presentations which dealt specifically with taking your hardware designs to the next level. Russell Handorf and Mike Kershaw hosted an epic four hour workshop called Strategies for your Projects: Concept to Prototype and El Kentaro gave a fascinating talk about his design process called Being Q: Designing Hacking Gadgets which together tackled both the practical and somewhat more philosophical aspects of building hardware for an audience larger than just yourself.

Continue reading “WOPR: Building Hardware Worth Sharing”

Giving An Industrial Push Button USB, Elegantly

[Glen]’s project sounds perfectly straightforward: have a big industrial-style push button act as a one-key USB keyboard. He could have hacked something together in any number of ways, but instead he decided to create a truly elegant solution. His custom PCB mates to the factory parts perfectly, and the USB cable between the button and the computer even fits through the button enclosure’s lead hole.

It turns out that industrial push buttons have standardized components which can be assembled in an almost LEGO-like manner, with components mixed and matched to provide different switch actions, light indicators, and things of that nature. [Glen] decided to leverage this feature to make his custom PCB (the same design used in his one-key keyboard project) fit just like a factory component. With a 3D printed adapter, the PCB locks in just like any other component, and even lines up with the lead hole in the button’s enclosure for easy connecting of the USB cable.

What does [Glen] use the big button for? Currently he has two applications: one provides a simple, one-button screen lock on a Linux box running a virtual machine at his place of work. It first disengages the keyboard capture of the virtual machine, then engages the screen lock on the host. The other inserts a poop emoji into Microsoft documents. Code and PCB design files for [Glen]’s small keyboards are available on GitHub.

The Three Faces Of The 555

In these days of cheap microcontrollers, it is hard to remember there was a time when timing things took real circuitry. Even today, for some applications it is hard to beat the ubiquitous 555 timer IC. It is cheap, plentiful, and reliable. What’s interesting about the 555 is it isn’t so much a dedicated chip as a bunch of building blocks on a chip. You can wire those building blocks up in different ways to get different effects, and [learnelectronics] has a video showing the three major modes you typically see with the 555: astable, bistable, and monostable.

The 555 is really only a few comparators, a voltage divider, one or two transistors, a flip flop and an inverter. The idea is you use a capacitor to charge and the comparators can set or reset the flip flop in different ways. A reset input or the flip flop can turn on the transistor to discharge the capacitor.

Continue reading “The Three Faces Of The 555”

One Pin To Rule Them All

When Maxim acquired Dallas Semiconductor, they took over the popular 1-Wire product line. These are sensors that get power and bidirectional data over the same pin. However, we never liked the name 1-Wire as you really need two wires: one for the power and data and, of course, a ground wire. A new startup company, Cyclopia, has announced their latest line of truly one pin CPUs, and we’re impressed. The low power system on chip devices multiplex data, power, clock, and ground on one wire.

A company spokesperson, [Star Lipfir], noted, “Our patent-pending technology uses two well-known effects. First, a FET gate doesn’t actually draw current but works on an electric charge. Second, capacitors store charge.”

Continue reading “One Pin To Rule Them All”

Ammo Can Holds A 14,000 Lumen LED Flashlight

For most people, a flashlight is just something you keep in a drawer in the kitchen in case the power goes out. There’s even a good chance your “flashlight” is just an application on your phone at this point. But as we’ve seen many times before from mechanical keyboards to Power Wheels, hardcore niche communities can develop around the most innocuous pieces of hardware; and the lowly flashlight is no different.

Case in point, this 14,000 lumen LED flashlight built by [Bryson Hicks]. Designed around a 100 watt module from Stratus LED, the flashlight uses a number of 3D printed components to make itself at home in a suitably hardcore enclosure: a metal ammo can. With the addition of some modular electronics and a rather slick little control panel, his light is ready to deliver an unreasonable level of brightness anywhere he wishes.

The Stratus LED module includes its own driver, and just needs to be hooked up to a suitably beefy power source to do its thing. [Bryson] went with a 4500 mAh LiPo battery that he says gets him about a one hour runtime at full brightness. For somewhat less intense operation, he’s added a potentiometer which interfaces with the module’s driver board to control the LED output. Considering how fast the light sucks down the juice, adding a small LCD battery charge indicator to the top of the device seems like it was a prudent decision.

To prevent you from cooking anyone’s eyes at close range, the light requires you to first “arm” it by flipping the military style protected switch. Once the switch is in the on position, an illuminated push button is used to actually turn the LED module on and off. You can also snap the toggle switch back into the closed and covered position if you needed to kill the light in a hurry.

This isn’t the first preposterously bright LED flashlight we’ve seen around these parts. There’s something of an arms-race between hackers and makers to develop increasingly bright lights they can carry around, on the off chance they need to illuminate an entire neighborhood.

Arduino Converts Serial To Parallel: The Paralleloslam

After a youth spent playing with Amigas and getting into all sorts of trouble on the school computer network, I’ve always had a soft spot in my heart for hardware from the 80s and 90s. This extends beyond computers themselves, and goes so far as to include modems, photocopiers, and even the much-maligned dot matrix printer.

My partner in hacking [Cosmos2000] recently found himself with a wonderful Commodore MPS 1230 printer. Its parallel interface was very appropriate in its day, however parallel ports are as scarce as SID chips. Thankfully, these two interfaces are easy to work with and simple in function. Work on a device to marry these two disparate worlds began.

Enter: The Paralleloslam

While I was gallivanting around the Eastern coast of Australia, [Cosmos2000] was hard at work. After some research, it was determined that it would be relatively simple to have an Arduino convert incoming serial data into a parallel output to the printer. After some testing was performed on an Arduino Uno, a bespoke device was built – in a gloriously plastic project box, no less.

An ATMEGA328 acts as the brains of the operation, with a MAX232 attached for level conversion from TTL to RS232 voltage levels. Serial data are received on the hardware TX/RX lines. Eight digital outputs act as the parallel interface. When a byte is received over serial, the individual bits are set on the individual digital lines connected to the printer’s parallel port. At this point, the strobe line is pulled low, indicating to the attached device that it may read the port. After two microseconds, it returns high, ready for the next byte to be set on the output lines. This is how parallel interfaces operate without a clock signal, using the strobe to indicate when data may be read.

At this point, [Cosmos2000] reached out – asking if I had a name for the new build.

“Hm. Paralleloslam?”

“Done. Cheers!”

Continue reading “Arduino Converts Serial To Parallel: The Paralleloslam”

Stuck Designing Two-Layer PCBs? Give Four Layers A Try!

Many readers are certainly familiar with the process for home-etching of PCBs: it’s considered very straightforward, if a little involved, today. This was not the case in my youth, when I first acquired an interest in electronics. At that time, etching even single-sided boards was for “advanced” hobbyists. By the time I started etching my own PCBs, the advanced hobbyists were on to double-sided home-etched boards — the only type not pictured above, because I couldn’t find the one successful example I ever created. I later saw the rise of “bare bones” fabricated PCBs: professionally made fixed size boards with plated-through holes, but no soldermask or silkscreen. Eventually, this gave way to the aggregating PCB services we have now with full two-layer boards, complete with soldermask and silkscreen.

Today, the “advanced” hobbyist may be using four-layer boards, although the four-layer adoption rate is still relatively low – OSH Park produces around 90% two-layer and 10% four-layer, for instance. I think this will inevitably increase, as has been the case with all the previous technologies: the advanced eventually becomes the mainstream. Each of the previous shifts has brought easier design and construction as well as improved performance, and the same will be true as four layers becomes more commonplace.

So, let’s take a look at designing four-layer PCBs. If you’ve never considered one for any of your designs, you may be pleasantly surprised at what little extra cost is involved for all the benefits you gain. Continue reading “Stuck Designing Two-Layer PCBs? Give Four Layers A Try!”