Posts with «arduino pro micro» label

Open Source Stream Deck Does it Without Touch Screens

[Adam Welch] has built macro pads in the past out of pre-fab key matrices and handfuls of Cherry MX clones. But all the stickers and custom keycaps in the world wouldn’t make those macro pads as versatile as a stream deck — those visual shortcut panels with tiny touchscreens for each button that some streamers use to change A/V settings or switch between applications.

Let’s face it, stream decks are expensive. But 0.96″ OLED displays are not, and neither are SMD tactile buttons. Why not imitate a screen deck on the cheap by making it so the screens actuate buttons behind them? [Adam] based this baby on the clever design of [Kilian Gosewisch]’s FreeDeck, and they ended up working together to improve it with a dedicated PCB.

The brains of the operation is an Arduino Pro Micro, which addresses each screen individually via two 74HC4051 mux ICs. Thanks to an SD card module, there’s no need to flash the ‘duino every time you want to change a shortcut or its picture. Even if this deck doesn’t hold up forever, it won’t break the bank to build another one. Poke past the break for the build video, which has all the links you’d need to make your own, including a handy configurator.

There’s more than one way to do a visual macro pad. Here’s one that uses a single screen and splits it Brady Bunch style to match the matrix.

Thanks for the tip, [arturo182]!

Switch Tester Servo-Slaps Them ’til they Fail

[James] is designing an open-source 3D printed keyboard switch, with the end goal of building a keyboard with as many printed parts as possible. Since keyswitches are meant to be pressed quite often, the DIY switches ought to be tested just as rigorously as their commercial counterparts are at the factory. Maybe even more so.

The broken spring after 13,000+ automated boings.

Rather than wear out his fingers with millions of actuations, [James] built a robot to test switches until they fail. All he has to do is plug a switch in, and the servo-driven finger slowly presses the slider down until the contacts close, which lights the LED.

The system waits 100ms for the contacts to stop any tiny vibrations before releasing the slider. That Arduino on the side tracks the contact and release points and sends them to the PC to be graphed. If the switch fails to actuate or release, the tester stops altogether.

We love that this auto-tester works just fine for commercial switches, too — the bit that holds the switch is separate and attaches with screws, so you could have one for every footprint variant. [James] recently did his first test of a printed switch and it survived an astonishing 13,907 presses before the printed coil spring snapped.

One could argue that this doubles as a servo tester. If you want a dedicated device for that, this one can test up to sixteen at a time.

Via @Microchip_Makes

Software Shortcut Keyboard Registers Many Macros

[FabroLabs Technologies] is an industrial designer who uses several creative-type software programs in a given day. Unfortunately, they all have slightly different shortcut schemes, and trying to remember all the different modifiers is a waste of time better spent elsewhere.

This lovely little macro keyboard is every bit as useful as it is cool looking. Spinning the rotary encoder cycles through a menu of programs on the 16×2 LCD, and the key map just updates automatically for the chosen program. At the heart of this build is an Arduino Pro Micro and 20 of the loudest key switches ever made — Cherry MX blues. We like that it manages to look like toy cash register and a serious peripheral all at once — it probably has something to do with those way-cool circular keycaps that were made on a resin printer.

We’re glad that [FabroLabs] laid down such a comprehensive and open build guide during the process of making this macro keyboard. The average hacker can learn a lot from industrial designers who show their work. Remember the time [Eric Strebel] showed us all how to improve our foam board design game?

Custom Tibia Keyboard For a Leg Up In the Game

[Elite Worm] wrote in to tell us about a cool little keyboard designed to make playing a certain game a whole lot easier. One of the ways you can move your character is with the numpad in directional mode plus Control and Shift, but those are too far apart to drive blindly with one hand. This is all the motivation [Elite Worm] needed to build a custom keyboard with only the essentials.

The keyboard is controlled by an Arduino Pro Micro, which is fairly standard for this type of build — it’s usually that or a Teensy. [Elite Worm] used Cherry MX browns for a nice tactile feel, and added LEDs for a purple-white under-glow. We love the way the printed keycaps turned out, and are impressed because tolerances are notoriously tight for those fruity switch stems.

Starting to think of a few uses for a small custom keypad? This thing is wide open, and [Elite Worm] will even send you the PCB files if you ask nicely. See if you can get past the break without your mouse, and check out the build video while you wait.

Want more flexibility? Just use more switches!

An Arduino Pro Micro With USB-C

USB-C versus USB Micro connectors are turning into one of the holy wars of our time. Rather than be left on the wrong side of the divide [Stefan S] has come up with his own USB-C version of of an Arduino Pro Micro to avoid having to always find a different cable.

Home made Arduinos come in all shapes and sizes from the conventional to the adventurous, and from the pictures it seems that this one is firmly in the former camp. The USB-C is present in connector form alone as the device is only capable of talking at the much slower speed of the ATMEGA32U4 processor, but having the newer connector should at least make cabling more accessible.

This is one of the most practical Arduino clones we’ve ever seen, but one of our other favourites is also a bit impractical.

Arduino Keyboard is Gorgeous Inside and Out

While the vast majority of us are content to plod along with the squishy chiclet keyboards on our laptops, or the cheapest USB membrane keyboard we could find on Amazon, there’s a special breed out there who demand something more. To them, nothing beats a good old-fashioned mechanical keyboard, where each key-press sounds like a footfall of Zeus himself. They are truly the “Chad” of the input device world.

But what if even the most high end of mechanical keyboards doesn’t quench your thirst for spring-loaded perfection? In that case, the only thing left to do is design and build your own. [Matthew Cordier] recently unveiled the custom mechanical keyboard he’s been working on, and to say it’s an elegant piece of engineering is something of an understatement. It may even better inside than it does on the outside.

The keyboard, which he is calling z.48, is based around the Arduino Pro Micro running a firmware generated on kbfirmware.com, and features some absolutely fantastic hand-wiring. No PCBs here, just a rainbow assortment of wire and the patience of a Buddhist monk. The particularly attentive reader may notice that [Matthew] used his soldering iron to melt away the insulation on his wires where they meet up with the keys, giving the final wiring job a very clean look.

Speaking of the keys, they are Gateron switches with DSA Hana caps. If none of those words mean anything to you, don’t worry. We’re through the Looking Glass and into the world of the keyboard aficionado now.

Finally, the case itself is printed on a CR-10 with a 0.3 mm nozzle and 0.2 mm layers giving it a very fine finish. At 70% infill, we imagine it’s got a good deal of heft as well. [Matthew] mentions that a production case and a PCB are in the cards for the future as he hopes to do a small commercial run of these boards. In the meantime we can all bask in the glory of what passes for a prototype in his world.

We’ve seen some exceptionally impressive mechanical keyboards over the years, including the occasional oddity like the fully 3D printed one and even one that inexplicably moves around. But this build by [Matthew] has to be one of the most elegant we’ve ever come across.

[Thanks to DarkSim905 for the tip]

This device converts gestures into keystrokes

Engineering student Federico Terzi has built an impressive computer interface device reminiscent of a Wiimote.

When talking in person,  you can express meaning using facial expressions, and your hands. Usually this acts to add emphasis to a statement or perhaps to point out a certain object, but what if you could actually type letters based on how your hands move?

Terzi’s aptly named “Gesture Keyboard” does just this, using an Arduino Pro Micro, an MPU-6050 accelerometer, and an HC-06 Bluetooth module for sending signals to his laptop. A Python library using Scikit-learn’s SVM (Support Vector Machine) algorithm then translates the motion readings into characters that appear on the screen.

You can find the code and more information on Terzi’s GitHub page.

Turn an old mixer into a MIDI input fader with Arduino

Using an Arduino as an HID, Evan Kale turned a “gently used” analog mixer into a computer interface.

Older audio equipment may not have the interfaces that you need to make totally electronic music, but they can be very well-built, so are perhaps worth salvaging. In the video below, Kale salvages potentiometers from an old mixer, then hooks them up to a Pro Micro. This allows the Arduino to take these 12 inputs, and output them as a USB MIDI signal.

Along the way, Kale points out a few very important hacking tricks, including that the library may have a printer ready for you to use, and that analog slider pots many times are logarithmic (or close to it) and need to be calibrated. Also, around 5:25 he introduces viewers to analog multiplexers which can give you eight analog inputs at the cost of three digital and one analog pin.

You can check out more of Kale’s Arduino-based hacks on his YouTube channel here!

A VR “glove” inspired by Ender’s Game

To complement his VR experience, Florian Mauer built a controller that could perhaps best be described as a “hand bracelet.”

As virtual reality applications begin to be implemented, one challenge will be finding an interface device, or combination of them that are unobtrusive, yet allow for versatile input. Mauer decided on a design inspired by the gravity control bracelet from the movie “Ender’s Game.” It can be worn similar to how a pistol is held (illustrated here with a virtual pistol), and reportedly doesn’t get in the way when using a keyboard or mouse–at least before the button was added.

The 3D-printed gadget features an IMU, Arduino Pro Micro, as well as a couple buttons for in-game actions. This helps the Leap Motion controller used here to recognize gestures that would be difficult for its camera to pick up otherwise.

In the 2013 adaptation of Ender’s Game, Harrison Ford’s character slips a metallic device over his hand to control gravity in the training room. This scene inspired me as I’ve been trying to imagine VR controllers that can be used alongside mouse+keyboards. The controller used by Ford seemed convenient to put on, offer a lot of finger freedom, and probably allow for throwing VR objects without falling off.

You can see more information on this promising project on Mauer’s website here.

A multimeter heads-up display with Arduino glasses

With Alain Mauer’s Arduino glasses and a Bluetooth multimeter, electrical data is always in view!

If you’re in a job where you have to take readings inside a live electrical panel, one thing that’s inconvenient, and even dangerous at times, is having to look away from your hands to read your multimeter. With hopes of “making an engineer’s life easier and safer,” Mauer solved this problem using an Arduino Pro Micro and a BLE module to show data from a Bluetooth-enabled multimeter. Now he can see data on a display that looks similar to a Google Glass device. Perhaps this method could be expanded to other devices in the future!

If you’d like to build your own glasses, a description and 3D printing files can be found on Hackaday.io.