SAINTCON Badge (Badge Hacking For Mortals)

[Josh] attended his first SAINTCON this weekend before last and had a great time participating in the badge hacking challenge.

The 2014 SAINTCON is only the second time that the conference has been open to the public. They give out conference badges which are just an unpopulated circuit board. This makes a lot of sense if you figure the number of people who actually hack their badges at conferences is fairly low. So he headed off to the hardware hacking village to solder on the components by hand — it’s an Arduino clone.

This is merely the start of the puzzle. We really like that the published badge resources include a crash course on how to read a schematic. The faq also attests that the staff won’t solder it for you and to get your microcontroller you have to trade in your security screw (nice touch). Once up and running you need to pull up the terminal on the chip and solve the puzzles in the firmware’s menu system. This continues with added hardware for each round: an IR receiver, thermistor, EEPROM, great stuff if you’re new to microcontrollers.

[Josh] mentions that this is nothing compared to the DEFCON badge. Badge hacking at DEFCON is **HARD**; and that’s good. It’s in the top-tier of security conferences and people who start the badge-solving journey expect the challenge. But if you’re not ready for that level of puzzle, DEFCON does have other activities like Darknet. That is somewhere in the same ballpark as the SAINTCON badge — much more friendly to those just beginning to developing their crypto and hardware hacking prowess. After all, everyone’s a beginner at some point. If that’s you quit making excuses and dig into something fun like this!

Arduino Pumpkin

8×8 LED Arrays Make For One Creepy Animated Pumpkin

[Michal Janyst] wrote in to tell us about a little project he made for his nephew in preparation for Halloween – a jack-o-lantern with facial expressions.

Pumpkin Eyes uses two MAX7219 LED arrays, an Arduino nano, and a USB power supply. Yeah, it’s pretty simple — but after watching the video you’ll probably want to make one too. It’s just so cute! Or creepy. We can’t decide. He’s also thrown up the code on GitHub for those interested.

Of course, if you want a bit more of an advanced project you could make a Tetris jack-o-lantern, featuring a whopping 8×16 array of LEDs embedded directly into the pumpkin… or if you’re a Halloween purist and believe electronics have no place in a pumpkin, the least you could do is make your jack-o-lantern breath fire.

Continue reading “8×8 LED Arrays Make For One Creepy Animated Pumpkin”

Walkman-esque Human Interface Device

Cheap keyboards never come with extra buttons, and for [Pengu MC] this was simply unacceptable. Rather than go out and buy a nice keyboard, a microcontroller was found in the parts drawer and put to work building this USB multimedia button human interface device that has the added bonus of looking like an old-school Walkman.

The functions that [Pengu MC] wants don’t require their own drivers. All of the buttons on this device are part of the USB standard for keyboards: reverse, forward, play/pause, and volume. This simplifies the software side quite a bit, but [Pengu MC] still wrote his own HID descriptors, tied all of the buttons to the microcontroller, and put it in a custom-printed enclosure.

If you’re looking to build your own similar device, the Arduino Leonardo, Micro, or Due have this functionality built in, since the USB controller is integrated on the chip with everything else. Some of the older Arduinos can be programmed to do the same thing as well! And, with any of these projects, you can emulate any keypress that is available, not just the multimedia buttons.

Now Let’s See The World’s Largest Arduino

A few days ago we saw what would have been a killer Kickstarter a few years ago. It was the smallest conceivable ATtiny85 microcontroller board, with resistors, diodes, a USB connector, and eight pins for plugging into a breadboard. It’s a shame this design wasn’t around for the great Arduino Minification of Kickstarter in late 2011; it would have easily netted a few hundred thousand dollars, a TED talk, and a TechCrunch biopic.

[AtomSoftTech] has thrown his gauntlet down and created an even smaller ‘tiny85 board. it measures 0.4in by 0.3in, including the passives, reset switch, and USB connector. To put that in perspective, the PDIP package of the ‘tiny85 measures 0.4 x 0.4. How is [Atom] getting away with this? Cheating, splitting the circuit onto two stacked boards, or knowing the right components, depending on how you look at it.

USB [Atom] is using a few interesting components in this build. The USB connector is a surface mount vertical part, making the USB cord stick out the top of this uC board. The reset button is extremely small as well, sticking out of the interior layer of the PCB sandwich.

[AtomSoft] has the project up on OSH Park ($1.55 for three. How cool is that?), and we assume he’ll be selling the official World’s Smallest Arduino-compatible board at Tindie in time.

Android Flip Dot Display

Controlling A Flip-Disc Display Using Android

There’s just something about electro-mechanical displays that enthralls most people when they see them; and while you’ll be hard pressed to find a split-flap display for cheap, you can still easily buy flip-disc displays! That’s what [Scott] did, and he’s been having a blast messing around with his and building a system to control it via his Android phone.

He picked up the display from a company called Alfa-Zeta in Poland, a company that’s been making electromagnetic displays since 1988. No mention of price, but it looks like some pretty awesome hardware. The beauty with electromagnetic displays is they don’t consume any electricity in idle state, making them far more efficient than almost any other display technology – not to mention perfect contrast in any lighting conditions!

They work by using permanent magnets, electromagnets, and a material that can retain magnetization. A short pulse to the electromagnet causes the disc to flip into the second position, which will then hold in place due to the permanent magnet — no more electromagnet needed.

The display comes with all the necessary hardware to drive the electromagnets and interface with a microcontroller. But, it uses the RS-485 standard, which isn’t natively supported by most other microcontrollers. [Scott’s] using an Arduino which does have an RS-485 shield, but he decided he wanted to challenge himself and build a circuit to drive them himself!

All the info is on his blog if you’re looking to try something similar. Once he had it interfaced with the Arduino it was just a simple matter of writing an Android app to transmit controls over Bluetooth for the display. Take a look:

Continue reading “Controlling A Flip-Disc Display Using Android”

A Single Pixel, Color Digital Camera

[Ben] has written all sorts of code and algorithms to filter, sort, and convolute images, and also a few gadgets that were meant to be photographed. One project that hasn’t added a notch to his soldering iron was a camera. The easiest way to go about resolving this problem would be to find some cardboard and duct tape and built a pinhole camera. [Ben] wanted a digital camera. Not any digital camera, but a color digital camera, and didn’t want to deal with pixel arrays or lenses. Impossible, you say? Not when you have a bunch of integral transforms in your tool belt.

[Ben] is only using a single light sensor that outputs RGB values for his camera – no lenses are found anywhere. If, however, you scan a scene multiple times with this sensor, each time blocking a portion of the sensor’s field of view, you could reconstruct a rudimentary, low-resolution image from just a single light sensor. If you scan and rotate this ‘blocking arm’ across the sensor’s field of view, reconstructing the image is called a Radon transform, something [Ben] has used a few times in his studies.

camera [Ben]’s camera consists of the Adafruit RGB light sensor, an Arduino, a microSD card, a few servos, and a bunch of printed parts. The servos are used to scan and rotate the ‘blocking arm’ across the sensor for each image. The output of the sensor is saved to the SD card and moved over to the computer for post-processing.

After getting all the pixel data to his laptop, [Ben] plotted the raw data. The first few pictures were of a point source of light – a lamp in his workspace. This resulted in exactly what he expected, a wave-like line on an otherwise blank field. The resulting transformation kinda looked like the reference picture, but for better results, [Ben] turned his camera to more natural scenes. Pointing his single pixel camera out the window resulted in an image that looked like it was taken underwater, through a piece of glass smeared with Vaseline. Still, it worked remarkably well for a single pixel camera. Taking his camera to the great outdoors provided an even better reconstructed scene, due in no small part to the great landscapes [Ben] has access to.

3D Printing Goes Hand In Hand With Iron Man Inspired Prosthetic

It’s exciting how much 3D printing has enabled us to produce pretty much any shape for any purpose on the fly. Among the most thoughtful uses for the technology that we’ve seen are the many functioning and often beautiful prosthetics that not only succeed in restoring the use of a limb, but also deliver an air of style and self-expression to the wearer. The immediate nature of the technology allows for models to be designed and produced rapidly at a low-cost, which works excellently for growing children. [Pat Starace’s] Iron Man inspired 3D printed hand and forearm are a perfect example of such personality and expert engineering… with an added dash of hacker flair.

With over twenty years of experience in animatronics behind him, [Starace] expertly concealed all of the mechanical ligaments within the design of his arm, producing a streamline limb with all the nuance of lifelike gesture. It was important that the piece not only work, but give the wearer that appropriate super hero-like feeling while wearing it. He achieves this with all the bells and whistles hidden within the negative space of the forearm, which give the wearer an armory of tricks up their sleeve. Concealed in the plating, [Starace] uses an Arduino and accelerometer to animate different sets of LEDs as triggered by the hand’s position coupled with specific voice commands. Depending on what angle the wrist is bent at, the fingers will either curl into a fist and reveal hidden ‘lasers’ on the back of the hand, or spread open around a pulsing circle of light on the palm when thrust outward.

The project took [Starace] quite a bit of time to print all the individual parts; around two days worth of time. This however is still considered quick in comparison to the custom outfitting and production of traditional prosthetics… not to mention, the traditional stuff wouldn’t have LEDs. This piece has a noble cause, and is an exciting example of how 3D printing is adding a level of heroism to everyday life.

Thank you Julius for pointing out this awesome project to us!

Continue reading “3D Printing Goes Hand In Hand With Iron Man Inspired Prosthetic”