Innovating A Backyard Solar Battery System

Ever on the lookout for creative applications for tech, [Andres Leon] built a solar powered battery system to keep his Christmas lights shining. It worked, but — pushing for innovation — it is now capable of so much more.

The shorthand of this system is two, 100 amp-hour, deep-cycle AGM batteries charged by four, 100 W solar panels mounted on an adjustable angle wood frame. Once back at the drawing board, however, [Leon] wanted to be able track real-time statistics of power collected, stored and discharged, and the ability to control it remotely. So, he introduced a Raspberry Pi running Raspbian Jessie Lite that publishes all the collected data to Home Assistant to be accessed and enable control of the system from the convenience of his smartphone. A pair of Arduino Deuemilanoves reporting to the Pi control a solid state relay powering a 12 V, 800 W DC-to-AC inverter and monitor a linear current sensor — although the latter still needs some tinkering. A in-depth video tour of the system follows after the break!

Continue reading “Innovating A Backyard Solar Battery System”

Sneak Thieves Beware: A Pi Watcheth

Ever have that strange feeling that somebody is breaking into your workshop? Well, Hackaday.io user [Kenny] has whipped up a tutorial on how to scratch that itch by turning a spare Raspberry Pi you may have kicking around into a security camera system that notifies you at a moment’s notice.

The system works like this: a Raspberry Pi 3 and connected camera module remain vigilant, constantly scanning for motion and recording video. If motion is detected, it immediately snaps and sends a picture to the user’s mobile via PushBullet, then begins recording video. If there is still movement after a few seconds, the process repeats until the area is once again devoid of motion. This also permits a two-way communication with your Pi security system, so you can check in on the live feed whenever you feel the urge.

To get this working for you — assuming that your Pi has been recently updated — setup requires setting up a PushBullet account as well as installing it on your mobile and  linking it with an API. For your Pi, you can go ahead with setting up some Python PushBullet libraries, installing FFmpeg, Pi Camera Notifier, and others. Or, install the ready-to-go image [Kenny] has prepared. He gets into the nitty-gritty of the code in his guide, so check that out or watch the tutorial video after the break.

Continue reading “Sneak Thieves Beware: A Pi Watcheth”

Automating Plant Care

[Daniyal]’s goal is to build an automated garden that allows him to grow plants in any environment he chooses. He’s got a good start with this rig, which is controlled by a Pi Zero connected via serial to an Arduino Mega clone, which  in turn controls a bank of relays and sensors.

Monitoring the environment is a temperature and humidity sensor as well as a series of  six soil moisture sensor spikes. The relays control the water pump(s?) and lights, allowing [Daniyal] to maintain specific conditions depending on what he’s growing.

[Daniyal] has ambitious goals for the project. The Pi has a camera on it, and he hopes to not only maintain the greenhouse from the Internet, but also figure out how to monitor plant growth automatically, so that the Pi can measure plant growth and adjust the conditions without his input.

We’ve covered a lot of very cool horticulture projects here on HaD, including radio-connected soil sensors, using G-cal to create an internet of lawns, and the Garden of Eden watering kit.

Robot Solves Sudoku On Paper

Sudoku is a great way to pass some time, especially on a long flight. However, we don’t think the airlines will let [Sanahm] board with his sudoku-solving robot. The basic machine looks like a 2D plotter made with aluminum extrusion, with the addition of a Raspberry Pi and a camera. The machine can read a sudoku puzzle, solve it, and then fill in the puzzle with a pen. Unlike humans, it should never need to erase its work.

The software uses OpenCV to process the camera data, find the grid, and the cells provided by the puzzle. TensorFlow recognizes the numbers. From there, it is all just math to solve the puzzle. Once solved, the plotter part of the robot takes over and fills in the blanks. After all that, this seems like the easy part.

Continue reading “Robot Solves Sudoku On Paper”

Making A Small-Scale Brewery With A Raspberry Pi And Python

No doubt many Hackaday readers will have tried their hand at home brewing. It’s easy enough, you can start with a can of hopped malt extract and a bag of sugar in a large bucket in your kitchen and achieve a decent enough result. Of course, once you get the taste it’s a field of infinite possibilities, so many enthusiasts go further into the realm of beer making with specialty ingredients and carefully controlled mash tuns.

Such an inductee into the brewery arts is [Christopher Aedo], who has documented his automated brewing system driven by a Raspberry Pi running CraftBeerPi. And it’s an impressive setup, with boil kettle, mash tun, and heat exchanger, a 5KW heating element, and all associated valves, pipes, pumps, and sensors. This ensures consistency and fine control over temperature over the long-term at all stages of the brew, something that would be very difficult to achieve manually at this scale.

The whole brewery is mounted on a cart for portability and has been used for a lot of brew cycles of many different styles. We can’t help a touch of envy at the array of beer taps in his kitchen.

Over the years we’ve brought you a few brewing projects. Another Pi-based setup graced these pages in 2012, as did a brewery using a Lego Mindstorms controller. Top marks go though to the brewer who fought his beer belly through brewing machinery powered by an exercise bike.

Via Recantha.

Tweet The Power Of Lightning!

How quickly would you say yes to being granted the power to control lightning? Ok, since that has hitherto been impossible, what about the lesser power of detecting and tweeting any nearby lightning strikes?

Tingling at the possibility of connecting with lightning’s awesome power in one shape or another, [Hexalyse] combined AMS’s lightning sensor chip with a Raspberry Pi and a whipped up a spot of Python code to tweet the approach of a potential storm. Trusting the chip to correctly calculate strike data, [Hexalyse]’s detector only tweets at five minute intervals — because nobody likes a spambot — but waits for at least five strikes in a given time frame before announcing that a storm’s-a-brewing. Each tweet announces lightning strike energy, distance from the chip, and number of strikes since the last update. If there haven’t been any nearby lightning strikes for an hour, the twitter feed announces the storm has passed.

It just so happened that as [Hexalyse] finished up their project, a thunderstorm bore down on their town of Toulouse, France putting their project to the test — to positive success. Check out the detector’s tweets (in French).

We recently featured another type of lightning detector that auto-deploys a lightning rod once a storm arrives!

Atari 2600 In A Game Cartridge

[PJ Evans] had a ruined game cartridge lying around, just waiting for a project. As Activision’s F-14 Tomcat game for the Atari 2600 console, it seemed ripe for use as a project enclosure of some sort. When he came across a couple of 9-pin D-sub joystick ports, he had an idea. He realized his Rasperry Pi Zero could fit inside the cartridge. Add a power button, TV color selector, difficulty switch, as well as select and reset buttons, and you have an emulator.

[PJ]’s Pi Zero had more than enough GPIO pins to accommodate all of those buttons and switches plus a bunch more for the joysticks. Why not put the emulator inside a game cartridge? In terms of software [PJ] looked into Adafruit’s Retro Gaming with Raspberry Pi resource, which has tons of suggestions for setting up game emulators. He decided on the RetroPie operating system to help him map out all of the pins, with Stella doing the actual Atari 2600 emulation.

Thanks, @seb_ly]!