Driving 16 WS2812B Strips With GPIOs And DMA

[Martin Hubáček] wrote in with his WS2812 LED library for the STM32F3 series processors. [Martin]’s library takes the same approach as [Paul Stoffregen]’s OctoWS2811 for the Teensy, and [Erich Styger]’s for the Freescale FRDM-K64F board. That is, it uses three DMA channels to get the signal out as fast as possible.

Continue reading “Driving 16 WS2812B Strips With GPIOs And DMA”

How To Become Part Of An IoT Botnet

We should all be familiar with the so-called Internet Of Things, a proliferation of Internet-connected embedded electronics. The opportunities offered to hardware hackers by these technologies have been immense, but we should also be aware of some of the security issues surrounding them.

Recently, the website of the well-known security researcher [Brian Krebs] suffered a DDoS attack. What made this attack different from previous ones wasn’t its severity, but that it had been directed not from botnets of malware-laced Windows PCs but from compromised IoT devices.

One might ask how it could be possible to take control of such low-end embedded hardware, seeing as it would normally be safely behind a firewall, preloaded with its own firmware, and without a clueless human at its terminal to open malware-laden email attachments. The answer is quite shocking but not entirely surprising, and lies in some astonishingly poor security on the part of the devices themselves. An exposé of one such mechanism comes courtesy of [Brian Butterly], who took an unremarkable IP webcam and documented its security flaws.

The camera he examined exposes two services, a web interface and a Telnet port. While from a security perspective their lack of encryption is a concern this should not pose a significant danger when the device is safely on a private network and behind a suitable firewall. The problem comes from its ability to send its pictures over the Internet, for the owner to be able to check their camera from their phone some kind of outside access is required. Expensive cameras use a cloud-based web service for this task, but the cheap ones like the camera being examined simply open a port to the outside world.

If you are familiar with basic firewall set-up, you’ll be used to the idea that open ports are something that should be under control of the firewall owner; if a port has not been specifically opened then it should remain closed. How then can the camera open a port? The answer lies with UPnP, a protocol enabled by default on most home routers that allows a device to request an open port. In simple terms, the camera has an inherently insecure service which it asks the router to expose to the world, and in many cases the router meekly complies without its owner being any the wiser. We suspect that many of you who have not done so already will now be taking a look at your home router to curtail its UPnP activities.

We covered the [Brian Krebs] DDoS story  as it unfolded last week, but we’re sure this is likely to be only the first of many stories in this vein. As manufacturers of appliances struggle to learn that they are no longer in the dumb appliance business they need to start taking their software security very seriously indeed.

Webcam image: Asim18 (Own work) [CC BY-SA 3.0], via Wikimedia Commons.

Hackaday Prize Entry: Head-up For High Voltage

[Alain Mauer] wanted to build something like a Google Glass setup using a small OLED screen. A 0.96 inch display was too large, but a 0.66 inch one worked well. Combining an Arduino, a Bluetooth module, and battery, and some optics, he built glasses that will show the readout from a multimeter.

You’d think it was simple to pull this off, but it isn’t for a few reasons as [Alain] discovered. The device cost about 70 Euro and you can see a video of the result, below.

Continue reading “Hackaday Prize Entry: Head-up For High Voltage”

LED Bulb-shade Cityscapes

Cost-effective LED lighting for your home has opened up many doors for more efficient living, but also some more creative illumination for your living space. If you want to bring the dazzle of city lights right into your home, [David Grass] has two projects to sate this desire in perhaps the most literal way possible: Huddle and Stalaclights.

These clever, 3D printed bulbshades are possible since LEDs emit very little heat, and can be printed in a variety of designs. Huddle is named for — and illustrates — humanity’s coalescing into cities as the centre of modern life from which most of our information and technology emits. Stalaclights offers an inverted perspective on the straining heights of skyscrapers and is inspired by the Art Deco era and the expansion of cities like New York and Chicago.

Continue reading “LED Bulb-shade Cityscapes”

Fashion Mannequin Is Fiberglass Reinforced Paper Craft

[Leah and Ailee] run their own handmade clothing business and needed a mannequin to drape their creations onto for display and photography. Since ready-made busts are quite pricey and also didn’t really suit their style, [Leah] set out to make her own mannequins by cleverly combining paper craft techniques and fiberglass.

Continue reading “Fashion Mannequin Is Fiberglass Reinforced Paper Craft”

Tiny Smoothies At Maker Faire

For almost the last decade, desktop 3D printing has, at its heart, been centered around 8-bit microcontrollers. The ATmegas and other Atmel chips are good enough to move a few steppers and squirt some plastic. With faster processors, you get smoother acceleration, leading to better prints. Modern ARM devices have a lot of peripherals, allowing for onboard WiFi and Ethernet connectivity. The future is 32-bit print controllers.

Right now there are a few 32-bit controllers, from the very weird, out-of-nowhere controller for the Monoprice Mini 3D printer to the more traditional SmoothieBoard. Only one of these boards has the open hardware cred for a proper 3D printer controller, and a this year’s Maker Faire, Cohesion3D introduced a few machine control boards built on top of Smoothie that add a few interesting features and techniques.

Continue reading “Tiny Smoothies At Maker Faire”

Basement 3D Printer Builds Are Too Easy. Try Building One On Mars.

[Tony Stark Elon Musk] envisions us sending one million people to Mars in your lifetime. Put aside the huge number or challenges in that goal — we’re going to need a lot of places to live. That’s a much harder problem than colonization where mature trees were already standing, begging to become planks in your one-room hut. Nope, we need to build with what’s already up there, and preferably in a way that prepares structures before their inhabitants arrive. NASA is on it, and by on it, we mean they need you to figure it out as part of their 3D Printed Hab Challenge.

The challenge started with a concept phase last year, awarding $25k to the winning team for a plan to use Martian ice as a building material for igloo-like habs that also filter out radiation. The top 30 entries were pretty interesting so check them out. But now we’re getting down to the nitty-gritty. How would any of these ideas actually be implemented? If you can figure that out, you can score $2M.

Official rules won’t be out until Friday, but we’d love to hear some outrageous theories on how to do this in the comments below. The whole thing reminds us of one of the [Brian Herbert]/[Kevin J. Anderson] Dune prequels where swarms of robot colonists crash-land on planets throughout the universe and immediately start pooping out building materials. Is a robot vanguard the true key to planet colonization, and how soon do you think we can make that happen? We’re still waiting for robot swarms to clean up our oceans. But hey, surely we can do both concurrently.