ESP32 Makes Great MPPT Controller In Low-Cost Solar Installation

Solar power projects have become, in general, a matter of selecting components like panels and batteries, hooking them together with industry-standard connectors, and sitting back to watch the free electricity flow. As such, solar projects have become a bit boring, so it’s not often we see one that attracts our attention the way this dirt-cheap open-source solar project does.

The backstory onĀ [Tim O’Brien]’s DIY off-grid PV system starts with his desire to charge his eWheel, which amounts to a battery-powered standing unicycle. They look like a fun option for getting around an urban environment if you have the requisite degree of coordination, which we clearly lack. But charging something like that or an eBike is a great use case for solar, especially since [Tim] happened upon a 450W PV panel on the cheap. Sadly, the panel was a commercial unit, and compatible off-the-shelf MPPT, or maximum power-point tracking, controllers are expensive.

His solution was to build his own controller using a cheap DC-DC converter that just so happens to have serial remote control. An ESP32 monitors the panel voltage and controls the buck converter to run whatever he wants. When he’s not charging his eWheel, the system runs his laptop and router. As a bonus, the ESP32 talks to IoT services like Adafruit.io and Thingspeak, allowing him to track MPPT data without shipping it off to parts unknown.

While we appreciate a DIY MPPT controller and like [Tim]’s build, we feel like the documentation needs a bit of fleshing out. With solar installations, the devil is in the details, and not addressing seemingly mundane issues like cable routing and connector installation can lead to disaster.

An ESP32 Clock With A Transforming LED Matrix

Over the years we’ve seen countless ways of displaying the current time, and judging by how many new clock projects that hit the tip line, it seems as though there’s no end in sight. Not that we’re complaining, of course. The latest entry into the pantheon of unusual timepieces is this ESP32-powered desk clock from [Alejandro Wurts] that features a folding LED matrix display.

The clock uses eight individual 8 x 8 LED arrays contained in a 3D printed enclosure that hinges in the middle. When opened up the clock has a usable resolution of 8 x 64, and when its folded onto itself the resolution becomes 16 x 32.

This variable physical resolution allows for alternate display modes. When the hardware detects that its been folded into the double-height arrangement, it goes into a so-called “Big Clock” mode that makes it easier to see the time from a distance. But while in single-height mode, there’s more horizontal real estate for adding the current temperature or other custom data. Eventually [Alejandro] wants to use MQTT to push messages to the display, but for now it just shows his name as a placeholder.

The key to the whole project is the hinged enclosure and the reed switch used to detect what position it’s currently in. Beyond that, there’s just an ESP32 an some clever code developed with the help of the MD_Parola library written for MAX7219 and MAX7221 LED matrix controllers. [Alejandro] has published the code for his clock, which should be helpful for anyone who’s suddenly decided that they also need a folding LED matrix in their life.

Now if the ESP32 LED matrix project you have in mind requires full color and high refresh rates, don’t worry, we’ve got a solution for that.
Continue reading “An ESP32 Clock With A Transforming LED Matrix”

Retro Hardware Plots Again Thanks To Grbl And ESP32

When it comes to building a new CNC machine, you’ve got a wide world of controller boards to choose from. Whether you’re building a 3D-printer or a CNC plasma cutter, chances are good you’ll find a controller that fits your needs and your budget. Not so much, though, when you want to add CNC to a pen plotter from the early days of the PC revolution.

[Barton Dring] just posted the last installment of a five-part series in which he documented putting an Atari 1020 plotter under CNC control. The plotter was a peripheral for the Atari line of 6502 machines from the late 1970s; the guts of the little roll-fed, ballpoint-pen plotter appeared in Commodore, Tandy, and TI versions as well. [Bart]’s goal was to not add or modify anything to the mechanically simple device apart from the controller. That was easier said than done, given the unipolar stepper motors controlling the pen position and paper roll, and the fact that the pen lift mechanism uses a solenoid. Support for those had to be added to his Grbl_ESP32 firmware, as did dealing with the lack of homing switches in the plotter, and adapting the Grbl tool change command to the pen color change mechanism, which rotates the pen holder by bumping it into the right-hand carriage stop. The stock controller was replaced by a custom PCB that fits perfectly within the case, with plenty of room to spare. The video below shows it plotting out a vexillogically relevant sample.

From custom coasters to wooden nickels to complex string art, [Bart] has really put Grbl through the wringer. We really like this retro-redo, though, and fully support his stated desire to convert more old hardware to Grbl_ESP32.

Continue reading “Retro Hardware Plots Again Thanks To Grbl And ESP32”

Robot Joints Go Modular With This Actuator Project

[John Lauer] has been hard at work re-thinking robot arms. His project to create modular, open source actuators that can be connected to one another to form an arm is inspiring, and boasts an impressively low parts cost as well. The actuators are each self-contained, with an ESP32 and a design that takes advantage of the form factors of inexpensive modules and parts from vendors like Aliexpress.

Flex spline in action, for reducing backlash

Each module has 3D printed gears (with an anti-backlash flex spline), an RGB LED for feedback, integrated homing, active cooling, a slip ring made from copper tape, and a touch sensor dial on the back for jogging and training input. The result is a low backlash, low cost actuator that keeps external wiring to an absolute minimum.

Originally inspired by a design named WE-R2.4, [John] has added his own twist in numerous ways, which are best summarized in the video embedded below. That video is number three in a series, and covers the most interesting developments and design changes while giving an excellent overview of the parts and operation (the video for part one is a basic overview and part two shows the prototyping process, during which [John] 3D printed the structural parts and gears and mills out a custom PCB.)

Continue reading “Robot Joints Go Modular With This Actuator Project”

The MorningRod Wants Your Mornings Easier, Not Harder

Curtains are about as simple as household devices get, but they can be remarkably troublesome to automate. Everyone’s window treatments are slightly different, which frustrates a standardized solution. [dfrenkel] has a passion for DIY and wanted his mornings flooded with sunlight for more peaceful awakenings, so the MorningRod Smart Curtain Rod was born.

Replacing the curtain rod with aluminum extrusion and 3D printed fixtures goes a long way towards standardizing for automation.

MorningRod’s design takes advantage of affordable hardware like aluminum extrusions and 3D printed parts to create a system that attempts to allow users to keep their existing curtains as much as possible.

The curtain rod is replaced with aluminum extrusion. MorningRod borrows ideas from CNC projects to turn the curtain rod into a kind of double-ended linear actuator, upon which the curtains are just along for the ride. An ESP32 serves as the brains while a NEMA17 stepper motor provides the brawn. The result is a motorized curtain opening and closing with a wireless interface that can be easily integrated into home automation projects.

[dfrenkel] is offering a kit, but those who would prefer to roll their own should check out the project page on Thingiverse.

Sending An ESP32 Into Space

Just two weeks ago, the crew from the International Space Station released a photo of their nine crew members – an odd number considering that the facility only has space to house six astronauts at a time. In fact, the crew had just gathered for a celebratory dinner before three of the astronauts were to return home. The new astronauts joining including Hazza Al Mansouri, the first astronaut from the United Arab Emirates (who has since returned from his mission), as well as astronaut Jessica Meir and cosmonaut Oleg Skripochka.

Amidst the excitement over the upcoming 10 (!) spacewalks in the next three months, there’s also been some cool developments in the open source space, with one of the first ESP32s launched into space.

[Nico Maas] from the Microgravity User Support Center (MUSC) at DLR (German Aerospace Center) worked on an experiment launched by MORABA (Mobile Rocket Base) at DLR. The launch site was at the Esrange Space Center in Kiruna, Sweden, with the mission launching on June 13, 2019 at 4:21 am local time.

The experiment – APEX (Advanced Processors, Encryption, and Security Experiment) was onboard the ATEK / MAPHEUS-8, mission, rising to an altitude of 240km into space and returning back to earth after six minutes of microgravity.

[via AIP]
The goal of the research was to develop an off-the-shelf computer with a more powerful system for high-speed sensors and image acquisition than the Microchip ATmega328P, the current standard. The flight test measured the speed of the system as well as stress testing its ability to handle compute-intensive tests.

The main board included two ESP32s and a Raspberry Pi Zero W, running resinOS / balenaOS, an operating system designed to run parallel Docker containers and optimized for IoT fleet management.

Prior to the experiment, the standard for on-board computers for use in CubeSats was the ATmega/Arduino-based ARDUSAT. Since it was first made available for use in CubeSats in 2013, the performance has become limited, with improvements needed to perform higher throughput data sampling or operations requiring more computational power.

It’s also cool to note that the system, built using a 3D-printed holder, survived the re-entry (reaching up to 20.6g) with hardly a scratch.

Continue reading “Sending An ESP32 Into Space”

Spinning ESP32 Display Puts The Customer First

Most of the projects we feature on Hackaday are built for personal use; designed to meet the needs of the person creating them. If it works for somebody else, then all the better. But occasionally we may find ourselves designing hardware for a paying customer, and as this video from [Proto G] shows, that sometimes means taking the long way around.

The initial task he was given seemed simple enough: build a display that could spin four license plates around, and make it so the speed could be adjusted. So [Proto G] knocked a frame out of some sheet metal, and used an ESP32 to drive two RC-style electronic speed controllers (ESCs) connected to a couple of “pancake” brushless gimbal motors. Since there was no need to accurately position the license plates, it was just a matter of writing some code that would spin the motors in an aesthetically pleasing way.

Unfortunately, the customer then altered the deal. Now they wanted a stand that could stop on each license plate and linger for a bit before moving to the next one. Unfortunately, that meant the ESCs weren’t up to the task. They got dumped in favor of an ODrive motor controller, and encoders were added to the shafts so the ESP32 could keep track of the display’s position. [Proto G] says he still had to work out some kinks, such as how to keep the two motors synchronized and reduce backlash when the spinner stopped on a particular plate, but in the end we think the results look fantastic. Now if only we had some license plates we needed rotisseried…

If [Proto G] knew he needed precise positioning control from the start, he would have approached the project differently and saved himself a lot of time. But such is life when you’re working on contract.

Continue reading “Spinning ESP32 Display Puts The Customer First”