Screenshot from the presentation, showing the datalogger product image next to the datalogger specs stated. The specs are suspiciously similar to those of a Raspberry Pi 3.

Reclaiming A Pi-Based Solar Datalogger

There’s quite a few devices on the market that contain a Raspberry Pi as their core, and after becoming a proud owner of a solar roof, [Paolo Bonzini] has found himself with an Entrade ENR-DTLA04DN datalogger which – let’s just say, it had some of the signs, and at FOSDEM 2023, he told us all about it. Installed under the promise of local-only logging, the datalogger gave away its nature with a Raspberry Pi logo-emblazoned power brick, a spec sheet identical to that of a Pi 3, and a MAC address belonging to the Raspberry Pi Foundation. That spec sheet also mentioned a MicroSD card – which eventually died, prompting [Paolo] to take the cover off. He dumped the faulty SD card, then replaced it – and put his own SSH keys on the device while at it.

At this point, Entrade no longer offered devices with local logging, only the option of cloud logging – free, but only for five years, clearly not an option if you like your home cloud-free; the local logging was not flawless either, and thus, the device was worth exploring. A quick peek at the filesystem netted him two large statically-compiled binaries, and strace gave him a way to snoop on RS485 communications between the datalogger and the solar roof-paired inverter. Next, he dug into the binaries, collecting information on how this device did its work. Previously, he found that the device provided an undocumented API over HTTP while connected to his network, and comparing the API’s workings to the data inside the binary netted him some good results – but not enough.

The main binary was identified to be Go code, and [Paolo] shows us a walkthrough on how to reverse-engineer such binaries in radare2, with a small collection of tricks to boot – for instance, grepping the output of strings for GitHub URLs in order to find out the libraries being used. In the end, having reverse-engineered the protocol, he fully rewrote the software, without the annoying bugs of the previous one, and integrated it into his home MQTT network powered by HomeAssistant. As a bonus, he also shows us the datalogger’s main PCB, which turned out to be a peculiar creation – not to spoil the surprise!

We imagine this research isn’t just useful for when you face a similar datalogger’s death, but is also quite handy for those who find themselves at the mercy of the pseudo-free cloud logging plan and would like to opt out. Solar tech seems to be an area where Raspberry Pi boards and proprietary interfaces aren’t uncommon, which is why we see hackers reverse-engineer solar power-related devices – for instance, check out this exploration of a solar inverter’s proprietary protocol to get data out of it, or reverse-engineering an end-of-life decommissioned but perfectly healthy solar inverter’s software to get the service menu password.

A Solar Supercap Power Supply To Keep Your Projects Running

Solar garden lights and many other similar trinkets typically rely on cheap rechargeable batteries as a power source when the sun isn’t shining. [Darryl] figured that a supercapacitor could do the job instead, and set about building a solar supercap power supply that could run various projects. 

The power supply is built to use a small 60 x 40mm solar panel that provides approximately 500 mW at max output. This charges two supercapacitors which feed their output into a TPS61200 boost converter, specifically designed for working with ultra-low input voltages down to 0.3 V. The boost convert can then be configured to output 3.3 V or 5 V depending on the desired voltage for the device to be powered. A special MOSFET array part is used to charge the dual supercaps in series, ensuring they stay balanced and don’t get overcharged by the sun.

The design has worked well in practice. [Darryl] reports that it has successfully powered a LoRa device reporting every 10 minutes for over two years without issue.

Solar power is a magical thing, capable of providing energy for free if you can get out there and capture it. If you’re working on your own solar-powered projects, don’t hesitate to drop us a line!

Hackaday Links Column Banner

Hackaday Links: September 11, 2022

Good news out of Mars from the little lunchbox that could — in the seven times that MOXIE has run since it arrived in February 2021, it has reached its target production of six grams of oxygen per hour, which is in line with the output of a modest tree here on Earth. The research team which includes MOXIE engineers report that although the solid oxide electrolysis machine has shown it can produce oxygen at almost any time or day of the Martian scale, they have not shown what MOXIE can do at dawn or dusk, when the temperature changes are substantial, but they say they have ‘an ace up (their) sleeve’ that will let them do that. We can’t wait to see what they mean.

In other, somewhat funnier space news — early last Sunday morning, the ESA’s Solar Orbiter was cruising by Venus as part of a gravity-assist maneuver to get the Orbiter closer to the Sun. Two days before the Orbiter was to reach its closest point to the spacious star, it spat a coronal mass ejection in the general direction of both Venus and the Orbiter (dibs on that band name), as if to say ‘boo’. Fortunately, the spacecraft is designed to withstand such slights, but the same cannot be said for Venus — these events have their way with Venus’ atmosphere, depleting it of gasses.

Continue reading “Hackaday Links: September 11, 2022”

Hackaday Prize 2022: A Sun-Chasing Robot

There’s plenty of power to be had from the sun, but you need to be out of the shade to receive it. [Dennis] built a robot by the name of Sun Chaser that has the smarts to go where the sun is shining.

Sun Chaser is essentially a robotic solar panel, tasked with filling up its batteries as much as possible. It can then be used as a power supply for campsites or other remote areas, and used to charge devices as required.

A Raspberry Pi runs the show, paired with a Squid motor controller to run the drive system. Sun Chaser has a motorized solar panel onboard which can track the sun for maximum output, with the aid of six photoresistors to guide the positioning. A camera is used to image the area around Sun Chaser, too, and processing is used to identify sunny regions which will provide the most energy.

Even outside of its useful applications, the idea of having a robot that can run around and keep itself juiced up is a fun one. Solar power gives a robot a greater sense of autonomy, after all. This author has experimented in this field to great enjoyment, too. Video after the break.

Continue reading “Hackaday Prize 2022: A Sun-Chasing Robot”

Hackaday Prize 2022: Solar Power Through Pyrolysis

We’re all familiar with solar cells, be they photovoltaic, or for heating water. But they are only the more common ways of converting the sun’s energey into usable power, and to the extended list there is now an addition courtesy of [Dennis]. He’s using the sun to drive the pyrolysis of biomass waste, releasing hydrogen fuel.

For those who aren’t familiar with the chemistry, pyrolysis refers to chemical reactions triggered by heat. In this case, when organic biomass is heated in the absence of oxygen it breaks down and releases the gaseous products of that breakdown as well as a mass of carbon. The idea behind this pyrolysis cell is that a Fresnel lens will focus the sun on a reaction chamber, providing the required heat for the reaction to occur. A test with a magnifier and a test tube proves that there’s something in it.

Of course, sharp-eyed readers will notice that this isn’t quite in the same vein as other cells which convert the Sun’s energy into a usable form, in that while it provides an input of energy for the pyrolysis the chemical energy in the resulting gas comes mostly from the original biomass. There is a silver lining to the prospect of burning gas though, in that the left-over carbon can be incorporated into the soil as biochar, an effective carbon sink.

We’ve seen a project pursuing a similar chemistry before, though not using solar energy to do it.

Dead Solar Panels Are The Hottest New Recyclables

When it comes to renewable energy, there are many great sources. Whether it’s solar, wind, or something else, though, we need a lot of it. Factories around the globe are rising to the challenge to provide what we need.

We can build plenty of new solar panels, of course, but we need to think about what happens when they reach end of life. As it turns out, with so much solar now out in the field, a major new recycling industry may be just around the corner.

Continue reading “Dead Solar Panels Are The Hottest New Recyclables”

2022 Hackaday Prize: ArmaLamp Provides Light, No Matter What

Instant access to electric light is a luxury that most of us take for granted, but in times of crisis, the power is often the first thing to go. So whether you’re worried about a natural disaster or the outbreak of war, a reliable source of light is a must-have in your emergency kit. Creator [bobricius] calls his is ArmaLamp the “Armageddon resistant night lamp”, and while we’re not eager to test that particular claim, it certainly looks robust enough to get you through some tough times.

The basic idea behind the ArmaLamp is to make a light source so simple that, outside of being physically destroyed, it can’t fail. That means deleting the mechanical power switch and designing the circuit so the LED light will kick on automatically in the dark. Rather than using a traditional rechargeable battery, the solar powered ArmaLamp stores its charge in a 10 farad supercapacitor that can be charged and depleted daily without having to worry about long-term degradation.

Charging the ArmaLamp with a simple solar cell is clearly out of the question as it would represent not just a single point of failure, but a particularly fragile one at that. Instead, [bobricius] is using an array of six BPW34 photodiodes that come in a hard plastic package. Combined with an efficient driver circuit that can run the LED even when the supercap is down to 0.3 V, leaving the ArmaLamp outside during the day should provide you with four hours of ultra-reliable light every night.

Continue reading “2022 Hackaday Prize: ArmaLamp Provides Light, No Matter What”