Controlling RGB LEDs With The Pi Zero

The Pi Zero is a great piece of hardware, even if you’re not designing another USB hub for it. [Marcel] wanted to control a few RGB LED strips from his phone, and while there are a lot of fancy ways you can do this, all it really takes is a Pi Zero and a few parts that are probably already banging around your parts drawers.

This isn’t a project to control individually addressable RGB LEDs such as NeoPixels, WS2812s, or APA102 LEDs. This is just a project to control RGB LEDs with five four connectors: red, green, blue, power, and or ground. These are the simplest RGB LEDs you can get, and sometimes they’re good enough and cheap enough to be the perfect solution to multi-colored blinkies in a project.

Because these RGB LEDs are simple, that means controlling them is very easy. [Marcel] is just connecting a transistor to three of the PWM pins on the Pi and using a TIP122 transistor to drive the red, green, and blue LEDs. You’ve got to love those TIPs package parts!

Control of the LEDs is accomplished through lighttpd. This does mean a USB WiFi dongle is required to control the LEDs over the Internet, but it is so far the simplest way we’ve seen to add multicolor blinkies to the web.


The Raspberry Pi Zero contest is presented by Hackaday and Adafruit. Prizes include Raspberry Pi Zeros from Adafruit and gift cards to The Hackaday Store!
See All the Entries || Enter Your Project Now!

Hacklet 94 – Pi Zero Contest Entries

Hackaday and Adafruit have joined forces to present the Raspberry Pi Zero Contest. A great contest is nothing without entries though. This is where the community is proving once again that they’re the best in the world. The contest is less than a week old, yet as of this Thursday evening, we’re already up to 33 entrants! You should submit your own project ideas now for a chance at one of the many prizes. This week on The Hacklet, we’re going to take a look at a few of these early entrants!

controllerWe start with [usedbytes] and Zero Entertainment System [usedbytes] has crammed an entire emulator into a classic Nintendo Entertainment System control pad thanks to the Raspberry Pi Zero. Zero Entertainment System also has something the original NES couldn’t dream of having: An HDMI output. The emulator uses the popular RetroPie front end. We’re happy to say that [usedbytes] knew that hacking up a real Nintendo controller would be sacrilegious, so they grabbed a low-cost USB clone from the far East. A bit of creative parts-stuffing and point-to-point wiring later, ZES was ready to meet the world!

wsprNext up is [Jenny List] with The Australia Project. [Jenny] is a hacker from Europe. She’s hoping to use a Pi Zero to talk to Australia. “Talk” may be pushing it a bit though. The Australia Project will use the Weak Signal Propagation Reporter (WSPR) network to transmit RF straight out of the Pi’s GPIO ports. All that is required is a good filter, an antenna, and a balun. The filter in this case is a 7-pole Chebyshev low-pass filter. The filter keeps the Pi’s harmonic filled square waves from messing up every band from DC to light. [Jenny] normally sells these filters as a kit, but she’s made a special version specifically for the Pi Zero.

tote0[Radomir Dopieralski] has brought his signature walking robots to the Pi Zero world with Tote Zero. Tote Zero is a quadruped walking robot built mainly from 9 gram servos. [Radomir’s] custom tote board interfaces the servos to the Pi Zero itself. The Pi Zero opens all sorts of doors for sensors, vision, and advanced processing. The Arduino board on the original Tote would have been hard pressed to pull that off. Tote is programmed in Python, which will make the code quick and easy to develop. Tote Zero just took its first steps a few days ago, so follow along as a new robot is born!


ethernetpoFinally we have [julien] with PoEPi: Pi Zero Power over Ethernet with PHY. The Raspberry Pi Zero is so tiny, that it’s easy to forget it needs a fair amount of power to run. [Julien] is giving us a way to connect our Pi to a network while ditching the USB power supply using Power Over Ethernet (PoE). PoE has been powering devices like IP cameras for years now. It’s become a standard way of transmitting power and data. For the Ethernet physical interface, [Julien] is using Microchip’s ENC28J60, which has a handy SPI interface. Linux already has drivers in place for the device, so it’s a slam dunk. The “power” part of this system comes with the help of an LTC4267 PoE interface chip, which has a built-in switching regulator.

If you want to see more entrants to Hackaday and Adafruit’s Pi Zero contest, check out the submissions list! If you don’t see your project on that list, you don’t even have to contact me, just submit it to the Pi Zero Contest! That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of!

New Angle on Raspberry Pi Zero Hub

Collectively, the Hackaday readers sigh, “Not another Pi Zero hub!!!”. But [Sean Hodgins’] hub is different. It has a new angle, literally. Besides, it’s an entry in the Hackaday and Adafruit Pi Zero Contest .

1514291454445337873[Sean Hodgins’] acute approach is orthogonal to most of the other hubs we’ve seen. He’s mating the hub at right angles to the Zero. The hub plugs into both the on-the-go USB port and the USB power port. No extra cables or wiring needed. [Sean] plans to release the design on GitHub after his Kickstarter campaign ends. He’s supplying bare boards for those who like the smell of solder paste.

This project nicely triangulates the issues of adding a hub to the Zero. The physical connection is solid with the boards connecting via the USB connectors. Power is supplied through the hub the way the Pi expects, which means all the protections the Pi Foundation built into the onboard conditioning are left in place. This also reduces surge problems that might occur when back powering through a hub and hot swapping USB devices. Another neat feature is the notched corner leaving the HDMI port accessible. Similarly, the Pi’s GPIO pins are free of encumbrance. One drawback is the hub is fused at 2 amps, just like the Pi. It would be nice to have a little more headroom for power hungry USB devices. Maybe another 0.5 amp to allow for the Zero’s usage.

[Sean] snaps the two together after the break.

Continue reading “New Angle on Raspberry Pi Zero Hub”

Hackaday and Adafruit Launch the Pi Zero Contest

Hackaday and Adafruit are teaming up to bring you the Pi Zero Contest. Unless you’ve been hiding out in your workshop for the past month or so, you probably already know The Pi Zero is the $5 Linux-based computer which has been taking the world by storm. Think you have the next great project for this single-board computer? Enter it for a chance to take home one of three $100 gift certificates to the Hackaday Store. We know Zeros have been hard to find, so we’ll be giving away 10 of them before the contest is over. Even if you don’t have a Pi Zero, read on!

This is all about documenting quality projects to We’re looking for well thought out, well documented builds intended for the Pi Zero. Any project submitted to this contest can also be rolled over to the 2016 Hackaday Prize. Think of it as getting a head start.

Here are the details:

  • From February 2nd, to February 20th, Lady Ada will make 10 ‘From the Desk of Lady Ada’ broadcasts focusing on this contest. During each broadcast she will present an idea for a Pi Zero Project. You don’t have to build Lady Ada’s projects, they’re starter ideas to get your wheels turning. If you don’t have a Raspberry Pi Zero, don’t worry! You can prototype with a Raspberry Pi Model B, or a Pi 2. There are also 10 Pi Zero boards up for grabs before the contest is over.
  • The deadline for winning a Pi Zero is 12:00am PST February 25th, 2016. The judges will pick the 10 most well thought out and well documented projects.
  • On February 29th, the judges will announce the winners of 10 Raspberry Pi Zero boards.
  • The grand prize for this contest is one of three $100 gift cards to the Hackaday store. The deadline to enter is 12:00 am PST March 14th, 2016.

Entering is easy.  All you have to do is submit your project. Just click the “Submit to” drop down list on your project page. Then select Adafruit Pi Zero Contest.

So fire up your soldering irons, warm up your 3D printers, and load up your favorite code editor. It’s time to start hacking!

The Best Projects That Fit In A Square Inch

A few years ago, we started as a project hosting site for The People Who Actually Make Stuff™, and since then we’ve been amazed by what the community can put together. We have well over 100,000 hackers on board in an awesome community. Sometime around September, a few members of the community decided to follow in the footsteps of the very successful contests we’ve had on This led to the Square Inch Contest, a challenge to put the coolest electronics inside a square inch PCB. An inch the distance light travels in 1/11802852665.12644 of a second for those of you without freedom units.

The winner, Quadcopter In One Inch

With almost eighty entries, the judges had a very difficult task ahead of them. In the end, only one project would be the best. The winner of’s first user-created contest is Quadcopter In One Inch from [jeff]. This wins the grand prize of a $100 credit for the Hackaday Store and a $50 gift certificate to OSHPark.

There are six other prizes, each receiving a $50 credit to the Hackaday Store and $25 for OSHPark:


The judges for the Square Inch Project would like to give an honorable mention to Twiz and the blinktronicator. The judges would also like to express amazement in how much work actually goes into judging a contest on Spending a few weeks working on the judging for a contest with eighty entries imbues a sort of respect for people who can judge a contest with one thousand entries in three days, as the Hackaday crew has done with two Hackaday Prizes so far. While they were doing that, I was sitting back and cracking jokes about Fleiss’ Kappa.

This was the first community-created contest on, but it is surely not the last. We don’t know what the next contest will be – that will be up to someone on – but there will be one, and like the Square Inch Project, it will be awesome.

The Square Inch Project

For the last few years, Hackaday has been putting together some amazing contests. We gave away a trip to space, but the winner took the money instead. We gave away another trip to space, but those winners took the money instead. But we had a ton of fun along the way and are glad to see some others are getting in on the action. In September, a contest appeared out of the blue on It is the Square Inch Project, a contest with the goal of stuffing the most electronics on a square inch of printed circuit board.

This wasn’t a contest designed, planned, or organized by anyone in charge here; this is a completely organic competition arranged and implemented by the community. A few months ago, a few notable people just decided to have a contest. Awesome.

OSHPark was kind enough to give out credits for PCBs as prizes, a we added in a few gift certificates to the Hackaday Store. Apparently that’s all you need to get a lot of people making a lot of cool stuff.

There are a lot of really great entries – far too many to cover in a single post – but you’ll find a few great ones below.

Continue reading “The Square Inch Project”

Biomimicry Challenge: Hack Like Mother Nature, win $100k

Hot on the heels of the 2015 Hackaday prize, with its theme of “Build stuff that matters”, comes another opportunity for hackers to make a difference. But you’ve got to think like Mother Nature for the 2016 Biomimicry Global Design Challenge.

wind chillThe aim of this challenge is to transform the global food system using sustainable approaches that emulate natural process. Entries must address a problem somewhere in the food supply chain, a term that could apply to anything from soil modification to crop optimization to harvest and storage technologies. Indeed, the 2015 winner in the Student category was for a passive refrigeration system to preserve food in undeveloped areas. It’s a clever two-stage system that uses an evaporative cooling loop inspired by the way an elephant’s ears cool the giant beast, and by use of a wind-capturing funnel that mimics how animals as diverse as termites and meerkats cool their nests.

In addition to the Student category, the challenge has an Open category for teams of any composition. Up to 10 teams will be selected from the Open category to proceed to the Accelerator phase, where they’ll receive support for a six to nine month development of their design into a marketable product. The winner will be awarded the $100,000USD Ray of Hope prize, endowed by the Ray C. Anderson Foundation.

We’d love to see someone from the Hackaday community take home the 2016 prize, and there are plenty of 2015 Hackaday Prize entries that may be eligible. The deadline for submissions is 11 May 2016, so get a team together and get to work.