A Custom Keypad With Vision

A combination of cheap USB HID capable microcontrollers, the ability to buy individual mechanical keys online, and 3D printing has opened up a whole new world of purpose-built input devices. Occasionally these take the form of full keyboards, but more often than not they are small boards with six or so keys that are dedicated to specific tasks or occasionally a particular game or program. An easy and cheap project with tangible benefits to anyone who spends a decent amount of time sitting in front of the computer certainly sounds like a win to us.

But this build by [r0ckR2] takes the concept one step farther. Rather than just being a simple 3×3 keypad, his includes a small screen that shows the current assignments for each key. Not only does this look really cool on the desk (always important), but it also allows assigning multiple functions to each key. The screen enables the user to switch between different pages of key assignments, potentially allowing a different set of hot keys or macros for every piece of software they use.

The case is entirely 3D printed, as are the key caps. To keep things simple, [r0ckR2] didn’t bother to design a full enclosure, leaving all the electronics exposed on the back. Some might think it’s a little messy, but we appreciate the fact that it gives you easy access to the internals if you need to fix anything. Rubber feet were added to the bottom so it doesn’t slide around while in use, but otherwise the case is a pretty straightforward affair.

As for the electronics, [r0ckR2] went with an STM32 “Blue Pill” board, simply because it’s what he had on hand. The screen is a ST7735 1.44 inch SPI TFT, and the keys themselves are Cherry MX Red clones he got off of eBay. All in all, most of the gear came from his parts bins or else was only a couple bucks online.

If you’re looking for something a bit bigger, check out this gorgeous Arduino-powered version, or this far more utilitarian version. Both are almost entirely 3D printed, proving the technology is capable of more than making little boats.

[via /r/functionalprint]

Watch The Honeycomb Clock Gently Track Time

We love clocks here at Hackaday, and so does [John Whittington]. Last year he created this hexagonal honey clock (or “Honock”) by combining some RGB LEDs with a laser-cut frame to create a smooth time display that uses color and placement to display time with a simple and attractive system.

The outer ring of twelve hexagons is essentially the hour hand, similar to analog clock faces: twelve is up, three is directly to the right, six is straight down, and nine is to the left. The inner ring represents ten minutes per hex. Each time the inner ring fills, the next hex (hour) on the outer ring lights up. The whole display is flooded with a minute-long rainbow at noon and midnight. Watch it in action in the video, embedded below.

Continue reading “Watch The Honeycomb Clock Gently Track Time”

Their Battery Is Full Of Air

Storing electrical energy is a huge problem. A lot of gear we use every day use some form of battery and despite a few false starts at fuel cells, that isn’t likely to change any time soon. However, batteries or other forms of storage are important in many alternate energy schemes. Solar cells don’t produce when it is dark. Windmills only produce when the wind blows. So you need a way to store excess energy to use for the periods when you aren’t creating electricity. [Kris De Decker] has an interesting proposal: store energy using compressed air.

Compressed air storage is not a new idea. On a large scale, there have been examples of air compressed in underground caverns and then released to run a turbine at a future date. However, the efficiency of this is poor — around 40 to 50 percent — mainly because the air heats up during compression and often needs to be prewarmed (using energy from another source) prior to decompression to prevent freezing. By comparison, batteries can be 70 to 90 percent efficient, although they have their own problems, too.

The idea explored in this paper is not to try to store a power plant’s worth of energy in a giant underground cavern, but rather use smaller compressed air setups like you would use batteries to store power at the point of consumption. The technology is called micro-CAES (an acronym for compressed air energy storage).

Continue reading “Their Battery Is Full Of Air”

Hackaday Belgrade Is On: Join LiveStream And Chat!

Good morning Hackaday universe! Hackaday Belgrade 2018 has just started, and we’re knee-deep in sharing, explaining, and generally celebrating our craft. But just because you’re not here doesn’t mean that you shouldn’t take part.

Come join us!

Wireless Charger Gives A Glimpse Into Industrial Design Process

Almost every product on the market has been through the hands of an industrial designer at some point in its development. From the phone in your pocket to the car in your driveway or the vacuum in your closet, the way things look and work is the result of a careful design process. Taking a look inside that process, like with this wireless phone charger concept, is fascinating and can yield really valuable design insights.

We’ve featured lots of [Eric Strebel]’s work before, mainly for the great fabrication tips and tricks he offers, like how to get a fine painted finish or the many uses of Bondo. But this time around, he walks us through a condensed version of his design process for a wireless phone charger and stand. His client had specific requirements, like being able to have the phone held up in landscape or portrait mode, so he started with pen and paper and sketched some ideas. A swiveling cylinder seemed to fit the bill, and after a quick mockup in PVC pipe, he started work on a full-size prototype in urethane foam. There are some great fabrication tips in the video below, mainly centered on dealing with not owning a lathe.

The thing for us with all of [Eric]’s videos, but especially this one, is seeing the design process laid out, from beginning to (almost) the end. He sure makes industrial design look like a cool gig, one that would appeal to the Jacks- and Jills-of-all-trades who hang out around here.

Continue reading “Wireless Charger Gives A Glimpse Into Industrial Design Process”

This Robot Barfs Comics!

If there’s one thing that’s more fun than a comic, it’s a randomly generated comic. Well, perhaps that’s not true, but Reddit user [cadinb] wrote some software to generate a random comic strip and then built a robot case for it. Push a button on the robot and you’re presented with a randomly generated comic strip from the robot’s mouth.

The software that [cadinb] wrote is in Processing, an open source programming language and “sketchbook” for learning to code if you’re coming from a visual arts background. The Processing code determines how the images are cropped and placed and what kind of background they get. Each image is hand drawn by [cadinb] and has information associated with it so the code knows what the main focus of the image is. Once the panels are created, the final image is passed on to a thermal printer for printing. Everything is controlled from a Python script running on a Raspberry Pi and the code, strip artwork, and case is all available online to check out.

Now that the comic can print, a case is needed for the printer and controls. [cadinb] designed a case in Illustrator after creating a prototype out of foam core. The design was laser cut and then coloured – the main body with fabric dye and the arms stained with coffee!

Now [cadinb] has a robot that can sit on his table at conventions and a fan can press a button and have a randomly generated comic strip printed out before their eyes! We have a neat article about printing a comic on a strand of hair, and one about bringing the Banana Jr. 6000 to life!

Continue reading “This Robot Barfs Comics!”

USB Reverse Engineering: A Universal Guide

Every hacker knows what it is to venture down a rabbit hole. Whether it lasts an afternoon, a month, or decades, finding a new niche topic and exploring where it leads is a familiar experience for Hackaday readers.

[Glenn ‘devalias’ Grant] is a self-proclaimed regular rabbit hole diver and is conscious that, between forays into specific topics, short-term knowledge and state of mind can be lost. This time, whilst exploring reverse engineering USB devices, [Glenn] captured the best resources, information and tools – for his future self as well as others.

His guide is impressively comprehensive, and covers all the necessary areas in hardware and software. After formally defining a USB system, [Glenn] refers us to [LinuxVoice], for a nifty tutorial on writing a linux USB driver for an RC car, in Python. Moving on to hardware, a number of open-source and commercial options are discussed, including GoodFET, FaceDancer, and Daisho – an FPGA based monitoring tool for analysing USB 3.0, HDMI and Gigabit Ethernet. If you only need to sniff low speed USB, here’s a beautifully small packet snooper from last year’s Hackaday prize.

This is a guide which is well-informed, clearly structured, and includes TL;DR sections in the perfect places. It gives due credit to LibUSB and PyUSB, and even includes resources for USB over IP.

If you’re worried about USB hacks like BadUSB, perhaps you should checkout GoodUSB – a hardware firewall for USB devices.

Header image: Ed g2s (CC-SA 3.0).