A Heart For His Girlfriend

[Decino] made a nice LED animated blinking heart box for his girlfriend. That’s a nice gesture, but more to the point here, it’s a nice entrée into the world of custom hardware. The project isn’t anything more than a home-etched PCB, a custom 3D-printed case, a mess of LEDs and current-limiting resistors, a shift register, and a microcontroller. (OK, we’re admittedly forgetting the Fifth Element.) The board is even single-sided with pretty wide traces. In short, it’s a great first project that ties together all of the basics without any parts left over. Oh, and did we mention Valentine’s day?

Once you’ve got these basics down, though, the world is your oyster. Building almost anything you need is just a matter of refining the process and practice. And if you’ve never played around with shift registers, a mega-blinker project like this is a great way to learn hands-on.

Not everything we write up on Hackaday has to be neural nets and JTAG ports. Sometimes a good beginner project that hits the fundamentals with no extra fat is just the ticket. What’s your favorite intro project?

3D Printing Makes Electronics A Snap

For just about as long as there have been electronics, there’s been a search for a way to let students and hobbyists build projects without a lot of effort. A board with Fahnestock clips was probably the first attempt. Today, it is more often the ubiquitous solderless breadboard. In between, we’ve seen copper pipe pieces and rubber bands, components mounted on magnets that hold them and make connections, and other even less probable schemes. A few years back, a new method appeared: Snap Circuits. The name almost says it all. A baseboard has mounting holes for different components. All the components make their electrical connections and mechanical connections through a common snap like you might find on clothing. Even the wires are little segments with snaps at both ends.

One problem with any system like this is how to integrate custom components. Of course, with the snaps, that’s not very hard, but [Chuck Hellebuyck] got creative with TinkerCad and worked out how to 3D print custom modules for the system. You can see his video, below.

Continue reading “3D Printing Makes Electronics A Snap”

Add Broken Tool Detection To Your CNC Mill

A tool breaking in the midst of a CNC machining operation is always a disaster. Not only do you have a broken tool (no small expense), but if the program continues to run there is a good chance it’ll end up ruining your part too. In particularly bad cases, it’s even possible to for this to damage the machine itself. However, if the breakage is detected soon enough, the program can be stopped in time to salvage the part and avoid damage to your machine.

Many new machining centers have the ability to automatically detect tool breaks, but this is a feature missing from older machines (and inexpensive modern machines). To address this issue, [Wiley Davis] came up with a process for adding broken tool detection to an older Haas mill. The physical modifications are relatively minor: he simply added a limit switch wired to the existing (but unused) M-Function port on the Haas control board. This port is used to expand the functionality of the machine, but [Wiley] didn’t need it anyway.

Continue reading “Add Broken Tool Detection To Your CNC Mill”

PCB Design Guidelines To Minimize RF Transmissions

There are certain design guidelines for PCBs that don’t make a lot of sense, and practices that seem excessive and unnecessary. Often these are motivated by the black magic that is RF transmission. This is either an unfortunate and unintended consequence of electronic circuits, or a magical and useful feature of them, and a lot of design time goes into reducing or removing these effects or tuning them.

You’re wondering how important this is for your projects and whether you should worry about unintentional radiated emissions. On the Baddeley scale of importance:

  • Pffffft – You’re building a one-off project that uses battery power and a single microcontroller with a few GPIO. Basically all your Arduino projects and around-the-house fun.
  • Meh – You’re building a one-off that plugs into a wall or has an intentional radio on board — a run-of-the-mill IoT thingamajig. Or you’re selling a product that is battery powered but doesn’t intentionally transmit anything.
  • Yeeeaaaaahhhhhhh – You’re selling a product that is wall powered.
  • YES – You’re selling a product that is an intentional transmitter, or has a lot of fast signals, or is manufactured in large volumes.
  • SMH – You’re the manufacturer of a neon sign that is taking out all wireless signals within a few blocks.

Continue reading “PCB Design Guidelines To Minimize RF Transmissions”

A Personal Fight Against The Modern Laptop

If you haven’t gone laptop shopping recently, you’re in for a big shock when you do. While the current generation of MacBook Pros is rightly torn to shreds for being an overpriced machine with a stupid gimmick of a Touch Bar, there are issues with laptops across the industry. No one has figured out how to take a high-res iPad screen and add a keyboard, most laptops with a display smaller than 13 inches are capped at 720 resolution, new features are introduced at the expense of old ones, binary blobs are cast into a web of BIOS whitelists and missing drivers, No, the Microsoft Surface doesn’t count, because while it’s a nice machine it’s a tablet with a keyboard, not a laptop.

After months of searching, [Hamish Coleman] found the closest thing to a perfect laptop. It’s a Thinkpad X230 from the ancient days of yore, or 2012 depending on how you’re counting. It’s close to perfect, though: aside from an old CPU and GPU, the only real show stopper is the keyboard. Replacing that keyboard was [Hamish]’s personal fight against the modern laptop (YouTube, embedded below), and he’s making it easier for us to fight against the current crop of craptops, too.

Continue reading “A Personal Fight Against The Modern Laptop”

The Zimmermann Telegram

World War I began in 1914 as a fight among several European nations, while the United States pursued a policy of non-intervention. In fact, Woodrow Wilson was reelected President largely because “He kept us out of war”. But as the war unfolded in Europe, an intercepted telegram sent by the German Foreign Secretary, Arthur Zimmermann, to the Mexican government inflamed the U.S. public opinion and was one of the main reasons for the entry of the U.S. into WWI. This is the story of the encrypted telegram that changed the last century.

Continue reading “The Zimmermann Telegram”

Objectifier: Director Of Domestic Technology

book-example[Bjørn Karmann]’s Objectifier is a device that lets you control domestic objects by allowing them to respond to unique actions or behaviour, using machine learning and computer vision. The Objectifier can turn on a table lamp when you open a book, and turn it off when you close the book. Switch on the coffee maker when you place the mug next to the pot, and switch it off when the mug is removed. Turn on the belt sander when you put on the safety glasses, and stop it when you remove the glasses. Charge the phone when you put a banana in front of it, and stop charging it when you place an apple in front of it. You get the drift — the possibilities are endless. Hopefully, sometime in the (near) future, we will be able to interact with inanimate objects in this fashion. We can get them to learn from our actions rather than us learning how to program them.

The device uses computer vision and a neural network to learn complex behaviours associated with your trigger commands. A training mode, using a phone app, allows you to train it for the On and Off actions. Some actions require more human effort in training it — such as detecting an open and closed book — but eventually, the neural network does a fairly good job.

The current version is the sixth prototype in the series and [Bjørn] has put in quite a lot of work refining the project at each stage. In its latest avatar, the device hardware consists of a Pi Zero, a Raspberry-Pi camera module, an SMPS power brick, a relay block to switch the output, a 230 V plug for input power and a 230 V socket outlet for the final output. All the parts are put together rather neatly using acrylic laser cut support pieces, and then further enclosed in a nice wooden enclosure.

On the software side, all of the machine learning part is taken care of using “Wekinator” — a free, open source software that allows building musical instruments, gestural game controllers, computer vision or computer listening systems using machine learning. The computer vision is handled via Processing. All the code is wrapped using openframeworks, with ml4A providing apps for working with machine learning.

All of the above is what we could deduce looking at the pictures and information on his blog post. There isn’t much detail about the hardware, but the pictures are enough to tell us all. The software isn’t made available, but maybe this could spur some of you hackers into action to build another version of the Objectifier. Check out the video after the break, showing humans teaching the Objectifier its tricks.

Continue reading “Objectifier: Director Of Domestic Technology”