Over-Engineered Bottle Opener Takes the Drudgery out of Drinking

Some projects take but a single glance for you to know what inspired them in the first place. For this over-engineered robotic bottle opener, the obvious influence was a combination of abundant free time and beer. Plenty of beer.

Of course there are many ways to pop the top on a tall cold one, depending on the occasion. [Matt McCoy] and his cohorts selected the “high-impulse” method, which when not performed by a robot is often accomplished by resting the edge of the cap on a countertop and slapping the bottle down with the palm of one’s hand. This magnificently pointless machine does the same thing, except with style.

The bottle is placed in a cradle which grips it, gently but firmly, and presents it to the opening mechanism in a wholly unnecessary motion-control ballet. Once in place, a lead screw moves a carriage down, simultaneously storing potential energy in a bundle of elastic surgical tubing while tripping a pawl on the edge of the cap. A lever trips at the bottom of the carriage’s travel, sending the pawl flying upward to liberate the libation, giving the robot a well-deserved and sudsy showers. Behold the wonderful interplay of 190 custom parts — and beer — in the video below.

Hats off to [Matt] et al for their tireless efforts on behalf of beleaguered beer-openers everywhere. This seems like the perfect accessory to go along with a game of mind-controlled beer pong.

source https://hackaday.com/2020/12/18/over-engineered-bottle-opener-takes-the-drudgery-out-of-drinking/

Remoticon Video: How to 3D Print onto Fabric with Billie Ruben

We’re impressed to see the continued flow of new and interesting ways to utilize 3D printing despite its years in the hacker limelight. At the 2020 Hackaday Remoticon [Billie Ruben] came to us from across the sea to demonstrate how to use 3D printing and fabric, or other flexible materials, to fabricate new and interesting creations. Check out her workshop below, and read on for more detail about what you’ll find.

The workshop is divided into two parts, a hands-on portion where participants execute a fabric print at home on their own printer, and a lecture while the printers whirr away describing ways this technique can be used to produce strong, flexible structures.

The technique described in the hands on portion can be clumsily summarized as “print a few layers, add the flexible material, then resume the printing process”. Of course the actual explanation and discussion of how to know when to insert the material, configure your slicer, and select material is significantly more complex! For the entire process make sure to follow along with [Billie]’s clear instructions in the video.

The lecture portion of the workshop was a whirlwind tour of the ways which embedded materials can be used to enhance your prints. The most glamourous examples might be printing scales, spikes, and other accoutrement for cosplay, but beyond that it has a variety of other uses both practical and fashionable. Embedded fabric can add composite strength to large structural elements, durable flexibility to a living hinge, or a substrate for new kinds of jewelry. [Billie] has deep experience in this realm and she brings it to bear in a comprehensive exposition of the possibilities. We’re looking forward to seeing a flurry of new composite prints!

source https://hackaday.com/2020/12/18/remoticon-video-how-to-3d-print-onto-fabric-with-billie-ruben/

Edge-Mounted LEDs Make This Spherical POV Look Fantastic

For as many of them as we’ve seen, we still love a good persistence of vision display project. There’s something fascinating about the combination of movement and light creating the illusion of solid surfaces, and there’s always fun to be had in electromechanical aspects of a POV build. This high-resolution spherical POV display pushes all those buttons, and more.

Called “Flicker” for obvious reasons by its creator [Dan Foisy], this POV display started with a pretty clear set of goals in terms of resolution and image quality, plus the need to support animated images, all in a spherical form factor. These goals dictated the final form of the display — a PCB disc spinning vertically. The shaft has the usual slip rings for power distribution and encoders for position feedback. The PCB, though, is where the interesting stuff is.

[Dan] chose to use an FPGA to slice and dice the images, which are fed from a Raspberry Pi’s HDMI port, to the LED drivers. And the LEDs themselves are pretty slick — he found parts with 1.6 mm lead spacing, making them a perfect fit for mounting on the rim of the PCB rather than on either side. A KiCAD script automated the process of laying out the 256 LEDs and their supporting components as evenly as possible, to avoid imbalance issues.

The video below shows Flicker in action — there are a few problem pixels, but on the whole, the display is pretty stunning. We’ve seen a few other spherical POV displays before, but none that look as good as this one does.

source https://hackaday.com/2020/12/18/edge-mounted-leds-make-this-spherical-pov-look-fantastic/

Edge-Mounted LEDs Make This Spherical POV Look Fantastic

For as many of them as we’ve seen, we still love a good persistence of vision display project. There’s something fascinating about the combination of movement and light creating the illusion of solid surfaces, and there’s always fun to be had in electromechanical aspects of a POV build. This high-resolution spherical POV display pushes all those buttons, and more.

Called “Flicker” for obvious reasons by its creator [Dan Foisy], this POV display started with a pretty clear set of goals in terms of resolution and image quality, plus the need to support animated images, all in a spherical form factor. These goals dictated the final form of the display — a PCB disc spinning vertically. The shaft has the usual slip rings for power distribution and encoders for position feedback. The PCB, though, is where the interesting stuff is.

[Dan] chose to use an FPGA to slice and dice the images, which are fed from a Raspberry Pi’s HDMI port, to the LED drivers. And the LEDs themselves are pretty slick — he found parts with 1.6 mm lead spacing, making them a perfect fit for mounting on the rim of the PCB rather than on either side. A KiCAD script automated the process of laying out the 256 LEDs and their supporting components as evenly as possible, to avoid imbalance issues.

The video below shows Flicker in action — there are a few problem pixels, but on the whole, the display is pretty stunning. We’ve seen a few other spherical POV displays before, but none that look as good as this one does.

source https://hackaday.com/2020/12/18/edge-mounted-leds-make-this-spherical-pov-look-fantastic/

Edge-Mounted LEDs Make This Spherical POV Look Fantastic

For as many of them as we’ve seen, we still love a good persistence of vision display project. There’s something fascinating about the combination of movement and light creating the illusion of solid surfaces, and there’s always fun to be had in electromechanical aspects of a POV build. This high-resolution spherical POV display pushes all those buttons, and more.

Called “Flicker” for obvious reasons by its creator [Dan Foisy], this POV display started with a pretty clear set of goals in terms of resolution and image quality, plus the need to support animated images, all in a spherical form factor. These goals dictated the final form of the display — a PCB disc spinning vertically. The shaft has the usual slip rings for power distribution and encoders for position feedback. The PCB, though, is where the interesting stuff is.

[Dan] chose to use an FPGA to slice and dice the images, which are fed from a Raspberry Pi’s HDMI port, to the LED drivers. And the LEDs themselves are pretty slick — he found parts with 1.6 mm lead spacing, making them a perfect fit for mounting on the rim of the PCB rather than on either side. A KiCAD script automated the process of laying out the 256 LEDs and their supporting components as evenly as possible, to avoid imbalance issues.

The video below shows Flicker in action — there are a few problem pixels, but on the whole, the display is pretty stunning. We’ve seen a few other spherical POV displays before, but none that look as good as this one does.

source https://hackaday.com/2020/12/18/edge-mounted-leds-make-this-spherical-pov-look-fantastic/

This Week in Security: SolarWinds and FireEye, WordPress DDoS, And Enhance!

The big story this week is Solarwinds. This IT management company supplies network monitoring and other security equipment, and it seems that malicious code was included in a product update as early as last spring. Their equipment is present in a multitude of high-profile networks, like Fireeye, many branches of the US government, and pretty much any other large company you can think of. To say that this supply chain attack is a big deal is an understatement. The blame has initially been placed on APT42, AKA, the Russian hacking pros.

The attack hasn’t been without some positive effects, as Fireeye has released some of their internal tooling as open source as a result. Microsoft has led the official response to the attack, managing to win control of the C&C domain in court, and black-holing it.

The last wrinkle to this story is the interesting timing of the sale of some Solarwinds stock by a pair of investment firms. If those firms were aware of the breech, and sold their shares before the news was made public, this would be a classic case of illegal insider trading.

WordPress Pingback DDoS

It never ceases to amaze me, the clever ways attackers find to misuse features. In this case, the WordPress pingback function can be used to facilitate a DDoS attack.

So a bit of history, what is a WordPress pingback? It’s simple. Say you have a wordpress blog where you write a new article. Someone else likes your article enough to link to it on their own WordPress site. If both sites have pingbacks enabled, the wordpress instances will automatically talk to each other, and generate a pingback comment on the original article. It’s clever, but of limited use, so many sites have the feature disabled.

The problem is that an attacker can connect directly to the pingback API of many WordPress sites, and announce a new pingback originating from the target site. Each of those sites will then attempt to open a new connection to verify the pingback announcement, effectively amplifying a DDoS attack.

You might think that your content distribution service will take care of you. Cloudflare and the like can be thought of as a distributed cache. You request a protected site, and the DNS name resolves to one of Cloudflare’s IP addresses. Cloudflare uses some magic routing tricks (anycast) to automatically route your connection to their nearest datacenter. Cloudflare can then proxy your connection, or serve cached content during a traffic spike. An important element to this protection is that the public doesn’t connect directly to your server’s IP address, which protects you from the DDoS.

Unless a WordPress site is set up particularly carefully, the pingback response gives away the true IP address, allowing for a trivial bypass. Ouch.

The Worst Security Problem

Cisco got hit by the oldest security bug in the book, back in 2018. This unpatchable vulnerability led to the deletion of 456 VMs and over 16,000 Webex accounts. The price tag on the cleanup came to over two million dollars. What vulnerability was this? An employee with admin privileges and a grudge. Five months after leaving Cisco, [Sudish Ramesh] still had valid credentials, which doesn’t reflect well on Cisco’s security practices around HR. Ramesh will serve two years in prison, as well as paying a small fine.

Enhance! — er, Depixelate?

It’s the classic movie trope, present everywhere from Blade Runner to MacGyver — “Zoom in on that section and enhance the image.” (Warning, tvtropes.) We love to make fun of this one, but it turns out, there are a few limited instances where it’s possible. [Sipke Mellema] put the work in, and brings us the Depix tool. Designed to make a best-guess at the original text behind a pixelated image, assuming that you know the font that it’s written in and some other details, Depix could be a useful tool for extracting passwords and other data from poorly redacted images. For more details, check his write-up.

Thanks to [Sevron Kitsune] for sending this one in in the tips line!

OAuth Can Go Wrong

OAuth seems to be one of the better security protocols to be developed in the last few years. You have a Google or Facebook account, and you can use that single sign on to authenticate everywhere. OAuth can even be used to run your own identity service. As good as the protocol is, there are ways for it to go wrong. The good folks at Portswigger bring us a good overview of OAuth 2.0, as well as the common pitfalls.

source https://hackaday.com/2020/12/18/this-week-in-security-solarwinds-and-fireeye-wordpress-ddos-and-enhance/

Building A Smash Bros. Controller With Keyswitches

When it comes to competitive fighting games, having the right controller in your hands can make the difference between victory and defeat. Many tournaments have strict rules around controllers for this very reason. [Akaki Kuumeri] has recently put together a custom controller, aimed at maximising performance in Super Smash Brothers: Ultimate on the Nintendo Switch. (Video, embedded below.)

The build is assembled in an attractive 3D-printed body, made to be reminiscent of the original Nintendo Entertainment System controller. Inside, a cheap third-party Gamecube controller is used to interface with the console. Mechanical keyboard switches are used to replace the buttons and even the analog sticks, with a special modifier key that enables walking and running across the stage. This is pulled off with a handful of resistors emulating the intermediate position of the analog sticks, and makes pulling off advanced combos easier.

It’s a fun build, and we can imagine the precise digital key inputs having some benefits over analog controls. It also pays to note that such a build wouldn’t be as easy without the ready supply of mechanical key switches thanks to the custom keyboard subculture. We’ve seen these satisfying switches cropping up in many controller builds in recent times.

source https://hackaday.com/2020/12/18/building-a-smash-bros-controller-with-keyswitches/

Stacked Material Makes Kitchen Temperature Superconductors

Belgian, Italian, and Australian researchers are proposing that by stacking semiconductor sheets, they should be able to observe superconducting behavior at what is known as “kitchen temperature” or temperatures you could get in a household freezer. That’s not quite as good as room temperature, but it isn’t bad, either. The paper is a bit technical but there is a very accessible write-up at Sci-Tech Daily that gives a good explanation.

Superconductors show no loss but currently require very cold temperatures outside of a few special cases. The new material exploits the idea that an electron and a hole in a semiconducting material will have a strong attraction to each other and will form a pair known as an exciton. Excitons move in a superfluid state which should exhibit superconductivity regardless of the temperature. However, the attraction is so strong that in conventional materials, the excitons only exist for the briefest blip of time before they cancel each other out.

The new material has layers and manages the holes in one layer and the electrons in the other. The pair will move together but are not in danger of canceling each other out as they stay on their layer. As you might guess, that means one layer has p doping and the next layer will have n doping.

The team claims that their predictions are they will see superconducting currents in these 3D stacks at temperatures up to -3 °C which is only about 26 °F. Cold, but not crazy cold. Liquid nitrogen, for example, is nearly -200 °C and dry ice is about -80 °C. Compared to those, -3 °C is almost balmy.

(Editor’s note: it’s -3 °C outside our house right now.)

The researchers also think they will be able to raise the temperature with more work. As of now, the paper is just a proposal, although the researchers say that building the stacks doesn’t rely on any unusual technology. It will be interesting to see if anyone can implement superconducting materials using this method.

While building this lattice of alternating semiconductor seems hard, we’ve seen hackers do harder things. It is possible to make superconducting ceramic that works at relatively high temperatures. We have seen one room-temperature superconductor, but there’s a big catch to it that makes it pretty impractical for real use.

source https://hackaday.com/2020/12/18/stacked-material-makes-kitchen-temperature-superconductors/

900-Degree Racing Wheel Helps You Nail The Apex

There are many racing wheels on the market for the budding sim enthusiast. Unfortunately, lower end models tend to have a limited range of motion and ship with cheap plastic wheels that don’t feel good in the hand. As always, if what’s on the shelf doesn’t meet your needs, you can always build your own. [ilge]’s DIY racing wheel build is a great example of how to go about it. 

It’s a no-frills build, with an Arduino Leonardo doing the USB Human Interface Device duties in this case. It reads a standard 10K potentiometer via an analog input to determine wheel position. To enable a realistic 900 degrees of motion, unlike the standard 270 degree rotation of the potentiometer, [ilge] uses 3D printed gears of 15 and 54 degrees respectively. This also has the benefit of allowing the wheel to be mounted to a stout bearing for smooth motion. The steering wheel itself is a high quality drift wheel from MOMO, and the benefit of building your own setup is that you can choose whatever wheel you like to taste.

It’s a simple build both mechanically and electronically speaking, but one that serves as a great entry into building a DIY sim for the beginner. We’d love to see further upgrades towards force feedback, or even shift paddles added on the back. Those looking to go all out can even consider building a motion platform. Video after the break.

source https://hackaday.com/2020/12/17/900-degree-racing-wheel-helps-you-nail-the-apex/

BASH Template Promises Safer Scripts

Many bash scripts start out as something quick and dirty but then become so useful that they live for years, indeed sometimes seeing more use than our traditional programs. Now that you can even run bash well under Windows (although, you’ve always been able to run it there if you tried), there are even more opportunities for your five-minute bash script to proliferate. [Maciej] decided he was tired of always having to patch up his quick and dirty scripts to be more robust, so he created (and shared) his boilerplate template for scripts.

Probably most of us have at least some basic template we start with, even if it just our last script project. What’s nice about [Maciej’s] template is that he documents what’s going on with each part of it. It is also relatively short without a lot of excess stuff. Of course, you’ll probably customize it, but it is a great place to start.

The template has a good shell selection line using env and also sets up basic error handling. That includes a trap function that runs on termination and argument parsing including a help message. There’s a oneliner that sets the current directory to the script directory (although you don’t always want that).

The only real excesses in the template are the short example script and a function that sets colors based on the terminal type that you might not need for your script. However, it is nice to print warnings with highlight color when they are not redirected and this code handles that for you.

If you don’t want to bother yanking the code from a web page, the template is also on a GitHub Gist. As [Maciej] points out, there are other similar projects out there, but some of them are a bit bloated.

If you want to clean up your scripts, try lint in the form of ShellCheck. We’ve talked about writing safer scripts before and also our own system for dealing with traps.

source https://hackaday.com/2020/12/17/bash-template-promises-safer-scripts/

Hypercar Valve Technology On A Harbour Freight Engine

The inlet and exhaust valve timing of a piston engine plays a large role in engine performance. Many modern automotive engines have some sort of variable valve timing, but the valves are still mechanically coupled together and to the crankshaft. This means that there is always a degree of performance compromise for various operating conditions. [Wesley Kagan] took inspiration from Koenigsegg’s camless Freevalve technology, and converted a Harbour Freight engine to camless technology for individual valve control.

By eliminating the traditional camshaft and giving each valve its actuator, it is possible to tune valve timing for any specific operating condition or even for each cylinder. A cheap single-cylinder engine is a perfect testbed for the garage hacker. [Wesley] removed the rocker arms and pushrods, and replaced the stock rocker cover with a 3D printed rocker cover which contains two small pneumatic pistons that push against the spring-loaded valve stems. These pistons are controlled by high-speed pneumatic solenoid valves. A reference timing signal is still required from the crankshaft, so [Wesley] built a timing system with a 3D printed timing wheel containing a bunch of embedded magnets and being sensed by a stationary Hall effect sensor. An Arduino is used to read the timing wheel position and output the control signals to the solenoid valves. With a rough timing program he was able to get the engine running, although it wouldn’t accelerate.

In the second video after the break, he makes a digital copy of the engine’s existing camshaft. Using two potentiometers in a 3D printed bracket, he measured push rod motion for a complete engine cycle. He still plans to add position sensing for each of the valves, and after a bit more work on the single-cylinder motor he plans to convert a full-size car, which we are looking forward to.

People have been tinkering with cars in their garage for as long as cars have existed. [Lewin Day] has been doing a series on how to get into tinkering with cars yourself. With all the electronics in modern automobiles, messing around with their software has become a growing part of this age-old pastime.

source https://hackaday.com/2020/12/17/hypercar-valve-technology-on-a-harbour-freight-engine/

Adaptive Macro-Pad Uses Tiny OLED Screens as Keycaps

When we first laid eyes on Keybon, the adaptive macro keyboard, we sort of wondered what the big deal was. It honestly looked like any other USB macro keyboard, with big icons for various common tasks on the chunky keys. But looks can be deceiving, and [Max.K] worked a couple of surprises into Keybon.

First of all, each one of Keybon’s buttons is actually a tiny OLED display, making the keycaps customizable through software. Each of the nine 0.66″ displays has a resolution of 64 x 48 pixels, which is plenty for all kinds of icons, and each is mounted over an SMD pushbutton switch. He had to deal with the problem of the keycaps just wobbling around atop the switch button without depressing it; this was solved with a 3D-printed cantilever frame that forced the keycaps to pivot only in one axis, resulting in clean, satisfyingly clicky keypresses.

The other trick that Keybon has is interactivity. By itself, it boots up with a standard set of icons and sends the corresponding keystrokes over USB. But when used with its companion Windows application, the entire macro set can be switched out to accommodate whatever application is being used. This gives the users access to custom macros for a web browser, EDA suite, CAD applications, or an IDE. The app supports up to eight macro sets and can be seen in action in the video below.

We love the look and the functionality [Max.K] has built into Keybon, but we wonder if e-ink displays would be a good choice for the keycaps too. They’re available for a song as decommissioned store shelf price tags now, and they might be nice since the icon would persist without power.

source https://hackaday.com/2020/12/17/adaptive-macro-pad-uses-tiny-oled-screens-as-keycaps/

Remoticon Video: How to Use Max in Your Interactive Projects

When you want to quickly pull together a combination of media and user interaction, looking to some building blocks for the heavy lifting can be a lifesaver. That’s the idea behind Max, a graphical programming language that’s gained a loyal following among anyone building art installations, technology demos (think children’s museum), and user Kiosks.

Guy Dupont gets us up to speed with a how to get started with Max workshop that was held during the 2020 Hackaday Remoticon. His crash course goes through the basics of the program, and provides a set of sixteen demos that you can play with to get your feet under you. As he puts it, if you need sound, video, images, buttons, knobs, sensors, and Internet data for both input and output, then Max is worth a look. Video of the workshop can be found below.

Head on over to the workshop page where you can download the examples from the files section. Max is a commercial program which has a free trial period. Guy points out that its sibling program, Pure Data, is free and open source, it will run on almost anything, but comparing it to Max is like like driving stick versus driving an automatic. If you have first-hand experience using both of these programs, we’d love to hear your thoughts in the comments below.

Anyone familiar with graphical programming languages will feel right at home with Max. Blocks are dragged into a workspace and connected with wires between inputs and outputs. There are a multitude of blocks available for everything you can possibly imagine. Included in some demonstrations are advanced interactivity features like accepting commands from chat messages on Twitch, triggering from IFTTT, and adding interactivity between different Max instances on the same wireless network.

The example shown in the image at the top of this article is webcam input. When Guy holds up the pink sign it unmutes his microphone, when he puts it down it is muted again. It’s the digital equivalent of having a talking stick during your Zoom calls. Guy’s recommendation for those looking for hardware interactivity is to utilize serial, or leverage MIDI control.

This quick start will get anyone up and running, no matter your previous experience. As an example of the shenanigans you can eventually get yourself into, Guy closes the session by showing off a shift register he modeled in Max, all the way down to the NAND gates. If you want to check out some of Guy’s other work, we loved his Bonnaroo Jukebox and his recreation of the Wurlitzer note visualizer.

source https://hackaday.com/2020/12/17/remoticon-video-how-to-use-max-in-your-interactive-projects/

Fancy Filament Joiner Has Promise, But Ultimately Fails

[Proper Printing] has been trying to 3D print rims for his car for quite some time. However, the size of the print has led to problems with filament spools running out prior to completion. This led to endless headaches trying to join several smaller lengths of filament in order to make a single larger spool. After his initial attempts by hand failed, a rig was built to try and bring some consistency to the process. (Video, embedded below.)

The rig consists of a heater block intended to melt the ends of two pieces of filament so that they can be fused together. A cheap set of brass calipers was modified with a tube in order to form a guide for the filament, ensuring that it gets bonded neatly without flaring out to a larger size. Fan coolers are then placed either side of the heating area to avoid turning the whole filament into a hot mess.

Unfortunately, the rig simply didn’t work. The initial design simply never got the filament hot enough, with the suspicion being that heat was instead being dumped into the calipers instead of the filament itself. Modifications to reduce this sadly didn’t help, and in the end, more success was had by simply holding a lighter below a length of brass tube.

While the project wasn’t a success, there’s still value in the learning along the way. We can’t see any fundamental reason why such a rig couldn’t be made to work, so if you’ve got ideas on how it could be improved, sound off in the comments. We’ve seen other successful builds using hair straighteners in a relatively simple setup, too.

[Thanks to Baldpower for the tip!]

source https://hackaday.com/2020/12/17/fancy-filament-joiner-has-promise-but-ultimately-fails/

A SNES, Ray Tracing

A trick famously used by Nintendo to keep its slowly aging SNES console fresh against newer competition was to produce new games with extra support chips in the cartridge to push out hitherto-unthinkable performance. Chips such as the famous SuperFX gave us 3D polygonal graphics, but it would have been a few more years before even much faster platforms could achieve real-time ray-tracing. Nintendo may not have managed it, but here in 2020 [Ben Carter] has a SNES on his bench rendering a complex 3D ray-traced world.

Ray tracing refers to the practice of rendering a scene with accurate lighting by tracing the rays of light that go towards making each pixel. It can achieve results that even approach photorealism, but it remains an extremely computationally intensive job for any computer. To do this with a SNES he hasn’t resorted to a modern computer like the excellent Raspberry-Pi-based NES DOOM cartridge, instead he’s tried to create something that might have graced a Nintendo custom chip back in the 1990s. The tool may be a thoroughly modern DE10-Nano FPGA dev board, but what it implements could conceivably have been made as a 1990s-spec ASIC. In it are three ray tracing cores that do the work, but the final rendering is handled by the SNES itself. At 200 x 160 pixels and 256 colours it’s no graphical powerhouse, but the maximum frame rate of 30 fps makes it no slouch for the day. The video below the break supplies extra detail.

Perhaps an unexpected takeaway of the rendered scene lies in how of its era it seems. It comes from an age in which checker-board floors, mirrored balls, and azure blue skies looked so futuristic, and just before the likes of Toy Story redefined what the general public might expect from 3D rendering. If Nintendo had produced a ray-traced SNES game using a chip like this one, it would have certainly been a defining moment for gaming in that decade.

Thanks [Mark] for the tip.

source https://hackaday.com/2020/12/17/a-snes-ray-tracing/

Skittle Sorter Makes Long Task Shorter

One of the most common complaints fielded by the agents of Big Candy regards the non-homogenous nature of their products. Skittles and M&Ms are two egregious offenders in this area, and it’s left up to the determined consumer to handle sorting these candies themselves. Of course, you can always do it by hand, but as we all know – machines will do the work.

This Skittle sorter is the creation of [Lewis] of [DIY Machines], and it’s a build targeted at the beginner level. Constructed out of cardboard, it uses a pair of servos to handle the transport of the candies into their requisite colored bins, via a rotating disc and chute. Skittles are scanned with a TCS34725 color scanner hooked up to an Arduino Nano, which changes the angle of the output chute to dump the candy in the proper location. The hopper is able to handle a standard 180 gram bag of Skittles without problems.

[Lewis] does a great job explaining each stage of the build, from the mechanical and electronic side of things, to the required calibrations to make everything play together nicely. The project teaches builders a multiude of useful lessons, like how to use limit switches and other concepts of automation.  We’ve featured [Lewis] on these pages before, too; his stylish shelf clock is a particular delight. Video after the break.

source https://hackaday.com/2020/12/16/skittle-sorter-makes-long-task-shorter/

Learn Compilers Online from Cornell

It sounds like the start of a joke, but what’s the difference between taking Cornell’s CS6120 online and in-person? The instructor, [Adrian Samspon] notes that the real class has deadlines, an end-of-semester project, and a discussion board that is only open to real-life students. He also notes that you only earn “imagination credits.”

Still, this is a great opportunity to essentially audit a PhD-level computer science class on a fascinating topic. The course consists of videos, papers, and open source projects using LLVM and a custom internal representation based on JSON that is made for the class. It is all open source, too. You do however need access to the papers, some of which are behind paywalls. Your local library can help if you can’t otherwise find copies of the papers.

The topics include internal representation of programs, simple optimizations, data flow, global analysis and optimization, and practical topics about LLVM. With the basics out of the way, the class turns to some classic topics like loop optimization and alias analysis, along with some more modern topics like memory management and dynamic compilers.

The final part has some more cutting-edge reading about concurrency and parallelism. We suspect you should probably be pretty fluent in programming languages before attempting this course. Of course, not everyone needs to know how to write a compiler. But if you do, this is great stuff. Even if you don’t, it is a chance to expand your understanding of how things work under the hood.

We’ve looked at [Adrian’s] thoughts on LLVM before and you might find that post a useful adjunct to this course. If you want something more practical and less theoretical, there’s the C compiler we looked at before.

source https://hackaday.com/2020/12/16/learn-compilers-online-from-cornell/

Automatic Sanitizer for Your Cupholder

Why is it so hard to remember to use hand sanitizer between going into the store and driving back home? We tried hanging a bottle off the windshield wiper stalk, but it gets in the way and is hard to use and share with passengers. The ideal thing would be to have a hands-free pump in the car that reminds you to use it.

You don’t have to wire this to the ignition or anything — all you have to do is power it with the cigarette lighter (or straight-up outlet, if you’re lucky). Every time you turn the key, this pump powers up and performs a little song to remind you to use it. Electronically speaking, it couldn’t be simpler — an Arduino UNO reads your hand from the distance sensor and activates a servo that dispenses three short pumps of isopropyl alcohol. Check it out in action after the break.

Want a hands-free solution for the house? Just build something you can step on.

source https://hackaday.com/2020/12/16/automatic-sanitizer-for-your-cupholder/

3D Printing With VHS Tape Filament

If you have a pile of old VHS tapes collecting dust in your attic or basement that you know you’ll never watch again, either because all of those movies are available on DVD or a streaming service, or because you haven’t had a working VCR since 2003, there might be a way of putting them to good use in another way. With the miles of tape available in just a few cassettes, [Brother] aka [Andrew] shows us how to use that tape as filament for a 3D printer. (Video, embedded below.)

The first step of the build is to actually create the filament. He uses a purpose-built homemade press to spin several tapes into one filament similar to how cotton or flax is spun into yarn. From there the filament is simply fed into the 3D printer and put to work. The tape filament needs to be heated higher than a standard 3D printer filament so he prints at a much slower rate, but the resulting product is indistinguishable from a normal print except for the color. It has some other interesting properties as well, such as retaining its magnetism from the magnetic tape, and being a little more brittle than PET plastic although it seems to be a little stronger.

While the VHS filament might not be a replacement for all plastic 3D prints, it’s still a great use for something that would likely otherwise head straight to the landfill. There are some other uses for this magnetic tape as well, like if you wanted to build a DIY particle accelerator.

source https://hackaday.com/2020/12/16/3d-printing-with-vhs-tape-filament/

RC Lawn Mower Cuts With Impunity

Grass is a lovely thing to have, but unfortunately it tends to grow excessively long if left unattended. Obviously, one can use a regular lawn mower, but [Daniel] of [rctestflight] decided to build something remote-control instead. (Video, embedded below.)

To get started, [Daniel] fitted X-acto blades to a brushless outrunner motor, and tested their ability to cut grass. Satisfied with the performance, he built a trailer to tow behind an RC tank mounted to such a setup, with some success. With the concept beginning to bear fruit, he went with a clean sheet design for maximum performance.

The final build relies on an RC rock-crawler chassis, fitted with a brushless motor using field oriented control for maximum torque at low speeds. This allows the RC mower to slowly push through the grass without overwhelming the cutter heads. As for the cutter heads, the final rig has eight motors, each sporting two blades to chop down long field grasses with impunity.

[Daniel] notes that it’s remarkably fun to cut the grass in this way, and is surprised not to have seen more builds in this area. (Editor’s note: he needs to read more Hackaday.) Of course, we’ve seen plenty of autonomous builds, too.

source https://hackaday.com/2020/12/16/rc-lawn-mower-cuts-with-impunity/

Micro:bit Put On Plant Minding Duty

The BBC has a long history of supporting technology education in schools. The BBC Micro introduced a whole generation of students to computers, and more recently the Micro:bit is teaching today’s children about embedded systems. [Michael Klements] happens to be a grown adult, but has whipped up a project using the little board to build an automatic plant watering system.

Rather than a simple timer-based system, [Michael’s] build measures soil moisture using a capacitive sensor. This has the benefit of not needing to be in direct contact with the soil as resistive sensors do, and thus the sensor can be built in a fashion that minimises corrosion. The Micro:bit reads this sensor using an analog input, and displays the moisture level using its inbuilt LED matrix as a graph. Once levels dip below a set threshold, a pump is activated to deliver water to the plant until the soil is suitably moist again.

It’s a simple project, but one that would be a great way to teach students about interfacing with pumps and sensors, as well as the basics of control systems. [Michael] also notes that further work could involve interfacing multiple Micro:bits using their onboard wireless hardware. We’ve thus far seen the Micro:bit used for everything from handheld gaming to gumball delivery. Video after the break.

source https://hackaday.com/2020/12/15/microbit-put-on-plant-minding-duty/

Radio Controlled Hovercraft Apes The SR.N1

Hovercraft never really caught on as regular transportation, but they are very cool. The Saunders-Roe SR.N1 was the very first practical example of the type, and served as a research vehicle to explore the dynamics of such vehicles. [mr_fid] was looking for a lockdown project, and set about crafting a radio controlled replica of his own.

The build is crafted out of a canny combination of plywood and balsa, the latter substituted in sections within the plywood hull to save weight. A pair of brushless outrunner motors are mounted in the central duct to provide lift, fitted with counter-rotating propellers in order to avoid torque effects on handling. Steering is via puff ports a la the original design, which allows the craft to spin very quickly in place to much amusement and no practical effect. The skirt is of a colorful design, carefully assembled out of polyurethane-coated nylon.

While it’s not the quickest way to build a hovercraft, it’s all the more beautiful for its attention to the details and function of the original prototype craft. We particularly like the sharp handling thanks to the puff port design. If you’re looking for a weirder design however, consider this Coanda Effect build. Video after the break.

source https://hackaday.com/2020/12/15/radio-controlled-hovercraft-apes-the-sr-n1/

Real Hackers Videoconference in Terminal

At some point or another, many of us have tried to see how much of our digital lives could be accessed from the comfort of a terminal. We’ve tried Alpine for email, W3M for web browsing, and even watched Star Wars via telnet. But, in the increasingly socially-distant world we find ourselves in today, we find ourselves asking: what about video calling?

Okay, we weren’t asking that. But thankfully [Andy Kong] was, and saw fit to implement it when he and a friend created AsciiZOOM, a “secure, text-based videoconferencing app, accessible from the safety of your terminal.”

As you may have guessed, {Andy]’s solution replaces the conventional video stream we’re all used to with realtime animated ASCII art. The system works by capturing a video stream from a webcam, “compressing” each pixel by converting it into an ASCII character, and stuffing the entire frame into a TCP packet. Each client is connected to a server (meeting room?) which coordinates the packets, sending them back and forth appropriately.

As impressive as it is impractical, the only area in which the project lacks is in audio. [Andy] suggests using Discord to solve that, but here’s hoping we see subtitles in version 2! Will AsciiZOOM be replacing our favorite videoconferencing suite any time soon? No. Are we glad it exists? You betcha.

source https://hackaday.com/2020/12/15/real-hackers-videoconference-in-terminal/

Remoticon Video: Intro to Modern Synthesis Using VCV Rack

Modular synthesizers, with their profusion of knobs and switches and their seemingly insatiable appetite for patch cables, are wonderful examples of over-complexity — the best kind of complexity, in our view. Play with a synthesizer long enough and you start thinking that any kind of sound is possible, limited only by your imagination in hooking up the various oscillators, filters, and envelope generators. And the aforementioned patch cables, of course, which are always in short supply.

Luckily, though, patch cables and the modules they connect can be virtualized, and in his 2020 Remoticon workshop, Jonathan Foote showed us all the ways VCV Rack can emulate modular synthesizers right on your computer’s desktop. The workshop focused on VCV Rack, where Eurorack-style synthesizer modules are graphically presented in a configurable rack and patched together just like physical synth modules would be.

John started out with a simple example using the most basic of synth modules: a voltage-controlled oscillator (VCO), a voltage-controlled filter (VCF), and an envelope generator. Along with a few housekeeping modules to drive the computer’s soundcard and to use the keyboard as, well, a keyboard, participants were able to quickly assemble their virtual synthesizers. More complex instruments can be built up from literally thousands of available modules — some free, some open source, and some premium modules available for a reasonable price.

Hats off to Jonathan for a great workshop and handling my off-the-cuff question about reproducing the “Sound of the 80s” question with aplomb. It turned out not to be possible with the stock VCV Rack modules, but it still reminded us a bit of the gated reverb drum sound of “In the Air Tonight” and other classics. Make sure you check out not only the video of the workshop but the workshop page too, which has all the details you need to get started with your own virtual synthesizer.

source https://hackaday.com/2020/12/15/remoticon-video-intro-to-modern-synthesis-using-vcv-rack/