Solar Pi Zero E-Paper Photo Frame Waits For The Right Moment

One of the biggest advantages of electronic paper is that it doesn’t require a constant power source to display a static image. Depending on the application, this can lead to a massive energy savings compared to more traditional display technologies. Of course, the electronics that actually drive the display are another story entirely. You need to reduce the energy requirements of the whole system if you really want to stretch your battery life.

So when [Giacomo Miceli] wanted to put together this solar powered e-paper photo frame, he had to come up with some creative ways to curb the energy consumption of the Raspberry Pi Zero that runs the show. While the 10.3 inch 1872 × 1404 panel would only require the occasional burst of power to flick over to a new image, the Pi would be a constant drain on the internal battery pack. Considering he wanted the frame to recharge from ambient light with an array of small solar panels, that simply wouldn’t do.

The solution came in the form of a PiJuice HAT and some scripts that decide how often the Pi is to be powered on based on the current battery level. If there’s enough power, it might be every hour or so. But the lower the charge, the longer the delay. When the energy situation is particularly dire, the Pi might only be turned on every couple of days. With the Pi off and the e-paper not drawing any power, all of the energy produced by the solar panels can be devoted to recharging the frame’s 1,000 mAh battery.

When the Pi does get booted up, it quickly connects to a server to download a new image and update the display. After that, it ascertains the current battery level and determines how long the PiJuice should wait before turning it back on. After these tasks are complete, it will turn itself off until the next scheduled event. All told, [Giacomo] says the Pi is only up and running for about a minute each time the image is refreshed on the e-paper. He says the system has been running for six weeks now, with the battery level occasionally dipping down to 40% or so before it climbs back up.

Admittedly the energy consumption of the frame could be cut drastically by replacing the Raspberry Pi with a simple microcontroller, but we appreciate the creativity. Besides, the power and flexibility afforded by the Pi means this frame could be taught quite a few new tricks with some updated software.

Old Thermostat Gets Smarts

A smart thermostat is nothing new. But making one built a decade or more ago takes a few tricks. If you want to upgrade your thermostat without replacing it, [geektechniquestudios] shares their solution using a Raspberry Pi Zero to smarten up that dumb controller.

The hardware is decidedly simple: just a Pi Zero and a pair of relays. The relays act as button presses to the old thermostat. The software, though, is decidedly complex. There’s a React server and a Redis database along with some other bits and pieces.

Continue reading “Old Thermostat Gets Smarts”

Pi Compute Module Is Love-child Of Raspberry And Arduino

The Raspberry Pi compute module is a powerful piece of hardware, especially for the price. With it, you get more IO than a normal Pi, plus the ability to design hardware around it that’s specifically tailored to your needs rather than simply to general-purpose consumers. However, this comes at the cost of needing a way to interface with it since the compute module doesn’t have the normal IO pins or ports, but [Timon] has come up with a handy development board for this module called the Piunora which solves a lot of these prototyping issues.

The development board expands the compute module to the familiar Arduino-like form factor, complete with IO headers, USB ports, and HDMI output. It doesn’t stop there, though. It has an M.2 connector, some built-in LEDs, a camera connector, and a few other features. It also opens up some other possibilities that would be difficult or impossible with a standard Pi 4, such as the ability to run the Pi as a USB gadget rather than as a host device which simplifies certain types of development, which is [Timon]’s intended function.

As a development board, this project has a lot of potential for the niche uses of the compute module when compared to the standard Raspberry Pi. For embedded applications it’s much easier to deploy, with the increased development costs as a tradeoff. If you’re still unsure what to do with the compute module 4, we have some reading for you. And Timon’s previous project is a great springboard.

Creality WiFi Takes On Octoprint

A very common hack to a 3D printer is to connect a Raspberry Pi to your printer and then load Octoprint or a similar program and send your files to the printer via the network. [Teaching Tech] noticed that Creality now has an inexpensive WiFi interface that promises to replace Octoprint and decided to give it a quick review.

You might wonder why you’d want this system when Octoprint exists? Mainly, the value proposition is the price. You can buy the Creality box for about $20. A Raspberry Pi with a similar case would be at least twice that price. In addition, the box integrates with a Thingiverse-like library and does cloud slicing, which is attractive when you have a very small computer connected to your printer.

However, [Teaching Tech] found some issues. The box was pretty picky about connecting to printers and there were many other problems. The 3D model library wasn’t very comprehensive, although that could change if the thing got very popular. Worse, the slicer didn’t really produce stellar results.

We have to admit, an attractive network interface for $20 would be of interest. But it is hard to see how this would be a better value than Octoprint unless you were very short on cash and had no Raspberry Pi surplus laying around. You still need an SD card and a power supply, so those extras are a wash.

On the other hand, if Creality fixes the problems and expands the 3D model library, we’d buy one. But it remains to be seen if either of those things will happen, much less both of them. We do wish [Teaching Tech] had opened the thing up for us. Maybe next time.

Continue reading “Creality WiFi Takes On Octoprint”

Still Got Film To Scan? This Lego And Raspberry Pi Scanner Is For You

There was a time during the early years of mass digital photography, when a film scanner was a common sight. A small box usually connected to a USB port, it had a slot for slides or negatives. In 2020 they’re  a rare breed, but never fear! [Bezineb5] has a solution in the shape of an automated scanner using a Radpberry Pi and a mechanism made of Lego.

The Lego mechanism is a sprocket feeder that moves the film past the field of view from an SLR camera. The software on the Pi runs in a Docker container, and features a machine learning approach to spotting frame boundaries. This is beyond the capabilities of the Pi, so is offloaded to a Google Coral accelerator.

The whole process is automated with the Pi controlling not only the Lego but also the camera, to the extent of retrieving the photos from it to the Pi. There’s a smart web interface to control everything, making the process — if you’ll excuse the pun — a snap. There’s a video of it in action, that you can see below the break.

We’ve featured many film scanner projects over the years, one that remains memorable is this 3D printed lens mount.

Continue reading “Still Got Film To Scan? This Lego And Raspberry Pi Scanner Is For You”

A Retro Camcorder Upgraded As A Raspberry Pi HQ Camera

In 2020 when we carry an all-purpose computer and data terminal able to store our every thought and deed on a global computer network, it’s easy to forget that once upon a time we were excited by the simpler things. Take the camcorder for example, back in the 1990s the idea of a complete video recording solution that captured moving images on tape cartridges and fit in the palm of your hand was a very big deal indeed, and camcorders as we called them in those innocent times were a prized posession. Now they’re a $0.50 find a Goodwill, which is how [Dustin] picked up the RCA camcoder he’s converting into something altogether more modern. He’s gutted it and upgraded it by removing the analogue innards and retaining only the case and lens assembly to put around a Raspberry Pi and associated HQ camera module.

Opening the camcorder up reveals a ton of miniaturised analogue circuitry, but once the original assemblies are removed it’s relatively straightforward to put the Pi camera on the rear of the lens unit. There’s plenty of space for the Pi in the box, and he’s putting a touchscreen on the outside.

Sadly the camcorder’s original tiny CRT is no longer working, else that would have been the ultimate retro viewfinder. Still we hope to see some tinkering on that part of the project since those little CRTS make for delightful hacks. The project is very much a work in progress, but should serve that these once ubiquitous devices are now in the realm of the throwaway.

This isn’t the first such conversion we’ve seen with a Raspberry Pi, the original camera module is a handy fit to an 8mm movie camera.

Hardware Keymapper Routes Through Raspberry Pi

There are a lot of keyboards to choose from, and a quick trip through some of the forums will quickly show you how fanatical some people can be about very specific styles or switches. [Crdotson] doesn’t seem to be too far down the rabbit hole in that regard, but he does have a keyboard that he really likes despite one small quirk: it’s built for Mac, and some of the modifier keys aren’t laid out correctly for Windows. Since Windows has limited (and poor) options for software keymapping, he took an alternative route and built a keymapper in hardware instead.

The build uses a Raspberry Pi as a go-between from the keyboard to his computer. The Pi watches the USB bus using usbmon, which allows inspection of the packets and can see which keys have been pressed. It then passes those keypresses through to the computer. His only modification to the keyboard mapping is to swap the Alt and Super (Windows) keys for his keyboard of choice, although using this software would allow any other changes to be made as well. Latency is only on the order of a few microseconds, which is not noticeable for normal use cases.

While we have seen plenty of other builds around that can map keyboards in plenty of custom ways, if you don’t have the required hardware for a bespoke solution it’s much more likely that there’s a Raspberry Pi laying around that can do the job instead. There are a few issues with the build that [crdotson] is planning to tackle, though, such as unplugging the device while a key is being pressed, which perpetually sends that keystroke to the computer without stopping. But for now it’s a workable solution for his problem.