We’ve all seen the 3D printed replicas of classic game consoles which house a Raspberry Pi; in fact, there’s a pretty good chance some of the people reading this post have one of their own. They’re a great way to add some classic gaming emulation to your entertainment center, especially compared to the bare PCB chic of just having a Pi hanging off your TV’s HDMI port.
[Victor Heid] loved the look of these miniature consoles, but wanted to challenge himself to design something that was also multi-functional and unique. So he decided to create an NES-inspired case for the Raspberry Pi 3 A+ that doubles as a LED matrix clock with a decidedly retro feel. Frankly, even if it was just a clock we would have been impressed with the final product; but the fact that it’s also a fully functional RetroPie build really goes above and beyond.
It should be obvious just looking at the completed product that [Victor] put a lot of effort into sanding and finishing the 3D printed case. But we don’t have to imagine the process, since he was kind enough to thoroughly detail the steps and materials he used. As you might have guessed, the short version is a lot of filler and a lot of time; but it’s worth looking at the complete write-up if you’ve ever considered trying to make your own printed parts look less…printed. His method of applying the lettering on the front of case using a laser printer, some Mod Podge, and a healthy dose of patience is also something you might want to file away for a future project.
The electronics for this project are exceptionally simple, as [Victor] used the Pimoroni Scroll pHAT HD rather than trying to roll his own LED matrix in such a limited space. So it was just a matter of connecting up the wires to the Pi’s GPIO header and getting the various bits of software talking to each other, which he also details for anyone who might be interested.
It’s been a few months since the Raspberry Pi 3 A+ was unveiled, and we’re finally starting to see projects that make use of the new board’s reduced footprint. The ability of hardware like the A+, combined with the lackluster attempts by manufactures to produce official “mini” systems, seems to have set the stage for hackers to once again outshine commercial offerings. Not that we’re complaining, of course.
Like most pieces of technology, word clocks seem to be getting better and better every year. As hackers get their hands on better microcontrollers and more capable LED controllers, these builds not only look more polished, but get improved features and functions. Luckily for us, the rise of these advanced modular components means they’re getting easier to build too. For an example of these parallel traits, look no further than VERBIS by [Andrei Erdei].
This colorful word clock is powered by an ESP8266, a 8×8 RGB LED matrix, and a WS2812 RGB LED controller module. [Andrei] used the diminutive ESP-01 which can plug right into the LED controller, and just needs a 3.3 VDC regulator board to complete the very compact electronics package.
To keep the LEDs from interfering with each other, [Andrei] has designed a 3D printed grid which fits over the matrix board. On top of that goes a piece of paper that has the letters printed on it. He mentions that he was able to get good results printing this “stencil” out on an inkjet printer by simply running the same piece of paper through a few times; picking up more black ink each time it went through. Judging by the sharp characters seen in the video after the break, the trick worked well.
With his hardware put together, [Andrei] turned his attention to the software. We really think the project shines here, as his clock not only supports NTP for automatically setting the time over the Internet, but offers a full web interface to control various functions such as the LED colors. You can even change the NTP server and network configuration right from the UI, which is a nice touch compared to just hard coding the values into the code. Even if you don’t use the same hardware, the open source control software is definitely something you should look into if you’re building your own word clock.
We recently covered another easy to build word clock that used an LED matrix and not a whole lot else, but it was quite tiny. This build is a much more reasonable size for a desk, but you’ll probably need to break out the laser cutter if you want to get much bigger.
Continue reading “RGB Word Clock Doesn’t Skimp on the Features”
Inexpensive OLED displays with I2C interfaces abound, but there is a catch: they tend to be stuck on I2C address 0x3C. Some have a jumper or solder pads to select an alternate (usually 0x3D), but they lack any other method. Since an I2C bus expects every device to have a unique address, this limits the number of displays per bus to one (or two, at best.) That is all still true, but what [Larry Bank] discovered is a way to get multiple OLED displays working with considerably fewer microcontroller pins than usually needed.
While bit-banging I2C to host one display per bus on the same microcontroller, an idea occurred to him. The I2C start signal requires both clock (SCL) and data (SDA) to be brought low together, but what would happen if the displays shared a single clock line? To be clear, each OLED would — logically speaking — still be on its own I2C bus with its own data line, but they would share a clock signal. Would a shared clock cause attached devices to activate unintentionally?
A quick test consisting of four OLED displays (all with address 0x3C) showed that it was indeed possible to address each display with no interference if they shared a clock. Those four individually controlled displays needed only five I/O lines (four SDA, one shared SCL) instead of eight. The Multi_OLED library is available on GitHub, and in case it is useful for devices other than OLED displays, bit-banged I2C with support for shared clock lines is available separately.
There’s more to do with OLEDs than get clever with signals: check out these slick number-change animations, and that even looks to be a project that could benefit from a few saved GPIO pins, since it uses one small display per digit.
Elliot Williams and Mike Szczys look at all that’s happening in hackerdom. This week we dive deep into super-accurate clock chips, SPI and microcontroller trickery, a new (and cheap) part on the microcontroller block, touch-sensitive cloth, and taking a home X-ray to the third dimension. We’re saying our goodbyes to the magnificent A380, looking with skepticism on the V2V tech known as DSRC, and also trying to predict weather with automotive data. And finally, what’s the deal with that growing problem of electronic waste?
Links for all discussed on the show are found below. As always, join in the comments below as we’ll be watching those as we work on next week’s episode!
Direct download (88.7 MB)
Places to follow Hackaday podcasts:
Continue reading “Hackaday Podcast Ep 007 – Everything Microcontrollers, Deadly Clock Accuracy, CT X-Rays, Mountains Of E-Waste”
Clocks are a popular project on Hackaday. They’re a great way to showcase a whole range of creative build techniques, and can make an excellent showpiece as well. We’ve seen everything from the blinkiest binary build to the noisiest alarms, but [Benoit] has delivered something different — a stylish build that looks like it came right off the store shelf.
The clock features a large 7-segment display built with IN-PI554FCH LEDs, which are similiar to the popular WS2812Bs but with lower power consumption. There’s also an OLED display for reading the date and going through menus, capacitive touch buttons for control and an Arduino Mega to tie everything together.
The real party piece is the enclosure, however. [Benoit] spent significant time honing a process to get a nice surface finish on Shapeways SLS parts. The 3D printed components are first cleaned with a toothbrush to free any loose powder, before several stages of primer, sanding, and paint. The final product is then finished with decals that lend the device that perfect factory look. If you’re eager to replicate the build, the parts are available at Github.
[Benoit]’s clock is a great example of what can be achieved by the home builder who is willing to wait a couple weeks for high quality 3D printed parts and decals to ship. It’s not [Benoit]’s first build to grace these hallowed pages, either – his transparent clock runs Linux!
Word clocks are one of those projects that everyone seems to love. Even if you aren’t into the tech behind how they work, they have a certain appealing aesthetic. Plus you can read the time without worrying about those pesky numbers, to say nothing of those weird little hands that spin around in a circle. This is the 21st century, who has time for that?
Now, thanks to [Gordon Williams], these decidedly modern timepieces just got a lot more accessible. His word clock is not only small enough to fit in the palm of your hand, but it’s the easiest-to-build one we’ve ever seen. If you were ever curious about these gadgets but didn’t want to put in the the time and effort required to build a full scale version, this diminutive take on the idea might be just what Father Time ordered.
The trick is to attach the microcontroller directly to the backside of an 8 x 8 LED matrix. As demonstrated by [Gordon], the Bluetooth-enabled Espruino MDBT42Q fits neatly between the rows of pins, which need only a gentlest of persuasions to get lined up and soldered into place. Since the time can be set remotely over Bluetooth, there’s not even so much as an additional button required. While driving the LEDs directly off of the digital pins of a microcontroller is never recommended, the specifics of this application (only a few of the LEDs on at a time, and not for very long) means he can get away with it.
Of course, that just gets you an array of square LEDs you blink. It wouldn’t be much of a word clock without, you know, words. To that end, [Gordon] has provided an overlay which you can print on a standard inkjet printer. While it’s not a perfect effect as the light still comes through the ink, it works well enough to get the point across. One could even argue that the white letters on the gray background helps with visibility compared to just the letters alone lighting up.
If you’re not in the market for a dollhouse-sized word clock, fear not. We’ve got no shortage of adult sized versions of these popular timepieces for your viewing pleasure.
Continue reading “Is That A Word Clock In Your Pocket?”
In 2008, an art studio out of Stockholm released the ClockClock, a digital clock with an analog heart. The ClockClock used 24 individual analog clocks — hour and minute hands and all — to display time digitally. The world went crazy, Pinterest blew up, and everyone wanted a digital analog clock until the next interesting project distracted the masses.
This was ten years ago, and for a project that’s neck deep in stepper motors, timekeeping, and 3D printed parts, we haven’t seen a DIY project that puts these tools together to build a clone of the ClockClock. Until now, that is. [Wojtek] was inspired by the ClockClock and decided to make his own.
For the plastic bits, each of the 24 analog clocks are printed out of PLA. So far, it’s exactly what we would expect. The trick to the ClockClock is moving the hour and minute hand of each analog clock independently. This is done with a double shaft — just like a real clock — and two stepper motors. Each of the stepper motors are controlled by a single PCB in each analog clock with two 360° stepper drivers, a dual motor driver, and an ATMega328pb microcontroller. As a group, the individual analog clocks are controlled over I2C, with a single ‘satellite’ board serving as the master.
While there are a few details missing from this build, specifically how to attach the hands to the stepper motors, this is an amazing project. Someone finally built a ClockClock, and it didn’t cost thousands of dollars as the original did. You can check out some videos of the Analog/Digital clock below.
Continue reading “Every Digital Clock Is Made Of Analog Components”