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 white longtail cargo bike sits on grass with fenced-in planters behind it. The bike has a basket made of black metal tubes on the front and a passenger compartment behind the rider seat for children made of similar black metal tubes. A white canopy is above the passenger compartment and a solar panel sits atop the canopy.

Solar Powered E-bike Replaces Car Trips

E-bikes can replace car trips for some people, and adding a solar panel can make the fun last longer. [Luke] did some heavy modifications to his RadWagon to make it better, stronger, and faster than it was before.

The first step was replacing the stock 750 W controller with a 1500 W model to give the motor twice the power. [Luke] plans to replace the motor if it gets fried pushing too much juice, but is planning on just being careful for now. To stop this super-powered ride, he swapped the stock mechanical discs out for a hydraulic set which should be more reliable, especially when loading down this cargo bike.

On top of these performance enhancements, he also added a 50 W solar panel and maximum power point tracking (MPPT) charge controller to give the bike a potential 50% charge every day. Along with the OEM kid carrier and roof, this bike can haul kids and groceries while laughing at any hills that might come its way.

Checkout this other solar e-bike or this one making a trip around the world for more fun in the sun.

Breakers for the system on a DIN rail, with markings like 48V and 24V and 12V and so on on the bottom, and two hefty devices of some kind on the bottom, probably MPTT controllers, with hefty wires running from them.

Low-Voltage DC Network Build Incited By Solar Panels

Nowadays, some people in Europe worry about energy prices climbing, and even if all the related problems disappear overnight, we’ll no doubt be seeing some amounts of price increase. As a hacker, you’re in a good position to evaluate the energy consuming devices at your home, and maybe even do something about them. Well, [Peter] put some solar panels on his roof, but couldn’t quite figure out a decent way to legally tie them into the public grid or at least his flat’s 220V network. Naturally, a good solution was to create an independent low-voltage DC network in parallel and put a bunch of devices on it instead!

He went with 48V, since it’s a voltage that’s high enough to be efficient, easy to get equipment like DC-DCs for, safe when it comes to legal matters concerned, and overall compatible with his solar panel setup. Since then, he’s been putting devices like laptops, chargers and lamps onto the DC rail instead of having them be plugged in, and his home infrastructure, which includes a rack full of Raspberry Pi boards, has been quite content running 24/7 from the 48V rail. There’s a backup PSU from regular AC in case of overcast weather, and in case of grid power failures, two hefty LiFePO4 accumulators will run all the 48V-connected appliances for up to two and a half days.

The setup has produced and consumed 115kWh within the first two months – a hefty contribution to a hacker’s energy independence project, and there’s enough specifics in the blog post for all your inspiration needs. This project is a reminder that low-voltage DC network projects are a decent choice on a local scale – we’ve seen quite viable proof-of-concept projects done at hackercamps, but you can just build a small DC UPS if you’re only looking to dip your feet in. Perhaps, soon we’ll figure out a wall socket for such networks, too.

Comparing Solar Energy Harvesters

There doesn’t have to be much more to setting up a simple solar panel installation than connecting the panel to a battery. Of course we would at least recommend the use of a battery management system or charge controller to avoid damaging the battery, although in a pinch it’s not always strictly necessary. But these simple systems leave a lot on the table, and most people with any sizable amount of solar panels tend to use a maximum power point tracking (MPPT) system to increase the yield of the panels. For a really tiny installation like [Salvatore] has, you’ll want to take a look at a similar system known as a solar energy harvester.

[Salvatore] is planning to use an energy harvester at his small weather station, which is currently powered by an LDO regulator and a small solar cell. While this is fairly energy efficient, the energy harvesters that he is testing with this build will go far beyond what an LDO is capable of. The circuit actually has two energy harvesters built onto it which allows him to test the capabilities of both before he makes a decision for his weather station. Every amount of energy is critical when using the cell he has on hand, which easily fits in the palm of one’s hand.

The testing of this module isn’t complete yet, but he does have two working prototypes to test in future videos to see which one truly performs the best. For a project of this size, this is a great way to get around the problem of supplying a small amount of power to something remote. For a larger solar panel installation, you’ll definitely want to build an MPPT system though.

Continue reading “Comparing Solar Energy Harvesters”

24 Hours Of Le Airplanes

There’s no more famous road endurance race than the 24 Hours of Le Mans, where teams compete to see how far they can drive in a single 24-hour window. The race presents unique challenges not found in other types of racing. While RC airplanes may not have a similar race, [Daniel] a.k.a. [rctestflight] created a similar challenge for himself by attempting to fly an RC airplane non-stop for as long as he could, and a whole host of interesting situations cropped up before and during flight.

In order for an RC plane to fly for an entire day, it essentially needs to be solar powered. A large amount of strategy goes into a design of this sort. For one, the wing shape needs to be efficient in flight but not reduce the amount of area available for solar panels. For another, the start time of the flight needs to be balanced against the position of the sun in the sky. With these variables more or less fixed, [Daniel] began his flight.

It started off well enough, with the plane in an autonomous “return to home” mode which allowed it to continually circle overhead without direct human control. But after taking a break to fly it in FPV mode, [Daniel] noticed that the voltage on his battery was extremely high. It turned out that the solar charge controller wasn’t operating as expected and was shunting a large amount of solar energy directly into the battery. He landed and immediately removed the “spicy pillow” to avoid any sort of nonlinear event. With a new battery in the plane he began the flight again.

Even after all of that, [Daniel] still had some issues stemming from the aerodynamic nature of this plane specifically. There were some issues with wind, and with the flight controller not recognizing the correct “home” position, but all in all it seems like a fun day of flying a plane. If your idea of “fun” is sitting around and occasionally looking up for eight and a half hours. For more of [Daniel]’s long-term autonomous piloting, be sure to take a look at his solar tugboat as well.

Continue reading “24 Hours Of Le Airplanes”

Hackaday Prize 2022: Solar Powered LoRa Weather Station For The Masses

[Debasish Dutta] has designed a few weather stations in the past, and this, the fourth version of the system has had many of the feature requests from past users rolled in. The station is intended to be used with an external weather sensor unit, provided by Sparkfun. This handles wind speed and direction, as well as measuring rainfall. A custom PCB hosts an ESP32-WROOM module and an Ai-Thinker Ra-02 LoRa module for control and connectivity respectively. A PMS5003 sits on the PCB to measure those particulate densities, but most sensors are connected with simple 4-way I2C connectors. Temperature, humidity, and pressure are handled by a BME280 module, UV Index (SI1145), visible light (BH1750) even soil humidity and temperature with a cable-mounted SHT10 module.

All this is powered by a solar panel, which charges a 18650 cell, and keeps the show running during the darker hours. For debugging and deployment, a USB-C power port can also be used to provide charge. A 3D printed Stevenson screen type enclosure allows the air to circulate amongst the PCB-mounted sensor modules, without hopefully too much moisture making it in there to cause mischief.

On the data collection and visualization side, a companion LoRa receiver module is in progress, which is intended to pass along measurements to a variety of services. Think Home Assistant, ESP home, and that kind of thing. Software is still a work in progress, so maybe check back later to see how [Debasish] is getting on with that?

This kind of multi-sensor hosting project is nothing new here, here’s a 2019 Hackaday prize entry along the same lines. Of course, gathering and logging measurement data is only part of the problem, visualization of those measurements is also important. Why not use a mechanical approach, such as a diorama?

Hackaday Prize 2022: DIY Landslide Warning System

Landslides can be highly dangerous to both people and property. As with most natural disasters, early warning can make all the difference. [Airpocket] has built a cheap, affordable system that hopes to offer just that.

The system relies on a network of sensors built with Sony Spresense controllers, built into solar garden light enclosures which provide a watertight enclosure and a sustainable power supply. The controllers are paired with accelerometers to detect movement, and communicate over a WiSUN connection back to a Raspberry Pi 4B base station. When a deployed sensor station detects movement, it sends a message back to the base station, which sounds the alarm that a landslide may be imminent.

Early testing shows the concept works in theory. In practice, some improvements to reduce power draw and increase communication reliability are required. However, it’s a solid proof of concept for a simple landslide warning system.

Early warning is always key when it comes to things like landslides, tsunamis, and earthquakes. In fact, the US Geological Survey has done its own work on predicting earthquakes and providing early warning, too. Video after the break.

Continue reading “Hackaday Prize 2022: DIY Landslide Warning System”