Easy IoT Logging Options For The Beginner

If a temperature sensor takes a measurement in the woods but there’s nobody around to read it, is it hot out? 

If you’ve got a project that’s collecting data, you might have reasons to put it online. Being able to read your data from anywhere has its perks, after all, and it’s key to building smarter interconnected systems, too. Plus, you can tell strangers the humidity in your living room while you’re out at the pub, and they’ll be really impressed.

Taking the leap into the Internet of Things can be daunting however, with plenty of competing services and options from the basic to the industrial-strength available. Today, we’re taking a look at two options for logging data online that are accessible to the beginner. Continue reading “Easy IoT Logging Options For The Beginner”

Colorful Quinary Clock Makes The Most Out Of Five Neopixels

If binary digits are bits, are quinary digits “quits”? Perhaps, but whatever you call them, you’re going to have to wrap your head around some new concepts in order to make sense of this quinary display clock.

The transition between 15:42 and 15:43.

Why quinary? [Spike Snell] wanted to minimize the number of LEDs, and 52 is enough to cover all 24 hours. Binary clocks may have geek chic, but there are only so many ways to display ones and zeros.

[Spike]’s clock is unique because it shows each quit using a single WS2812 Neopixel. The values zero through four are each represented by a different color, meaning the user needs to memorize which color goes with which value, which we suspect is the hardest part of learning this clock. The clock’s software is fairly simple and runs on an ESP8266, and uses NTP to keep on track. The clock self-adjusts for Daylight Savings time, and it has a nice feature that dims the display in the evening to make living with it easier.

Even for those not up on their base-five arithmetic,  [Spike]’s clock is still a nice, slowly evolving abstract art piece. And for those who grok the quinary clock, perhaps a career awaits you in an alternate future where bi-quinary relay computers caught on.

The Shipping Industry’s Transition To Atomic Power And Faster Deliveries

The transport of goods with cargo ships and especially container ships is the backbone of today’s economies, with about 90% of non-bulk cargo transported with them. This is in addition to the large number of oil tankers and LNG carriers. Unfortunately, due to their use of diesel engines they are also responsible for about 3.5% of the world’s CO2 emissions, in addition to 18 – 30% of nitrogen oxide and 9% of sulfur oxides.

Although the switch to low-sulfur diesel (ULSD) and the use of speed limits has reduced some of these pollutants, the shipping industry sees itself faced with the necessity to decarbonize in order to meet the obligations of the Paris Agreement. This essentially means finding a way to switch from diesel engines to an alternative which has comparable or better fuel costs, produces no or almost no pollutants and will not negatively affect logistics.

As a highly competitive, cut-throat industry, this does seem to leave shipping companies backed up against  a wall. Yet an existing, proven technology just so happens to exist already which can be retrofitted into existing cargo ships. Continue reading “The Shipping Industry’s Transition To Atomic Power And Faster Deliveries”

3D Printer Lets You Play “Will It Shred?”

[Brian Brocken] is at it again, building mechanisms that are as striking in their aesthetic as they are in their function. This time around, he’s extended a project we recently featured by adding a menacing 3D-printed shredder attachment. When you hear “3D-printed shredder” you think that paper is all you’ll be able to feed it, but this beast can eat its own by shredding parts from failed prints.

His original goal in building the high-torque 3D-printed gear box we looked at back in August was to show that 3D printed parts can be functional and not merely decorative. Using it as a winch to pull a car did a good job of that, but this goes much further. The very nature of shredder blades is to tear apart objects, but the forces that destroy those things are also present on the shredder parts themselves. Still, as you can see in the video below, the counter-rotating twin-shaft shredder mechanism does its work without catastrophic damage to the blades which were printed with “least 25 percent infill for the structural parts”, and up to five outer perimeters.

The result is a shredder that can gobble up small pieces of failed prints, in addition to chewing on paper, cardboard, and polystyrene with ease. [Brian] does show a few failures along the way, all in the gearbox itself. The first was a defect in the housing that let an gear shaft pop loose and was fixed up with a reprint. The second is a catastrophic gear failure when trying to shred a soda bottle. This is not surprising as PET is quite tough and not brittle like the waste prints were. The shredder teeth got bogged down, and the power of the motor strips teeth from a few gears. But when working, it’s oddly satisfying to watch that powerful gear ratio chip away at sacrificial materials.

If you’re more on the prowl for a way to usefully recycle your plastics, set the 3D-printed stress test of this one aside and take a look at the plastic shredder Fablab RUC built out of metal and plywood a few years back.

Continue reading “3D Printer Lets You Play “Will It Shred?””

E-Ink Calendar Paves A Path For All

[Martin Fasani] has set out to build a beautiful low power E-Ink Calendar he can hang on his wall. But perhaps more importantly, the work he has done makes it easier for everyone in the future to have a e-ink display. Many battery-powered e-ink projects connect to some server, download a bitmap image, display the new image, and then go into a deep sleep power mode. [Martin’s] project is no different, but it uses a handy microservice that does the conversion and rendering for you.

The firmware for this ESP32/ESP32S2 based calendar is open sourced on GitHub, with a version based on the Arduino framework as well as the native ESP-IDF framework. One particularly fantastic part of the firmware is a C++ component called CalEPD that drives e-paper displays. CalEPD extends the Adafruit_GFX class and is broken out in a separate repo, making it easy to consume on other projects. Since this supports dozens of different e-paper displays, this simplifies the process of building a calendar with different screens. The firmware includes a Bluetooth setup flow from a smartphone or tablet. This means you can quickly configure how often it wakes up, what it queries, and other important features.

The hardware shown in the demo video has a 7.5″ Waveshare screen with 800 x 400 resolution nestled inside a 3D-printed shell. There is also a 5,000 mAh battery with an ESP32 TinyPICO powering the whole system. The TinyPICO was picked for its incredible deep sleep power consumption. All this fits into a frame just 11 mm thick, for which STL files are available. [Martin] continues to work on this calendar display and has recently added support for FocalTech touch panel controllers. We’re excited to see where he takes it next!

This isn’t the first e-ink display project we’ve seen but this is a great reference to build your own. If you need another good starting point, this weather display might give you that little bit of inspiration you need.

Continue reading “E-Ink Calendar Paves A Path For All”

C64 Runs On STM32F429 Discovery

There have been various reincarnations of the Commodore C64 over the years, and [Dave Van Wagner] has created one that can run on an STM32F429ZI Discovery development board. These dev boards have been around quite a few years and feature a 2.4 inch color TFT LCD in addition to the typical I/O circuitry, and are a pretty good value — [Dave] says they currently sell for under $30 through distribution.

The project began earlier this year when [Dave] set out to write a command line program in C# that emulated C64 Basic. He had written a 6502 emulator many years earlier, but had not tested it. [Dave] went on a programming binge in March and got it up and running over a very long weekend. He subsequently decided to add support for VIC-20, TED, and PET as well.

Even though [Dave] says C# is a beautiful language, he subsequently ported the program into C (an ugly language?) in order to run on the Discovery board, swapping the command line terminal interface for real LCD video and a USB keyboard. There’s also an Arduino version (terminal interface only). It runs about 15% slower than a real C64, and there are some limitations still like no SID. But overall, this is a great project and a low-cost way to emulate a C64 in an embedded format. If you want to explore further, here is the Mbed project for the STM32F429, and you can find the Arduino and C# versions on his GitHub page. You may remember [Dave] from the C128 video hack we wrote about last year.

Turning GitHub Into A URL Shortening Service

URL shortening services like TinyURL or Bitly have long become an essential part of the modern web, and are popular enough that even Google killed off their own already. Creating your own shortener is also a fun exercise, and in its core doesn’t require much more than a nifty domain name, some form of database to map the URLs, and a bit of web technology to glue it all together. [Nelsontky] figured you don’t even have to build most of it yourself, but you could just (ab)use GitHub for it.

Using GitHub Pages to host the URL shortening website itself, [nelsontky] actually repurposes GitHub’s issue tracking system to map the shortened identifier to the original URL. Each redirection is simply a new issue, with the issue number serving as the shortening identifier, and the issue’s title text storing the original URL. To map the request, a bit of JavaScript extracts the issue number from the request, looks it up via GitHub API, and if a valid one was found (and API rate limits weren’t exceeded), redirects the caller accordingly. What’s especially clever about this is that GitHub Pages usually just serves static files stored in a repository, so the entire redirection logic is actually placed in the 404 error handling page, allowing requests to any arbitrary paths.

While this may not be as neat as placing your entire website content straight into the URL itself, it could be nicely combined with this rotary phone to simply dial the issue number and access your bookmarks — perfect in case you always wanted your own website phone book. And if you don’t like the thought of interacting with the GitHub UI every time you want to add a new URL, give the command line tools a try.