Hands-On: AND!XOR Unofficial DC28 Badge Embraces The Acrylic Stackup

Still hot from the solder party, a new AND!XOR badge just landed on my desk courtesy of the hacking crew that has been living the #badgelife for the past five years. Originally based on the Futurama character Bender, the design has morphed to the point that it’s no longer recognizable as a descendant of that belligerent robot. Instead we have a skeletal midget whose face is half covered by a gear-themed mask.

Continue reading “Hands-On: AND!XOR Unofficial DC28 Badge Embraces The Acrylic Stackup”

Perfect Your Beer Pong Game With The PongMate CyberCannon Mark III

[Grant] was inspired to help his party guests improve their beer pong game. What he created is a fairly impressive contraption, sure to make him unstoppable in his next bout.

The device uses a gyroscope and a time-of-flight sensor to calculate the optimum trajectory for the ping pong ball. The user is guided to the correct launching position using two bubble levels and a series of indicator LEDs that turn green when the optimal position is reached.

The launching mechanism uses a servo motor to push the ball into the circular wheel machine which then propels the ping pong ball to its target. The circular wheel machine is powered by two DC motors whose speeds are determined by the distance from the target. [Grant] calibrated the DC motor speed to the distance from the target and found a pretty reproducible relationship favoring a cube root function. You can see his calibration data on his Instructable page as well as a cool demo video showing how the device automatically adjusts motor speed to distance from the target.

We should combine the PongMate with the Auto-Bartender we wrote about a few weeks ago. What are your favorite beverage hacks? Please share in the comments below.

Continue reading “Perfect Your Beer Pong Game With The PongMate CyberCannon Mark III”

Optimizing GIF Playback For Microcontrollers

Despite being cooked up by Compuserve back in the late 1980s, GIFs have seen a resurgence on the modern internet, mostly because they’re fun. However, all our small embedded systems are getting color screens these days, and they’d love to join in the party. [Larry Bank] has whipped up a solution for just that reason, letting embedded systems play back short animated GIFs with limited resources.

[Larry] does a great job of explaining how the GIF format works, using LZW compression and variable-length codes. He talks about how the design of the format presents challenges, particularly when working with microcontrollers. Despite this, the final code works well, and is able to work with most animated GIFs of the right dimensions and construction. 24K of RAM is required, and image width is limited to 320 pixels. Images can be loaded from flash, memory, or SD cards, and he notes that best performance is gained with a microcontroller with fast SPI for writing to screens quickly.

It’s a great piece of software that promises to add a lot of charm, or silliness, to microcontroller projects. It also simplifies the use of animations, which can now be designed on computers rather than by using onboard graphics libraries. GIF really is the format that never seems to die; we’ve featured cameras dedicated to the form before. Video after the break.

Continue reading “Optimizing GIF Playback For Microcontrollers”

Rotary Dialer Becomes Numeric Keypad

Many laptops eschew the numeric keypad to free up space, and some desktop keyboards have taken on the trend, too. If you want a specialised numeric entry device and have absolutely no interest in speed or ease of use, [jp3141] has just the build for you.

The idea is to use the rotary dial from an old telephone to enter numbers into a computer. It’s slow and cumbersome, but it’s also pretty entertaining. The build uses an old AT&T Trimline dialer, though we’re sure most rotary phones would work. The pulses produced by the dialer are counted by a Teensy microcontroller, which emulates a USB HID keyboard device and enters the relevant keystroke into the computer. There’s also a USB serial interface for debugging, and an LED which flashes along with the pulses from the dialer circuit.

While it’s not the most efficient data entry method, it’s a semi-useful way to repurpose an old phone, and an amusing piece to take along to your next LAN party. We’ve featured a few… alternative… keyboards before, too. If you’ve cooked up a truly convoluted input device for your computer, be sure to let us know.

Ask Hackaday: Why Did GitHub Ship All Our Software Off To The Arctic?

If you’ve logged onto GitHub recently and you’re an active user, you might have noticed a new badge on your profile: “Arctic Code Vault Contributor”. Sounds pretty awesome right? But whose code got archived in this vault, how is it being stored, and what’s the point?

Continue reading “Ask Hackaday: Why Did GitHub Ship All Our Software Off To The Arctic?”

Linux Fu: Keep In Sync

Once upon a time, computers were very expensive and you were lucky to have shared access to one computer. While that might seem to be a problem, it did have one big advantage: all of your files were on that computer.

Today, we all probably have at least a desktop and one laptop. Your phone is probably a pretty good computer by most standards. You might have multiple computers and a smattering of tablets. So what do you do to keep your files accessible everywhere? Why not run your own peer-to-peer synchronization service? Your files are always under your control and encrypted in motion. There’s no central point of failure. You can do it with one very slick piece of Open Source software called syncthing. It runs on Windows, Linux, Mac, BSD, and Solaris. There are also Android clients. We haven’t tested it, but one caveat is that the unofficial iOS support sounds a little spotty.

The joke about the cloud — that it’s just other people’s servers — is on point here. Some people don’t like their files sitting on a third-party server. Even if your files are encrypted or you don’t care, you still have the problem of what happens if you can’t reach the server — may be on an airplane with no WiFi — or the server goes down. Sure, Google and Microsoft don’t go dark very often, but they can and do. Even if you build your own cloud, it runs on your servers. Syncthing is serverless: it simply makes sure that all files are up-to-date on all your end devices. Continue reading “Linux Fu: Keep In Sync”

Ljusmaskinen Takes The Rave To The Streets (Eventually)

When humanity comes out the other side of this pandemic there will be a mountain of awesome projects to show off in person. For instance, this backpack mounted DMX lighting was built to be worn as a mobile rave rig by Swedish hacker [Tim Gremalm]. In-person raves aren’t happening right now but that just means there’s time to add waaaaay to many features to this thing until lockdowns become a thing of the past.

The frame holding the lighting integrates into this backpack and we assume that’s where the battery is stored. The Y-shaped masts hold four PAR lights. Incidentally, that mean parabolic aluminized reflectors, which are commonly used for stage lighting, but in this case the halogen bulbs have been torn out for a trio of 4 W RGBW LEDs. The yellow rectangles are 10 W Chip-on-Board LED panels that serve as strobe lights.

But merely having the lights does not make it a Rave — this party needs both music and a way to synchronize the lighting effects with it. The music part was already built and used at the West Pride Gothenburg festival (the second largest in Sweden after Stockholm) five years ago. That project, called Festmaskinen, works in conjunction with Ljusmaskinen (the Light Machine). So two people carry the rave on their backs, one with music, the other with the lighting, now that’s a party!

The light controller board uses a set of four Arduino Nano boards along with four voltage regulators to provide control to each of the PAR lights. All of it is stitched together by control from a DMX input board which also controls the COBs. (In this image the DMX board is hidden below the light control board.) Of course you need something that can process the audio and turn it into DMX512 to bring those lighting animations to life and for that he reached for a Raspberry Pi.

[Tim] has a quick demo of the rig at work which we’ve embedded below. What we’re missing is seeing how the top-heavy structure handles when worn as a backpack. Hopefully he’ll be able to get out of his low-ceilinged home and let the stage lights fly before too long!