Give Your Solar Garden Lights A Color Changing LED Upgrade

White LEDs were the technological breakthrough that changed the world of lighting, now they are everywhere. There’s no better sign of their cost-effective ubiquity than the dollar store solar garden light: a complete unit integrating a white LED with its solar cell and battery storage. Not content with boring white lights on the ground, [Emily] decided to switch up their colors with a mix of single-color LEDs and dynamic color-changing LEDs, then hung them up high as colorful solar ornaments.

The heart of these solar devices is a YX8018 chip (or one of its competitors.) While the sun is shining, solar power is directed to charge up the battery. Once the solar cell stops producing power, presumably because the sun has gone down, the chip starts acting as a boost converter (“Joule thief”) pushing a single cell battery voltage up high enough to drive its white LED. Changing that LED over to a single color LED is pretty straightforward, but a color changing LED adds a bit of challenge. The boost converter deliver power in pulses that are too fast for human eyes to pick up but the time between power pulses is long enough to cause a color-changing circuit to reset itself and never get beyond its boot-up color.

The hack to keep a color-changing LED’s cycle going is to add a capacitor to retain some charge between pulses, and a diode to prevent that charge from draining back into the rest of the circuit. A ping-pong ball serves as light diffuser, and the whole thing is hung up using a 3D-printed sheath which adds its own splash of color.

Solar garden lights are great basis for a cheap and easy introduction to electronics hacking. We’ve seen them turn into LED throwies, into a usable flashlight, or even to power an ATTiny microcontroller.

Continue reading “Give Your Solar Garden Lights A Color Changing LED Upgrade”

Dollar Store Garden Lights As ATtiny Power Supplies

Solar garden lights are just another part of the great trash pile of our age, electronics so cheap as to be disposable. Most of you probably have a set lurking somewhere at home, their batteries maybe exhausted. Internally though they are surprisingly interesting devices. A solar cell, a little boost converter chip, and a little NiCd battery alongside the LED. These are components with potential, as [Randy Elwin] noted with a mind to his ATtiny85 projects.

The YX805A chip he references in his write-up is one of several similar chips that function in effect as joule thieves, extending the available charge in the battery to keep the LED active as long as possible when their solar panel is generating nothing, and turning it off in daylight when the panel can charge. Their problem is that they are designed as joule thieves rather than regulators, so using them as a microcontroller PSU without modification can result in overvoltage.

His solution is to use the device’s solar panel input as a feedback pin from his ATtiny, allowing the microcontroller to keep an eye on its supply voltage and enable or disable the converter as necessary while it keeps running from the reservoir capacitor. Meanwhile the solar panel now charges the NiCd cell through a single diode. It’s not perfect and maybe needs a clamp or something, he notes that there is a condition in which the supply can peak at 8 volts, a level which would kill an ATtiny. But still, we like simple hacks on dollar store parts, so it’s definitely worth further investigation.

This isn’t the first garden light hack we’ve shown you, there was this flashlight, and some LED hacks.

Solar light picture: Leon Brooks [Public domain].

Cyborg, Or Leafy Sensor Array?

Some plants react quickly enough for our senses to notice, such as a Venus flytrap or mimosa pudica. Most of the time, we need time-lapse photography at a minimum to notice while more exotic sensors can measure things like microscopic pores opening and closing. As with any sensor reading, those measurements can be turned into action through a little trick we call automation. [Harpreet Sareen] and [Pattie Maes] at MIT brought these two ideas together in a way which we haven’t seen before where a plant has taken the driver’s seat in a project called Elowan. Details are sparse but the concept is easy enough to grasp.

We are not sure if this qualifies as a full-fledged cyborg or if this is a case of a robot using biological sensors. Maybe it all depends on which angle you present this mixture of plant and machine. Perhaps it is truly is the symbiotic relationship that the project claims it to be. The robot would not receive any instructions without the plant and the plant would receive sub-optimal light without the robot. What other ways could plants be integrated into robotics to make it a bona fide cyborg?

Continue reading “Cyborg, Or Leafy Sensor Array?”

Generating Power With Wind, Water, And Solar

It is three weeks after the apocalypse. No zombies yet. But you do need to charge your cell phone. How do you quickly make a wind turbine? If you’ve read this project, you might reach for a few empty water bottles. This educational project might not charge your phone without some extra work, but it does illustrate how to use water bottles to make a workable air scoop for turning a crank and possibly generating electricity.

That takes care of the wind and water aspects, but how did we get solar? According to the post — and we agree it is technically true — wind power is a form of solar power since the wind is driven by temperature differences created by the sun. Technically true!

Continue reading “Generating Power With Wind, Water, And Solar”

Solar-Powered IoT Sensor Saves Wine Batch From Overheating

Making wine isn’t just about following a recipe, it’s a chemical process that needs to be monitored and managed for best results. The larger the batch, the more painful it is to have something go wrong. This means that the stakes are high for small vineyards such as the family one [Mare] works with, which have insufficient resources to afford high-end equipment yet have the same needs as larger winemakers. The most useful thing to monitor is the temperature profile of the fermentation process, and [Mare] created an exceptional IoT system to do that using LoRa wireless and solar power.

It’s not enough just to measure temperature of the fermenting liquid; viewing how the temperature changes over time is critical to understanding the process and spotting any trouble. [Mare] originally used a Raspberry Pi, I2C temperature sensor, and a Wi-Fi connection to a database to do the monitoring. This was a success, but it was also overkill. To improve the system, the Raspberry Pi was replaced with a LoRaDunchy board, an STM-based module of [Mare]’s own design which is pin-compatible with the Arduino Nano. It includes a battery charger, power management, and LoRa wireless communication. Adding a solar cell and lithium-polymer battery was all it took to figuratively cut the power cord.

Sensing the temperature of fermentation is done by sealing the temperature sensor into a thin aluminum tube, and lowering that into the vat. There it remains, with the LoRaDunchy board periodically waking up to read the sensor and report the tempurature over LoRa before going back to sleep, all the while sipping power from the battery which in turn gets recharged with solar power.

It’s an elegant system that has already paid off. A 500 litre vat of wine generated an alarm when the temperature rose above 24 Celsius for 10 minutes. An email alert allowed the owner to begin mixing the solution and add ice water to put the brakes on the runaway reaction. The temperature dropped and slow fermentation resumed, thanks to the twin powers of gathering the right data, then doing something meaningful with it.

Vineyards and LoRa have joined forces before, for example in the Vinduino project which aims to enable water-smart farming. If you’re unfamiliar with LoRa in general, the LoRa on the ESP32 project page contains a good primer, and if the antenna on the module shown here looks familiar to you it’s because we recently featured [Mare]’s guide on making DIY LoRa antennas from salvaged wire.

The Linux Throwie: A Non-Spacefaring Satellite

Throwies occupy a special place in hardware culture — a coin cell battery, LED, and a magnet that can be thrown into an inaccessible place and stick there as a little beacon of colored light. Many of us will fondly remember this as a first project. Alas, time marches inevitably on, and launching cheerful lights no longer teaches me new skills. With a nod to those simpler times, I’ve been working on the unusual idea of building a fully functional server that can be left in remote places and remain functional, like a throwie (please don’t actually throw it). It’s a little kooky, yet should still deliver a few years of occasional remote access if you leave it somewhere with sunlight.

A short while ago, I described the power stages for this solar-powered, cloud accessible Linux server. It only activates on demand, so a small solar cell and modest battery are sufficient to keep the whole show running.

Where we left off, I had a solar cell that could charge a battery, and provide regulated 12 V and 5 V output. For it to be a functional device, there are three high level problems to solve:

  1. It must be possible to set up the device without direct physical access
  2. You must be able to remotely turn it on and off as needed.
  3. It needs to be accessible from the Internet.

The funny thing is, this hardware reminds me of a satellite. Of course it’s not meant to go into space, but I do plan to put it somewhere not easy to get to again, it runs off of solar power, and there’s a special subsystem (ESP8266) to tend the power, check for remote activation, and turn the main computer (Raspberry Pi 3) on and off as necessary. This sounds a lot like space race tech, right?

As I have a bit more code than usual to share with you today, I’ll discuss the most interesting parts, and provide links to the full firmware files at the end of the article.

Continue reading “The Linux Throwie: A Non-Spacefaring Satellite”

Self-Powered Sun Tracker Takes A Cue From NASA Solar Probe

Getting a solar array to track the sun has always been an interesting problem, and it has led to some complicated solutions. Controllers that use GPS and servos seem to be much in favor these days, but as this NASA-inspired sun tracker shows, the task needn’t be overly complex.

It’s pretty obvious from the video below that [NightHawkInLight]’s solar tracker is just a proof-of-concept for now, but it certainly shows promise. It’s based on NASA’s sun-skimming Parker Solar Probe, which uses sensors at the rear of the probe to maneuver the craft to keep sunlight from peeking around the sides of the shield. [NightHawkInLight]’s design simplifies that scheme even more, by using solar cells as the four sensors. The cells, mounted behind a solar shade, are directly connected to small gear motors that control azimuth and elevation. When a cell sees the sun, it powers the motor that moves the panel the right way to occlude the sun again, thereby cutting power to the motor.

[NightHawkInLight] mentions the obvious problem of what happens when the sun comes up and the array is pointing the complete opposite direction after the previous sunset, but we’re still not sure his solution – a larger array with tracking cells mounted further apart – will work. We’re also not sure how it will scale to larger arrays that need bigger motors to move. We’ve seen such arrays handled with more complicated trackers, of course, but we hope the simplicity of this design can be made practical for real-world use.

Continue reading “Self-Powered Sun Tracker Takes A Cue From NASA Solar Probe”