Auxiliary Display Makes Ham Radio Field Operations Easier

As popular as the venerable Yaesu FT-817 transceiver might be with amateur radio operators, it’s not without its flaws, particularly in the user interface department. [Andy (G7UHN)] is painfully familiar with these flaws, so he designed this auxiliary display and control panel for the FT-817 to make operating it a little easier.

There are a ton of ways to enjoy ham radio, but one of the more popular ways is to bust out of the shack and operate in the great outdoors. From the seashore to mountain peaks, hams love giving their rigs some fresh air and sunshine. The battery-powered, multimode, all-band FT-817 is great for these jaunts, but to fit as much radio into a small package as they did, Yaesu engineers had to compromise on the controls. Rather than bristling with buttons, many of the most-used features of the radio are buried within menus that require multiple clicks and twists to access.

[Andy]’s solution is a PCB bearing an Arduino Nano, an LCD screen, and a whole bunch of actual buttons. The board sits on top of the case and talks to the radio over a 8-pin mini-DIN cable using both documented and undocumented  CAT, or Computer Aided Transceiver commands. The LCD displays the current status of various features and the buttons provide easy access to changing them, essentially by sending keystrokes to the radio.

Hats off to [Andy] for tackling this project. The only other FT-817 hack we’ve seen before was useful but far simpler, and didn’t require KiCad, which [Andy] had to teach himself for this one.

source https://hackaday.com/2020/08/29/auxiliary-display-makes-ham-radio-field-operations-easier/

Robotic Mouse Toy Built For Cats

Cats are nature’s born hunters. Whether its rodents, insects, or lasers, they’ll pounce and attack with ruthless efficiency. Built to challenge a cat, or perhaps merely to tease it, Sourino is a robotic mouse built with common off-the-shelf parts.

A test subject appears unamused.

So named for the combination of Souris (French for “mouse”) and Arduino, the project is driven by an Arduino Nano. Hooked up to three sets of ultrasonic transducers, this gives the robot mouse much improved obstacle avoidance abilities compared to using just a single transducer front-and-centre. The ‘bot can navigate basic mazes or household floors with ease. A pair of geared motors are used for drive, using simple skid-steering to turn corners. It’s all packed in a 3D printed enclosure, which mounts the various components and exposes the ultrasonic sensors. There’s even an IR remote enabling mode selection or full manual control.

While the ‘bot lacks the speed and agility of common house mice, it’s nevertheless a project that teaches plenty of valuable lessons. We’re sure [Electrocat01] picked up plenty of skills in robotic navigation, mechanical design and 3D printing along the way. Creating robot mice is actually a competitive field, as we’ve seen before. Video after the break.

 

source https://hackaday.com/2020/08/28/robotic-mouse-toy-built-for-cats/

Robotic Mouse Toy Built For Cats

Cats are nature’s born hunters. Whether its rodents, insects, or lasers, they’ll pounce and attack with ruthless efficiency. Built to challenge a cat, or perhaps merely to tease it, Sourino is a robotic mouse built with common off-the-shelf parts.

A test subject appears unamused.

So named for the combination of Souris (French for “mouse”) and Arduino, the project is driven by an Arduino Nano. Hooked up to three sets of ultrasonic transducers, this gives the robot mouse much improved obstacle avoidance abilities compared to using just a single transducer front-and-centre. The ‘bot can navigate basic mazes or household floors with ease. A pair of geared motors are used for drive, using simple skid-steering to turn corners. It’s all packed in a 3D printed enclosure, which mounts the various components and exposes the ultrasonic sensors. There’s even an IR remote enabling mode selection or full manual control.

While the ‘bot lacks the speed and agility of common house mice, it’s nevertheless a project that teaches plenty of valuable lessons. We’re sure [Electrocat01] picked up plenty of skills in robotic navigation, mechanical design and 3D printing along the way. Creating robot mice is actually a competitive field, as we’ve seen before. Video after the break.

 

source https://hackaday.com/2020/08/28/robotic-mouse-toy-built-for-cats/

Robotic Mouse Toy Built For Cats

Cats are nature’s born hunters. Whether its rodents, insects, or lasers, they’ll pounce and attack with ruthless efficiency. Built to challenge a cat, or perhaps merely to tease it, Sourino is a robotic mouse built with common off-the-shelf parts.

A test subject appears unamused.

So named for the combination of Souris (French for “mouse”) and Arduino, the project is driven by an Arduino Nano. Hooked up to three sets of ultrasonic transducers, this gives the robot mouse much improved obstacle avoidance abilities compared to using just a single transducer front-and-centre. The ‘bot can navigate basic mazes or household floors with ease. A pair of geared motors are used for drive, using simple skid-steering to turn corners. It’s all packed in a 3D printed enclosure, which mounts the various components and exposes the ultrasonic sensors. There’s even an IR remote enabling mode selection or full manual control.

While the ‘bot lacks the speed and agility of common house mice, it’s nevertheless a project that teaches plenty of valuable lessons. We’re sure [Electrocat01] picked up plenty of skills in robotic navigation, mechanical design and 3D printing along the way. Creating robot mice is actually a competitive field, as we’ve seen before. Video after the break.

 

source https://hackaday.com/2020/08/28/robotic-mouse-toy-built-for-cats/

Video Compression Explainer — Like We’re Five-Year-Olds

[Ottverse] has an interesting series in progress to demystify video compression. The latest installment promises to explain discrete cosine transforms as though you were five years old.

We’ll be honest. At five, we probably didn’t know how to interpret this sentence:

…the Discrete Cosine Transform takes a set of N correlated (similar) data-points and returns N de-correlated (dis-similar) data-points (coefficients) in such a way that the energy is compacted in only a few of the coefficients M where M << N.

Still, the explanation is pretty clear and we really liked the analogy with the spheres and the stars in a constellation.

The example Matlab code is probably also lost on a five-year-old, but we liked it. Anyone, we think, can understand the practical result where removing too much data — high compression — resulted in a poor quality image, but the image quality was pretty good even when 75% of the data vanishes.

So while you might not want to show this to your five-year-old, you might enjoy it and even learn something. The rest of the series is pretty good, too. There are discussions of data compression, codecs, and encoders. We are sure there’s more to come, also.

If you are not into Matlab, you could probably do the same trick with SciPy pretty easily. Or, try Octave, one of several open-source projects that are similar to Matlab.

source https://hackaday.com/2020/08/28/video-compression-explainer-like-were-five-year-olds/

A New Spin on a Medical Test

Most of us can say that we have taken an obsolete hard drive out of a computer and felt it was a waste to toss it in the e-waste pile. Some of us have children’s drawings hung on the fridge with actuator magnets, or maybe a vast spreadsheet suspended on a steel filing cabinet. Let us not forget that there is also a high-speed, low-noise motor in there. On some models it is separate from the PCB, so grab an Electronic Speed Controller (ESC), your microcontroller of choice, and make yourself a salvaged HDD centrifuge like [Cave Man] has. His build uses the tray as a chassis, but he modeled and printed a new face in the same style as the original.

On top, he has an OLED screen for displaying the requested speed, measured speed, and runtime. Next to the display is a four-button pad with a customized legend for setting parameters. The video after the break shows the machine running through its paces. This version accommodates the tiny capillary tubes, microhematocrit tubes, for processing raw blood. This test can calculate the packed cell volume, which professionals use to determine things from dehydration to anemia.

There are other builds out there where people have modified an old drive into the kind of centrifuge that accepts larger diameter tubes, but this was a shining example of what is possible. One good turn deserves another, so we recommend a desktop bio-lab companion, or enlist some LEGO Mindstorms to help out.

source https://hackaday.com/2020/08/28/a-new-spin-on-a-medical-test/

Laser-Etching Photos On To Eggs

CNC machines are every maker’s dream. Capable of churning out accurate parts from CAD designs with a minimum of manual labor, they’re a great tool to have in the workshop. Alternatively, you can use them for more entertaining pursuits. [Leo]’s project is one of the latter – etching greyscale photos on to eggs.

The first thing you’ll need is an egg-compatible CNC machine. The Eggbot is a popular option, else a fourth-axis on an existing machine can also do the job as in [Leo]’s case. Coupling the egg is a delicate task, for which some rubber paper rollers are salvaged from an old printer and put to work. Then, a laser needs to be fitted to the CNC head, and the egg depth mapped with a probe to ensure the entire etching is in focus. Then it’s simply a matter of loading up an image, and turning the greyscale data into the relevant G-code to burn it onto the egg.

Using eggs coated in black ink, the results [Leo] achieves are impressive. The eggs would make an amusing Easter gift, or serve as a great cheap way to teach students about CNC techniques. Obviously, eye protection is a must, and be sure to mount your laser securely to avoid any unintentional exposures. Video after the break.

source https://hackaday.com/2020/08/28/laser-etching-photos-on-to-eggs/

Building a Heavy Duty Open Source Ventilator

Since the COVID-19 pandemic started, we’ve seen several attempts to create homebrew ventilators designed to address the shortage of these lifesaving machines. Unfortunately, most hackers aren’t terribly experienced when it comes to designing practical medical equipment. So while many of the designs might have appeared functional on the workbench, there’s little chance they’d get used in any official capacity.

The open source DP Ventilator is still clearly the product of a couple plucky hackers, but we think it shows a level of design maturity that’s been missing in many of the earlier attempts. Made primarily with 3D printed components, this mechanical device is designed to operate a hand-held manual resuscitator; essentially standing in for a human operator. This makes the design far less complex than if it had to actually pump air itself, not to mention safer for the patient since the resuscitator (often referred to as an Ambu Bag) installed in it would be a sterile pre-packaged item.

In the video after the break, you can see just how much thought and effort has been put into the device’s touch screen interface. With a few quick taps the medical professional operating the DP Ventilator can dial in variables such as breathing rate, pressure, and volume to match the patient’s needs. While the Arduino Mega 2560 at the machine’s heart wouldn’t pass muster for any regulating body in charge of medical devices, we think with a few more tweaks, this design is getting close to something that might actually be able to save lives.

source https://hackaday.com/2020/08/28/building-a-heavy-duty-open-source-ventilator/

Hackaday Podcast 082: DJ CNC, NFC Black Box, Sound of Keys, and Payin’ for 3D Prints

Hackaday editors Elliot Williams and Mike Szczys check in on the best hacks from the past week. All the buzz is the algorithm that can reverse engineer your house keys from the way they sound going into the lock. Cardboard construction goes extreme with an RC car build that’s beyond wizard-level. Speaking of junk builds, there’s a CNC mill tipped on its side grinding out results worlds better than you expect from something made with salvaged CD-ROM drives. And a starburst character display is a clever combination of laser cutting and alternative using UV-cured resin as a diffuser.

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 (~65 MB)

Places to follow Hackaday podcasts:

Episode 082 Show Notes:

New This Week:

Interesting Hacks of the Week:

Quick Hacks:

Can’t-Miss Articles:

source https://hackaday.com/2020/08/28/hackaday-podcast-082-dj-cnc-nfc-black-box-sound-of-keys-and-payin-for-3d-prints/

Creating Kelvin Test Leads for Four-Wire Measurments

[VoltLog] has a cheap Hantek LCR meter, but it only has two probes. The best resistance and impedance measurements, though, use four wires to improve accuracy. The first order of business was a custom PCB to fit into the connector of the meter, along with a 3D-printed case.

Using a four-wire scheme requires unusual alligator clips that don’t electrical short the jaws together. The clips were hard to solder and even harder to strain relief. but [VoltLog] seemed to handle it with little problem.

There are some ready-made solutions for this, of course, but the good ones aren’t cheap. Besides, this way, the lead length is exactly what you want and you can control the entire construction, including sheilding and strain releif.

If you haven’t run into four-wire sensing before, it is a simple idea. In a normal two-wire measurement, you send a voltage through the device under test and measure the current through the wires. But since you’re using the same pair of wires to deliver the current and measure it, the resistance of the test leads get tangled up in the measurement.

With four wires, one pair of wires is used to supply the current, and the other to measure the voltage drop across them. The sense wires won’t carry very much current and, thus, there won’t be a significant voltage drop between the device under test and the measurment device. There may be a drop across the supply wires, but we don’t care anymore.

We have seen four-wire measurements in a lot of different places. We even simulated how it improves measurements and you can too.

source https://hackaday.com/2020/08/28/creating-kelvin-test-leads-for-four-wire-measurments/

This Week in Security: XCode Infections, Freepik, and Crypto Fails

There is a scenario that keep security gurus up at night: Malware that can detect software compilation and insert itself into the resulting binary. A new Mac malware, XCSSET (PDF), does just that, running whenever Xcode is used to build an application. Not only is there the danger of compiled apps being malicious, the malware also collects data from the developer’s machine. It seems that the malware spreads through infected Xcode projects.

WordPress Plugins

WordPress has a complicated security track record. The core project has had very few serious vulnerabilities over the years. On the other hand, WordPress sites are routinely compromised. How? Generally through vulnerable plugins. Case in point? Advanced Access Manager. It’s a third party WordPress plugin with an estimate 100,000 installations. The problem is that this plugin requires user levels, a deprecated and removed WordPress feature. The missing feature had some unexpected results, like allowing any user to request administrator privileges.

The issue has been fixed in 6.6.2 of the plugin, so if you happen to run the Advanced Access Manager plugin, make sure to get it updated. Beyond that, maybe it’s time to do an audit on your WordPress site. Uninstall unused plugins, and make sure the rest are up to date, along with the WordPress installation itself.

Freepik

A source of graphics and stock photos, Freepik gives a few bits away for free, and requires a monthly subscription for access to the rest of the library. A few days ago, someone discovered a SQL injection attack on the icon site, and the user database was grabbed. A few things caught my interest about their report. First, the report claims that the only data that escaped was email addresses and in some cases, password hashes. It’s unclear why addresses and credit card information weren’t part of the leak.

The next tidbit of interest is that any account using a federated login, that is using a Facebook, Twitter, or Google account to log in, only exposed an email address. In retrospect, it’s an obvious advantage of using a single sign on. The service has that much less information to lose about the account. The other bit of interest is that a few older accounts still used salted MD5 password hashes, while the vast majority used the more modern bcrypt.

Overcoming Exploit Mitigations

Crowdstrike put out a pair of blog posts about the state of OS hardening techniques, and how to overcome them. Data Execution Prevention and Address Space Layout Randomization are considered legacy techniques at this point, so go check out the series to get up to date.

Let’s Talk About Crypto

What’s the first rule of crypto? “Don’t roll your own crypto.” What exactly does that mean, and why? We have a case study in how crypto can go wrong, and a few tips on how to do it right. The project in question is a .net implementation of the Branca token, which is an interesting protocol in itself.

That warning about rolling your own crypto usually means that you should use published algorithms, that have been proven by time and peer review. For years now, AES has had smarter people than you or I looking for flaws. It’s very likely that it’s a better block cipher than anything we could come up with. That warning, however, doesn’t mean that you shouldn’t ever build anything crypto related. If there isn’t a library that does what you need for a project, go for it, built it from scratch. But take some precautions to keep yourself out of trouble.

Test vectors are the published results of running an algorithm with specific settings. If you run AES with a certain key and a certain input text, you get a known ciphertext every time. A good set of test vectors will include possible edge cases, like an empty string for the plaintext. Find the test vectors for the crypto you’re using, and make sure your project replicates them. Even better, build in unit testing, and automate that process. The Branca token has published vectors, and the .net implementation in question failed to replicate. Oops.

Another bit of good crypto hygiene is to use constant time functions to thwart timing-based attacks. Again, in our example library, Branca uses the Poly1305 Message Authentication Code (MAC). A MAC is essentially a keyed hash that is appended to the string to be verified. It’s the last thing changed on the outgoing message, and the first thing checked on the incoming message. If the MAC doesn’t validate, the message can be dropped right away. It’s possible that an attacker would be able to detect how long it takes the receiving end to drop a message with an invalid MAC. If the comparison is done in a naive way, as it is here, the timing gives away how far into the comparison the message differed from what was expected. You know the scene in the movie when the super secret password is being guessed one character at a time? That’s kind of how a timing attack against this sort of flaw would work, and that’s what you want to avoid.

There are obviously more gotchas when working with cryptography, but this particular story underlines two of the first steps you should take to be sure that you’re using cryptography correctly. Use known good code and algorithms, verify inputs with outputs, and follow best practices like constant time string comparisons.

Hacking Google’s infrastructure for Fun and Profit

[Wouter ter Maat] and [Ezequiel Pereira] were researching Google’s Cloud SQL service, and found a SQL injection in a CSV export function. Just a bit of cleverness allowed them to dump data from a database into a specified file in the /mysql/temp/ directory. The real trick is that they could run the export again, but intercept the API call and modify it, adding command line options to the mysqldump command.

One of those options? Specifying an authentication plugin. Since they already had the ability to drop a file on the filesystem, getting mysqldump to run a malicious plugin was fairly easy, leading to a reverse shell. For their efforts, they got a message from the Google Site Reliability Engineering (SRE) team in the form of a greetings.txt file. The bugs they found have been fixed, but not before they discovered an SSH hijack that allowed escaping the SQL container. Let’s hope Google paid them a nice bounty for their hard work.

source https://hackaday.com/2020/08/28/this-week-in-security-xcode-infections-freepik-and-crypto-fails/

Open Hardware Laptop Built on Power PC ISA

Since Apple switched to Intel chips in the mid-00s, the PowerPC chips from Motorola and the PowerPC Instruction Set Architecture (ISA) that they had been using largely fell by the wayside. While true that niche applications like supercomputing still use the Power ISA on other non-Apple hardware, the days of personal computing with PowerPC are largely gone unless you’re still desperately trying to keep your Power Mac G5 out of the landfill or replaying Twilight Princess. Luckily for enthusiasts, though, the Power ISA is now open source and this group has been working on an open-source laptop based on this architecture.

While development is ongoing and there are no end-user products available yet, the progress that this group has made shows promise. They have completed their PCB designs and schematics and have a working bill of materials, including a chassis from Slimbook. There are also prototypes with a T2080RDB development kit and a NXP T2080 processor, although they aren’t running on their intended hardware yet. While still in the infancy, there are promising videos (linked below) which show the prototypes operating smoothly under the auspices of the Debian distribution that is tailored specifically for the Power ISA.

We are excited to see work continue on this project, as the Power ISA has a number of advantages over x86 in performance, ARM when considering that it’s non-proprietary, and even RISC-V since it is older and better understood. If you want a deeper comparison between all of these ISAs, our own [Maya Posch] covered that topic in detail as well as covered the original move that IBM made to open-source the Power ISA.

source https://hackaday.com/2020/08/28/open-hardware-laptop-built-on-power-pc-isa/

Over-Engineered Single Button Timer

Feature creep is typically something to be avoided, since watching a relatively simple project balloon into a rat’s nest of complexity often leads to ineffective, or even abandoned, projects. On the other hand, if you can maintain a tight focus, it’s not always a bad thing. [cbm80Amiga] shows us how to drill down and add specific features in this single-button timer without losing focus on what the original project was all about.

The timer is based on an Arduino Pro Mini and an HX1230 LCD with a simple piezo speaker for audible alerts. A single button controls operation of the timer, with short presses incrementing each digit and long presses moving on to the next digit. Controlling button presses this finely is a project in its own, but then [cbm80Amiga] moves on to other features such as backlight control, low power modes which allow it to operate for around two years on a single battery charge, preset times for various kitchen uses, and different appearance settings.

Honestly we aren’t sure how you could cram any more features on this timer without fundamentally altering the designed simplicity. It doesn’t fall into the abyss of feature creep while being packed with features, and it’s another example of how keeping things simple is often a recipe for success.

Thanks to [Hari] for the tip!

source https://hackaday.com/2020/08/28/over-engineered-single-button-timer/

38 Years Later, The Atari 2600 Learns To Speak

Back in the early 1980s, there was a certain fad in making your computer produce something resembling human speech. There were several hardware solutions to this, adding voices to everything from automated telephone systems to video game consoles, all the way to Steve Jobs using the gimmick to introduce Macintosh to the world in 1984. In 1982, a software-based version of this synthesis was released for the Atari 8-bit line of computers, and ever since them [rossumur] has wondered whether or not it could run on the very constrained 2600.

Fast-forward 38 years and he found out that the answer was that yes, it was indeed possible to port a semblance of the original 1982 Software Automatic Mouth (or SAM) to run entirely on the Atari 2600, without any additional hardware. To be able to fit such a seemingly complicated piece of software into the paltry 128 bytes (yes, bytes) of RAM, [rossumur] actually uses an authoring tool in order to pre-calculate the allophones, and store only those in the ROM. This way, the 2600 alone can’t convert text to phonemes, but there’s enough space left for the allophones, which are converted into sound, that about two minutes of speech can fit into one cartridge. As for why he went through the trouble, we quote the author himself: “Because creating digital swears with 1982 speech synthesis technology on a 1977 game console is exactly what we need right now.”

For this project, [rossumur] has written an incredibly interesting article on speech synthesis in order to explain the SAM engine used here. And this isn’t his first time on the website either, always cramming software where it shouldn’t fit, such as a “Netflix”-like streaming service, or 8-bit console emulators, both on nothing but an ESP32 microcontroller. Check this one out in action after the break.

source https://hackaday.com/2020/08/27/38-years-later-the-atari-2600-learns-to-speak/

Cold Tube Draws the Heat

If you live anywhere near the tropics, air conditioning isn’t a luxury but a necessity. The problem however is that humid climates can cause conventional air conditioners to draw more power to dehumidify the air than it requires to just cool it, which increases the power needed to run the unit. Back in 1963, there was a proposal to create a cooling system that didn’t foster condensation and couple it with different methods of removing humidity. Researchers in Singapore have now created such a system. It uses a membrane that is permeable to infrared radiation but prevents condensation around the cooling unit.

You can see a video of the apparatus in a pavilion in the Singapore heat in the video below. Chilled water runs through tubes behind a membrane that passes thermal radiation. Since the tubes are not exposed to the ambient atmosphere, condensation is minimal. But heat radiates from the warmer area to the much colder area of the tubes.

Desiccant passively dries the air. Does it work? The paper mentions testing in January which sounds odd to people from chillier latitudes, but Singapore is so near the equator that it isn’t really what others might call  winter there even in January. A quick search reveals the average temperature in January is 87F or about 30.5C. People found the area to be subjectively cool and comfortable.

We wonder of course if you could cool electronics with a scheme like this in applications where airflow or vibration from a contact surface could be an issue–for example, under a microscope. You can build a classic air conditioner out of odd parts if you like. Swamp coolers work well, but not with humidity.

source https://hackaday.com/2020/08/27/cold-tube-draws-the-heat/

Hands-On: BornHack 2020 Badge has 9×32 of Bling Fed by CircuitPython

Despite widespread pandemic cancellations, BornHack still happened this year and they even managed to once again bring an electronic badge to all attendees. If you missed it, I’ve already published an overview of the hacker camp itself. Today let’s dig into the 2020 BornHack badge!

Designed by Thomas Flummer and manufactured in Denmark, it takes the form of a PCB in the shape of a roughly 60 degree circular arc with most of its top side taken up by a 9 by 32 array of SMD LEDs. There is the usual 4-way button array and space for an SAO connector on the rest of the front face, while on the rear are a set of GPIO pads and a pair of AA battery holders for power. Connectivity is via USB-C and infra-red, and usefully there is also a power on/off switch.

At the heart of its hardware is a SAMD21G18A ARM Cortex M0+ microcontroller which is perhaps not the most exciting of chips, but the hardware becomes more interesting with the LED drivers. A pair of the IS31FL3731 chips (you may recognise from Brian Benchoff’s Mr. Robot badge) each drive half of the Charliplexed LED array. These versatile chips take the bother of scanning the LED matrix away from the microcontroller with their own internal frame registers fed from an I2C interface. This choice both makes the best use of the relatively meagre microcontroller in this application, and opens the way for the software choice. This badge runs Adafruit’s CircuitPython, and can thus be programmed over the USB connection in the same way as any other CircuitPython board. To test this I put aside my GNU/Linux laptop, and picked up something considerably less versatile to test its ease of use: a Chromebook.


# configure I2C
i2c = busio.I2C(board.SCL, board.SDA)

# turn on LED drivers
sdb = DigitalInOut(board.SDB)
sdb.direction = Direction.OUTPUT
sdb.value = True

# set up the two LED drivers
display = adafruit_is31fl3731.Matrix(i2c, address=0x74)
display2 = adafruit_is31fl3731.Matrix(i2c, address=0x77)

text_to_show = "BornHack 2020 - make clean"

CircuitPython devices mount as a disk drive in which can be found a Python file that can be edited with the code of your choice. The BornHack badge ships with code to display a BornHack banner text, which serves as a quick introduction to the capabilities of its display. It’s noticeable that the text scrolling performance leaves something to be desired, but this microcontroller is hardly one of the more powerful supported by the CircuitPython platform. The Chromebook was happily able to edit the code, though viewing the Python serial console necessitated diving into its Linux virtual machine.

The BornHack badge then, an attractive design that fulfils the aim of being capable and easy to program through its use of the popular CircuitPython platform, and through its decent sized LED matrix and available GPIOs with the chance of seeing a use beyond the camp as a general purpose display/experimentation platform. It may not be the most powerful of badges, but it does its job well. In particular it has achieved the feat missed by so many others, of arriving at the camp fully assembled and with working hardware and software. You can see more about it in Thomas’ badge presentation at the camp (cut from a stream, talk begins at 5:27) which we’ve placed below the break.

We look forward to seeing its influence upon other similar badges. Meanwhile if you are interested, you can compare it with the 2019 BornHack badge which we reviewed last year.

source https://hackaday.com/2020/08/27/hands-on-bornhack-2020-badge-has-9×32-of-bling-fed-by-circuitpython/

Hands-On: BornHack 2020 Badge has 9×32 of Bling Fed by CircuitPython

Despite widespread pandemic cancellations, BornHack still happened this year and they even managed to once again bring an electronic badge to all attendees. If you missed it, I’ve already published an overview of the hacker camp itself. Today let’s dig into the 2020 BornHack badge!

Designed by Thomas Flummer and manufactured in Denmark, it takes the form of a PCB in the shape of a roughly 60 degree circular arc with most of its top side taken up by a 9 by 32 array of SMD LEDs. There is the usual 4-way button array and space for an SAO connector on the rest of the front face, while on the rear are a set of GPIO pads and a pair of AA battery holders for power. Connectivity is via USB-C and infra-red, and usefully there is also a power on/off switch.

At the heart of its hardware is a SAMD21G18A ARM Cortex M0+ microcontroller which is perhaps not the most exciting of chips, but the hardware becomes more interesting with the LED drivers. A pair of the IS31FL3731 chips (you may recognise from Brian Benchoff’s Mr. Robot badge) each drive half of the Charliplexed LED array. These versatile chips take the bother of scanning the LED matrix away from the microcontroller with their own internal frame registers fed from an I2C interface. This choice both makes the best use of the relatively meagre microcontroller in this application, and opens the way for the software choice. This badge runs Adafruit’s CircuitPython, and can thus be programmed over the USB connection in the same way as any other CircuitPython board. To test this I put aside my GNU/Linux laptop, and picked up something considerably less versatile to test its ease of use: a Chromebook.


# configure I2C
i2c = busio.I2C(board.SCL, board.SDA)

# turn on LED drivers
sdb = DigitalInOut(board.SDB)
sdb.direction = Direction.OUTPUT
sdb.value = True

# set up the two LED drivers
display = adafruit_is31fl3731.Matrix(i2c, address=0x74)
display2 = adafruit_is31fl3731.Matrix(i2c, address=0x77)

text_to_show = "BornHack 2020 - make clean"

CircuitPython devices mount as a disk drive in which can be found a Python file that can be edited with the code of your choice. The BornHack badge ships with code to display a BornHack banner text, which serves as a quick introduction to the capabilities of its display. It’s noticeable that the text scrolling performance leaves something to be desired, but this microcontroller is hardly one of the more powerful supported by the CircuitPython platform. The Chromebook was happily able to edit the code, though viewing the Python serial console necessitated diving into its Linux virtual machine.

The BornHack badge then, an attractive design that fulfils the aim of being capable and easy to program through its use of the popular CircuitPython platform, and through its decent sized LED matrix and available GPIOs with the chance of seeing a use beyond the camp as a general purpose display/experimentation platform. It may not be the most powerful of badges, but it does its job well. In particular it has achieved the feat missed by so many others, of arriving at the camp fully assembled and with working hardware and software. You can see more about it in Thomas’ badge presentation at the camp (cut from a stream, talk begins at 5:27) which we’ve placed below the break.

We look forward to seeing its influence upon other similar badges. Meanwhile if you are interested, you can compare it with the 2019 BornHack badge which we reviewed last year.

source https://hackaday.com/2020/08/27/hands-on-bornhack-2020-badge-has-9×32-of-bling-fed-by-circuitpython/

Print-in-Place Engine Aims to be the Next Benchy

While there are many in the 3D-printing community who loudly and proudly proclaim never to have stooped to printing a 3DBenchy, there are far more who have turned a new printer loose on the venerable test model, just to see what it can do. But Benchy is getting a little long in the tooth, and with 3D-printers getting better and better, perhaps a better benchmarking model is in order.

Knocking Benchy off its perch is the idea behind this print-in-place engine benchmark, at least according to [SunShine]. And we have to say that he’s come up with an impressive model. It’s a cutaway of a three-cylinder reciprocating engine, complete with crankshaft, connecting rods, pistons, and engine block. It’s designed to print all in one go, with only a little cleanup needed after printing before the model is ready to go. The print-in-place aspect seems to be the main test of a printer — if you can get this engine to actually spin, you’re probably set up pretty well. [SunShine] shares a few tips to get your printer dialed in, and shows a few examples of what can happen when things go wrong. In addition to the complexities of the print-in-place mechanism, the model has a few Easter eggs to really challenge your printer, like the tiny oil channel running the length of the crankshaft.

Whether this model supplants Benchy is up for debate, but even if it doesn’t, it’s still a cool design that would be fun to play with. Either way, as [SunShine] points out, you’ll need a really flat bed to print this one; luckily, he recently came up with a compliant mechanism dial indicator to help with that job.

Thanks to [Keith Olson] for the tip.

source https://hackaday.com/2020/08/27/print-in-place-engine-aims-to-be-the-next-benchy/

Mil-Spec Looks Without Defense Department Budget

While hackers and makers have a tendency to focus on functionality above all else, that doesn’t mean there isn’t room for some visual flair. A device that works well and looks good will always be more impressive than the bare bones approach, but the extra time and money it usually takes to polish up the visual component of a build means it’s often overlooked. Which is exactly what [Jay Doscher] wanted to address with his Mil-Plastic project.

On the surface, the Mil-Plastic is yet another entry in the rapidly growing and often ill-defined world of cyberdecks: custom computing devices that forgo the standard laptop and desktop dichotomy and instead explore the road not taken by mainstream consumer electronics. To that end, it’s a solid build more than worthy of praise. But more than that, it’s also a lesson on how 3D printing and some clever design can create a truly impressive visual for little more than the cost of a spool of PLA.

The modular design allows parts to be printed in parallel.

The Mil-Plastic, as the name implies, looks like it was pulled from a Humvee or an Abrams tank. While the gorgeous olive green PETG filament that [Jay] has stumbled upon certainly helps, his eye for detail and design chops aren’t to be underestimated. He’s given the case a rugged and armored look that simply screams “Your Tax Dollars At Work”, complete with faux cooling fins running along the back and a generous application of low-profile stainless steel fasteners. We’ve taken a close look at the decadence of military engineering in the past, and the Mil-Plastic could hang with the best of them.

Most importantly, [Jay] has given us all the tools and information we need to recreate the look on our own terms. You don’t have to be in the market for yet another Raspberry Pi gadget to appreciate the Mil-Plastic; the design can serve as the backbone for whatever you happen to be building. The printed case not only looks impressive, but can easily be modified and expanded as needed.

[Jay] kicked off a minor revolution late last year with his Raspberry Pi Recovery Kit, and has continued to produce well-documented designs that illustrate the incredible power of desktop 3D printing. If you can look through his portfolio and not get inspired, you may want to speak with a doctor.

source https://hackaday.com/2020/08/27/mil-spec-looks-without-defense-department-budget/

Tiny Raspberry Pi Mac Nails the Apple Aesthetic

We know that some in the audience will take issue with calling a Raspberry Pi in a 3D-printed case the “World’s Smallest iMac”, but you’ve got to admit, [Michael Pick] has certainly done a good job recreating the sleek look of the real hardware. While there might not be any Cupertino wizardry under all that PLA, it does have a properly themed user interface and the general aversion to external ports and wires that you’d expect to see on an Apple desktop machine.

The clean lines of this build are made possible in large part by the LCD itself. Designed specifically for the Raspberry Pi, it offers mounting stand-offs on the rear, integrated speakers, a dedicated 5 V power connection, and a FFC in place of the traditional HDMI cable. All that allows the Pi to sit neatly on the back of the panel without the normal assortment of awkward cables and adapters going in every direction. Even if you’re not in the market for a miniature Macintosh, you may want to keep this display in mind for your future Pi hacking needs.

Well, that’s one way to do it.

Despite this clean installation, the diminutive Raspberry Pi was still a bit too thick to fit inside the 3D-printed shell [Michael] designed. So he slimmed it down in a somewhat unconventional, but admittedly expedient, way. With a rotary tool and a steady hand, he simply cut the double stacked USB ports in half. With no need for Ethernet in this build, he bisected the RJ-45 connector as well. We expect some groans in the comments about this one, but it’s hard to argue that this isn’t a hack in both the literal and figurative sense.

We really appreciate the small details on this build, from the relocated USB connectors to the vent holes that double as access to the LCDs controls. [Michael] went all out, even going so far as to print a little insert for the iconic Macintosh logo on the front of the machine. Though given the impressive work he put into his miniature “gaming PC” a couple months back, it should come as no surprise; clearly this is a man who takes his tiny computers very seriously.

source https://hackaday.com/2020/08/27/tiny-raspberry-pi-mac-nails-the-apple-aesthetic/

TMD-1 Makes Turing Machine Concepts Easy to Understand

For something that has been around since the 1930s and is so foundational to computer science, you’d think that the Turing machine, an abstraction for mechanical computation, would be easily understood. Making the abstract concepts easy to understand is what this Turning machine demonstrator aims to do.

The TMD-1 is a project that’s something of a departure from [Michael Gardi]’s usual fare, which has mostly been carefully crafted recreations of artifacts from the early days of computer history, like the Minivac 601  trainer and the DEC H-500 computer lab. The TMD-1 is, rather, a device that makes the principles of a Turing machine more concrete. To represent the concept of the “tape”, [Mike] used eight servo-controlled flip tiles. The “head” of the machine conceptually moves along the tape, its current position indicated by a lighted arrow while reading the status of the cell above it by polling the position of the servo.

Below the tape and head panel is the finite state machine through which the TMD-1 is programmed. [Mike] limited the machine to three states and four transitions, each of which is programmed by placing 3D-printed tiles on a matrix. Magnets were inserted into cavities during printing; Hall Effect sensors in the PCB below the matrix read the pattern of magnets to determine which tiles are where. The video below shows the TMD-1 counting from 0 to 10, which is enough to demonstrate the basics of Turing machines.

It’s hard not to comment on the irony of a Turing machine being run by an Arduino, but given that [Mike]’s goal was to make abstract concepts easy to understand, it makes perfect sense to leverage the platform rather than try to do this with discrete logic. And you can’t argue with results — TMD-1 made Turing machines clear to us for the first time.

source https://hackaday.com/2020/08/27/tmd-1-makes-turing-machine-concepts-easy-to-understand/

Discrete-Logic UART Keeps 8-Bit TTL Computer Connected

Pity the poor TTL computer aficionado. It’s an obsession, really — using discrete logic chips to scratch-build a computer that would probably compare unfavorably to an 80s era 8-bit machine in terms of performance. And yet they still forge ahead with their breadboards full of chips and tangles of wire. It’s really quite beautiful when you think about it.

[Duncan] at Shepherding Electrons has caught the TTL bug, and while building his 8-bit machine outfitted it with this discrete logic UART. The universal asynchronous receiver-transmitter is such a useful thing that single-chip versions of the device have been available since the early 1970s. [Duncan]’s version makes the magic of serial communications happen in just 12 chips, all from the 74LS logic family.

As if the feat of building a discrete logic UART weren’t enough, [Duncan] pulled this off without the aid of an oscilloscope. Debugging was a matter of substituting the 2.4576-MHz crystal oscillator clock with a simple 1-Hz 555 timer circuit; the reduced clock speed made it easier to check voltages and monitor the status of lines with LEDs. Once the circuit was working, the full-speed clock was substituted back in, allowing him to talk to his 8-bit computer at up to 38,400-kbps. Color us impressed.

For more TTL computer goodness, and to see where [Duncan] got his inspiration, check out [Ben Eater]’s many discrete logic projects — his scratch-built 6502, a low-end video card, or even his take on serial communications.

source https://hackaday.com/2020/08/26/discrete-logic-uart-keeps-8-bit-ttl-computer-connected/

Tiny Robot Beetle Runs On Alcohol

Batteries have come a long way in the past few centuries, but pale in comparison to hydrocarbon fuels when it comes to energy density. When it comes to packing plenty of juice in a light, compact package, hydrocarbons are the way to go. Recently, researchers have begun to take advantage of this, powering small robots with liquid fuels. Just like Bending Unit 22, aka Bender Bending Rodriguez, this tiny robotic beetle runs on alcohol.

Robeetle can carry up to 2.6 times its own weight, using Nitinol muscle wires to move its legs.

Affectionately named Robeetle, the tiny ‘bot weighs just 88 milligrams, comparable in mass its insectoid contemporaries. It stores methanol in a polyimide film tank, operating for up to 2 hours on a single fill.  As shown in the video, a solely mechanical control system is used to actuate the robot’s legs. In the neutral state, vents in the fuel tank are open, releasing methanol vapor. This passes over nitinol muscle wires coated in a special catalyst which causes the combustion of the methanol, heating the wires. The wires then contract, moving the legs, and closing the vents. When the wire cools, the wires relax, opening the vents and beginning the cycle anew.

While the ‘bot is solely capable of walking in a single direction, it nevertheless shows the possibilities enabled by powering small devices from energy-dense fuels. Waiting for improved battery technologies to develop is such a bore, after all. We look forward to swarms of such ‘bots exploring disaster areas or performing environmental sampling in years to come. The scientific paper outlines the research outcomes in detail.

We love tiny robots at Hackaday; we’ve featured a few in the past, too. Video after the break.

source https://hackaday.com/2020/08/26/tiny-robot-beetle-runs-on-alcohol/

Tiny Robot Beetle Runs On Alcohol

Batteries have come a long way in the past few centuries, but pale in comparison to hydrocarbon fuels when it comes to energy density. When it comes to packing plenty of juice in a light, compact package, hydrocarbons are the way to go. Recently, researchers have begun to take advantage of this, powering small robots with liquid fuels. Just like Bending Unit 22, aka Bender Bending Rodriguez, this tiny robotic beetle runs on alcohol.

Robeetle can carry up to 2.6 times its own weight, using Nitinol muscle wires to move its legs.

Affectionately named Robeetle, the tiny ‘bot weighs just 88 milligrams, comparable in mass its insectoid contemporaries. It stores methanol in a polyimide film tank, operating for up to 2 hours on a single fill.  As shown in the video, a solely mechanical control system is used to actuate the robot’s legs. In the neutral state, vents in the fuel tank are open, releasing methanol vapor. This passes over nitinol muscle wires coated in a special catalyst which causes the combustion of the methanol, heating the wires. The wires then contract, moving the legs, and closing the vents. When the wire cools, the wires relax, opening the vents and beginning the cycle anew.

While the ‘bot is solely capable of walking in a single direction, it nevertheless shows the possibilities enabled by powering small devices from energy-dense fuels. Waiting for improved battery technologies to develop is such a bore, after all. We look forward to swarms of such ‘bots exploring disaster areas or performing environmental sampling in years to come. The scientific paper outlines the research outcomes in detail.

We love tiny robots at Hackaday; we’ve featured a few in the past, too. Video after the break.

source https://hackaday.com/2020/08/26/tiny-robot-beetle-runs-on-alcohol/

Tiny Robot Beetle Runs On Alcohol

Batteries have come a long way in the past few centuries, but pale in comparison to hydrocarbon fuels when it comes to energy density. When it comes to packing plenty of juice in a light, compact package, hydrocarbons are the way to go. Recently, researchers have begun to take advantage of this, powering small robots with liquid fuels. Just like Bending Unit 22, aka Bender Bending Rodriguez, this tiny robotic beetle runs on alcohol.

Robeetle can carry up to 2.6 times its own weight, using Nitinol muscle wires to move its legs.

Affectionately named Robeetle, the tiny ‘bot weighs just 88 milligrams, comparable in mass its insectoid contemporaries. It stores methanol in a polyimide film tank, operating for up to 2 hours on a single fill.  As shown in the video, a solely mechanical control system is used to actuate the robot’s legs. In the neutral state, vents in the fuel tank are open, releasing methanol vapor. This passes over nitinol muscle wires coated in a special catalyst which causes the combustion of the methanol, heating the wires. The wires then contract, moving the legs, and closing the vents. When the wire cools, the wires relax, opening the vents and beginning the cycle anew.

While the ‘bot is solely capable of walking in a single direction, it nevertheless shows the possibilities enabled by powering small devices from energy-dense fuels. Waiting for improved battery technologies to develop is such a bore, after all. We look forward to swarms of such ‘bots exploring disaster areas or performing environmental sampling in years to come. The scientific paper outlines the research outcomes in detail.

We love tiny robots at Hackaday; we’ve featured a few in the past, too. Video after the break.

source https://hackaday.com/2020/08/26/tiny-robot-beetle-runs-on-alcohol/