DIY, Full-Stack Farm Automation

Recently, [Vinnie] aka [vinthewrench] moved from Oregon to Arkansas to start a farmstead. This is a style of farming that focuses not just on a profitable farm where produce is sold at market, but also on a homestead where much of one’s own food is grown on the farm as well. Like any farm, though, it’s extremely hard work that takes a tremendous amount of time. Automation and other technology can make a huge impact in these situations, and [Vinnie] is rolling out his own software stack to help with this on his farm.

He calls his project the Pi Internet of Things, or PioT, and as its name suggests is based around the Raspberry Pi. Since this will all be outdoors and exposed to the extremes of Arkansas weather, everything built under the auspices of this project prioritizes ruggedness, stability, and long-term support, all while avoiding any cloud service. The system also focuses on being able to ride through power outages. The server side, called piotserver, uses a REST API to give the user access to the automation systems through a web interface

[Vinnie] also goes into detail about why existing systems like Home Assistant and Open Sprinkler wouldn’t work in his situation, and why a ground-up solution like this is more appropriate for his farm. This post is largely an overview of his system, but some of his other posts go into more detail about things like integrating temperature sensors, rainfall monitoring, controlling irrigation systems, and plenty of other farm automation tasks that are useful for any farmer or gardener.

We’ve also seen some other projects of his here like this project which converts a common AC sprinkler system to an easier-to-use DC system, and a DIY weather station that operates in the 915 MHz band. He’s been a great resource for anyone looking to have technology help them out with their farm or garden, but if you’re just getting started on your green thumb be sure to take a look at this starter guide as well.

AC Motor Converted Into DC EBike Powerplant

AC induction motors are everywhere, from ceiling fans to vehicles. They’re reliable, simple, and rugged — but there are some disadvantages. It’s difficult to control the speed without complex electronics, and precisely placing the shaft at a given angle is next to impossible. But the core of these common induction machines can be modified and rewired into brushless DC (BLDC) motors, provided you have a few tools on hand as [Austin] demonstrates.

To convert an AC induction motor to a brushless DC electric motor (BLDC), the stator needs to be completely rewired. It also needs a number of poles proportional to the number of phases of the BLDC controller, and in this case the 24-pole motor could accommodate the three phases. [Austin] removed the original stator windings and hand-wound his own in a 16-pole configuration. The rotor needs modification as well, so he turned the rotor on a lathe and then added a set of permanent magnets secured to the rotor with JB Weld. From there it just needs some hall effect sensors, a motor controller and power to get spinning.

At this point the motor could be used for anything a BLDC motor would be used. For this project, [Austin] is putting it on a bicycle. A 3D printed pulley mounts to the fixed gear on the rear wheel, and a motor controller, battery, and some tensioners are all that is left to get this bike under power. His tests show it comfortably drawing around 1.3 kW so you may want to limit this if you’re in Europe but other than that it works extremely well and reminds us of one of our favorite ebike conversions based on a washing machine motor instead of a drill press.

Continue reading “AC Motor Converted Into DC EBike Powerplant”

Old Windsurfers Become New Electric Surfboards

Windsurfing has experienced a major decline in popularity in the last few decades as the sport’s culture failed to cater to beginners at the same time that experienced riders largely shifted to kiteboarding. While it’s sad to see a once-popular and enjoyable sport lose its mass market appeal, it does present a unique opportunity for others as there’s cheap windsurfing gear all over the online classifieds now. [Dane] recently found that some of these old boards are uniquely suited to be modified into electric surfboards.

The key design element of certain windsurfers that makes this possible is the centerboard, a fin mounted on the windsurfer extending down into the water that resists the lateral force of the sail, keeping the board moving forward instead of sideways. [Dane] used this strengthened area of the board to mount a submerged electric motor, with all of the control electronics and a battery on the top of the board. The motor controller did need a way to expel excess heat while being in a sealed waterproof enclosure, but with a hole cut in the case and a heat sink installed on top of it, this was a problem quickly solved.

The operator control consists of a few buttons which correspond to pre-selected speeds on the motor. There’s no separate control input for steering, though; in order to turn this contraption the operator has to lean the board. With some practice it’s possible to stand up on this like any other electric surfboard and scoot around [Dane]’s local lake. For the extreme budget version of this project be sure to check out [Ben Gravy]’s model which involves duct taping two cheap surfboards together instead.

A Linux Power User Puts SteamOS To Work

The line between a Linux user and a Linux power user is a bit gray, and a bit wide. Most people who install Linux already have more computer literacy than average, and the platform has long encouraged experimentation and construction in a way macOS and Windows generally aren’t designed for. Traditional Linux distributions often ask more of their users as well, requiring at least a passing familiarity with the terminal and the operating system’s internals especially once something inevitably breaks.

In recent years, however, a different design philosophy has been gaining ground. Immutable Linux distributions like Fedora Silverblue, openSUSE MicroOS, and NixOS dramatically reduce the chances an installation behaves erratically by making direct changes to the underlying system either impossible or irrelevant.

SteamOS fits squarely into this category as well. While it’s best known for its console-like gaming mode it also includes a fully featured Linux desktop, which is a major part of its appeal and the reason I bought a Steam Deck in the first place. For someone coming from Windows or macOS, this desktop provides a familiar, fully functional environment: web browsing, media playback, and other basic tools all work out of the box.

As a Linux power user encountering an immutable desktop for the first time, though, that desktop mode wasn’t quite what I expected. It handles these everyday tasks exceptionally well, but performing the home sysadmin chores that are second nature to me on a Debian system takes a very different mindset and a bit of effort. Continue reading “A Linux Power User Puts SteamOS To Work”

High-Tech Trailer Brings Water Home

Living without standard utility hookups like electricity, Internet, water, and sewer comes with a whole host of challenges, all of which are most commonly solved by spending lots of money. For electricity, a solar array or a generator is fairly common. The Internet can similarly be accessed via a satellite link if wires aren’t available. For water, most people will drill a well, but that gets similarly expensive. [Cranktown City] recently bought an off-grid home and needed a way to get water to it on a budget, so he built this water trailer instead.

Continue reading “High-Tech Trailer Brings Water Home”

Graphing Calculator Gets USB-C Upgrade

Unlike Texas Instruments, whose graphing calculators have famously not made technological improvements in decades despite keeping the same price tag, HP has made a few more modern graphing calculators in the last few years. One of which is the HP Prime which boasts hardware from the mid-2010s including an ARM processor, a color screen, and rechargeable lithium battery. But despite this updated hardware it’s still using micro-USB for data and charging. [David] wanted to fix that by giving this calculator a USB-C port.

The first steps were disassembling the calculator case and removing the micro-USB port. The PCB is glued to the LCD screen which isn’t ideal, but he was able to work on it with everything attached. The parts are small enough to need a microscope, and with a hot air station he was quickly able to remove the USB port. His replacements from a generic online retailer were able to be soldered without much effort, but there was one major complication. The new USB-C ports didn’t account for the “On The Go” mode supported by micro-USB and were shorting a pin to ground which put the calculator into “host” mode instead of acting as a device. But using the microscope and cutting a trace on the PCB disabled this mode permanently and got the calculator working properly.

As far as modernizing calculators go, it seems like the HP Prime checks a lot of boxes, with the major downside that the LCD screen and more powerful processor means that the battery needs to be charged more often than the old TI calculators. Rather than carry a dongle around everywhere, [David] found this to be a much more efficient change to his trusty HP. If you’re still stuck using TI calculators, though, there are a few ways to modernize those as well like this build which adds a lithium battery or this one which ports a few Game Boy games to the platform.

Super Mario 64, Now With Microtransactions

Besides being a fun way to pass time, video gaming is a surprisingly affordable hobby per unit time. A console or budget PC might only cost a few hundred dollars, and modern games like Hollowknight: Silksong can provide 40-60 hours of experience for only around $20 USD. This value proposition wasn’t really there in the 80s, where arcade cabinets like Gauntlet might have cost an inflation-adjusted $8 per hour in quarters. This paradigm shift is great for gamers, but hasn’t been great for arcade owners. [PrintAndPanic] wanted to bring some of that old coin munching vibe into console gaming, and so added a credit system to Super Mario 64.

The project is a fork of a decompilation of Super Mario 64, which converts the original machine code into a human-friendly format so bugs can be fixed and other modern features added. With the code available, essentially anyone can add features into the game that weren’t there already. In this case, [PrintAndPanic] is using a Raspberry Pi connected to a coin slot, so when coins are put into the game like an old arcade machine, the Raspberry Pi can tell the modified version of Super Mario 64 to add credits. These credits allow the player to run and jump, and when the credits run out Mario becomes extremely limited and barely able to outrun even the slowest Bombombs and Goombas.

With some debugging out of the way and the custom game working, [PrintAndPanic] built a custom enclosure for the game and the coin slot to turn it into a more self-contained arcade-style machine. The modified code for this project is available on the project’s GitHub page for those who want to play a tedious version of a favorite video game that costs more money than it should.

There are plenty of other modifications for this classic as well, most of which involve improving the game instead of adding a modern microtransaction-based system.

Continue reading Super Mario 64, Now With Microtransactions”