128 LEDs, 5 Buttons, IR Comm, And A Few Hours: What Could You Create?

When the second band had played its last encore, before the legendary DJ took the stage, a cadre of hardware hackers climbed three steps with a twinkle in their eyes and glowing electronics in their hands. I’m surprised and relieved that the nugget of excitement that first led me to twiddle a byte in a microcontroller is still alive, and this moment — this crossroads of hacker family — stirred that molten hot center of adventure in everyone.

The badge hacking demoscene is a welcoming one. No blinking pixel is too simple, and no half-implemented idea falls short of impressing everyone because they prove the creativity, effort, and courage of each who got up to share their creation. How could we ever get together as a community and not do this?

It was after midnight before we began the demoparty. I somehow managed to come to the Hackaday | Belgrade conference without a USB webcam to use as a top-down camera. I also didn’t line up someone to record with a camera until minutes before. Please forgive our technical difficulties — we first tried to use a laptop webcam to project to the bigscreen. When that failed, focusing on the badges because tough for our ad-hoc camera operator. This video is a hack, but I think it’s worth looking past its tech problems.

The crowd gathered as close to the stage as possible and there was electricity in the audience as the wiles of the day were explained. Join me after the break for a brief rundown of each demo, along with a timestamp to find it in the video.

Continue reading “128 LEDs, 5 Buttons, IR Comm, And A Few Hours: What Could You Create?”

Hackaday Dictionary: Ultrasonic Communications

Say you’ve got a neat gadget you are building. You need to send data to it, but you want to keep it simple. You could add a WiFi interface, but that sucks up power. Bluetooth Low Energy uses less power, but it can get complicated, and it’s overkill if you are just looking to send a small amount of data. If your device has a microphone, there is another way that you might not have considered: ultrasonic communications. Continue reading “Hackaday Dictionary: Ultrasonic Communications”

Mrs. Penny’s Driving School — Hardware Workshop In Dallas

In case you haven’t noticed, the Hackaday community is making more of an effort to be a community AFK. We’re at VCF East this weekend, have the Hackaday World Create Day quickly approaching, Hackaday | Belgrade a few days ago, and Hackaday Toronto next week just to name a few in close proximity to this post.

As promised, or threatened, depending on which end of the stick you’re on I will be teaching an electronics class at the Dallas Makerspace every 3rd Saturday of the month. The goal of these classes is to help you overcome the barrier between a hardware idea and having that hardware in your hand. I’m not an expert in PCB design or layout, but I’ve found more ways to do it wrong than I’d probably admit too and this is my way of sharing what I’ve painfully learned through trial and error. At the time of writing this article there are still a few spots available in the first class, follow the above link for tickets.

Images of my failed hopes and dreams wonderfully captured courtesy of [Krissy Heishman]

Class 1

In our first 6 hour session we’ll take a basic, high-level idea and work our way down. For example: our first project will be an AVR development board. This is something common enough that everyone will know what it is (an Arduino is an AVR development board, just in case my mom is reading this). We won’t be making an Arduino clone part-for-part but taking the Arduino idea and making it our own custom board. Maybe we add some terminal blocks instead of DuPont headers or perhaps we want a real time clock and a slide potentiometer on the board. We can do that if we want, you can’t stop us.

So class number 1 is a crash course in Eagle schematic capture and PCB layout. Since this is only 6 hours worth of class time and we need to have boards and parts ordered when we leave we won’t be getting too complicated with our design.

Class 2

By the time we meet for our second session we should have taken delivery of our shiny new PCBs and our parts order should have long since been delivered from the distributor (Mouser is more or less an hour drive from the Dallas Makerspace, not that we’ll pick the parts up at will-call for this project, but it’s nice to have the option). We will spend the second 6 hour session assembling and testing our boards. If we need to make changes to our boards we can talk about that as a part of the design process. Depending on how long assembly takes we can brainstorm some ideas for the next round of Mrs. Penny’s Driving School classes which will continue the following 3rd Saturday of the month.

Flappy Bird On An… E-Cigarette?

Okay, now we’ve seen it all. Someone put the effort in to port Flappy Bird… to run on an e-cigarette. An eVic-VTC Mini to be precise. So now, between puffs, you can play one of the most frustrating games ever.

The SDK for the e-cig is available on GitHub, which was provided by a group of Redditors last year. If you’re interested in the game, and happen to have this model of e-cig, [Bank] has provided download and flashing instructions in the description of the YouTube video.

As one Reddit user points out:

“Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should.”

To which the creator, [Balázs Bank], responded with the download links to install it yourself. Has science gone too far?

Continue reading “Flappy Bird On An… E-Cigarette?”

Measuring Parts Badly For Accurate Reverse Engineering

Previous headquarters of Useful Thing Inc.
Previous headquarters of Useful Thing Inc. They made the best widget you could buy in the 80s.

Like most hackers, I’ve run into a part that looks like it might do what I want, but the only documentation came from a company so thoroughly defunct their corporate office is now a nail salon and a Subway.

So, as any hacker who’s wandered through a discount store with a spare twenty, at one point I bought a Chinese caliper. Sure it measures wrong when the battery is low, the temperature has changed, if I’ve held it in my hand too long, the moon is out, etc. but it was only twenty dollars. Either way, how do I get accurate measurements out of it? Well, half-wizardry and telling yourself educated lies.

There are two golden rules to getting accurate measurements by telling lies. It may be obvious to some, but it took me quite a bit of suffering to arrive at them.

  1. Engineers are lazy. So lazy. Most things are going to be even numbers, common fractions, and if possible standard sizes. If sheets and screws come in 2 and 3mm then you bet you’re going to see a lot of 2mm and 3mm features. Also, even though the metric world is supposedly pure, you’re still going to see more 0.25 (1/4) mm measurements than you are .333333 (1/3) mm measurements. Because some small fractions are easier to think about than decimals.
  2. Your eyes lie. If it matters, measure it to be sure.

Continue reading “Measuring Parts Badly For Accurate Reverse Engineering”

Poor Man’s Time Domain Reflectometer

A time domain reflectometer, or TDR, is an essential piece of test gear when working on long cables. The idea is simple: send a pulse down the cable and listen for the reflection from the far end. The catch is that pesky universal constant, the speed of light.

The reason the speed of light is an issue is that, in a traditional system, the pulse needs to be complete before the reflection. Also, time is resolution, so a 1 GHz sampling rate provides a resolution of about 10 centimeters. [Krampmeier] has a different design. He sends variable length pulses and measures the overlap between the outgoing and reflected pulses. The approach allows a much simpler design compared to the traditional method.

Continue reading “Poor Man’s Time Domain Reflectometer”

Weight Tracking, Wise Cracking IoT Bathroom Scale

For those fighting the battle of the bulge, the forced discipline of fitness bands and activity tracking software might not be enough motivation. Some who are slimming down need a little gentle encouragement to help you lose weight and keep it off. If that sounds like you, then by all means avoid building this weight-tracking IoT scale with an attitude.

Then again, if you live in fear of your scale, [Jamie Bailey]’s version is easy to hate, at least when your numbers are going in the wrong direction. Centered around a second-hand Wii Balance Board talking to a Raspberry Pi via Bluetooth, the scale really only captures your weight and sends it up to InitialState for tracking and feedback. Whether the feedback is in the form of jokes at your expense is, of course, is entirely up to you; if you’d rather get gentle nudges and daily affirmations, just edit a few files. Or if your tastes run more toward “Yo momma so fat” jokes, have at it.

Bathroom scales are a good hacking target, whether it’s reverse engineering a digital scale or eavesdropping on a smart scale. This build is snarky good fun, and if nothing else, it’s good for pranking your roommate. Unless your roommate is your husband or wife, of course. That’s just – no.