Improbably Cheap Pocket Welder Gets An ESP32 Makeover

If you move in certain shady circles, you may have noticed the crop of improbably cheap “pocket welders” popping up on the market these days. They’re all variations on a theme, most with wildly optimistic specs minimal accessories of the lowest possible quality. But their tiny size and matching price make them irresistible to the would-be welder, as well as attractive to hardware hackers.

With a 220-V outlet in the garage waiting to be filled and well-knowing the risks, [Mr. RC-Cam] purchased one of these diminutive welding machines. Its shortcomings were immediately apparent, and a complete rework of the welder was undertaken. After addressing safety issues like the lack of a ground connection, [Mr. RC-Cam] added a color-matched 3D-printed hood to house a fancy new LCD touchscreen display. Backing that up is an ESP32 with Bluetooth, which supports remote control via a key fob. He also added a current sense board that uses the welder’s current shunt to measure welding current. Expediently calibrated using a waffle iron and a milli-ohmmeter, the sensor showed that the 200A max advertised for the welder was more like 100A. He tried adding some big electrolytics to fix the current issues, but no dice. With a decent stinger and ground clamp, the modified welder is good enough for his needs, and much was learned in the process. We call that a hacking win.

As an aside, [This Old Tony] recently did a review on a similar welder if you want more details on the internals. We also covered the conversion of a buzz-box to a TIG welder recently, should that be more your style.

Continue reading “Improbably Cheap Pocket Welder Gets An ESP32 Makeover”

How Smart Are AI Chips, Really?

The best part about the term “Artificial Intelligence” is that nobody can really tell you what it exactly means. The main reason for this stems from the term “intelligence”, with definitions ranging from the ability to practice logical reasoning to the ability to perform cognitive tasks or dream up symphonies. When it comes to human intelligence, properties such as self-awareness, complex cognitive feats, and the ability to plan and motivate oneself are generally considered to be defining features. But frankly, what is and isn’t “intelligence” is open to debate.

What isn’t open to debate is that AI is a marketing goldmine. The vagueness has allowed for marketing departments around the world to go all AI-happy, declaring that their product is AI-enabled and insisting that their speech assistant responds ‘intelligently’ to one’s queries. One might begin to believe that we’re on the cusp of a fantastic future inhabited by androids and strong AIs attending to our every whim.

In this article we’ll be looking at the reality behind these claims and ponder humanity’s progress towards becoming a Type I civilization. But this is Hackaday, so we’re also going to dig into the guts of some AI chips, including the Kendryte K210 and see how the hardware of today fits into our Glorious Future. Continue reading “How Smart Are AI Chips, Really?”

ESP32 Makes Great MPPT Controller In Low-Cost Solar Installation

Solar power projects have become, in general, a matter of selecting components like panels and batteries, hooking them together with industry-standard connectors, and sitting back to watch the free electricity flow. As such, solar projects have become a bit boring, so it’s not often we see one that attracts our attention the way this dirt-cheap open-source solar project does.

The backstory on [Tim O’Brien]’s DIY off-grid PV system starts with his desire to charge his eWheel, which amounts to a battery-powered standing unicycle. They look like a fun option for getting around an urban environment if you have the requisite degree of coordination, which we clearly lack. But charging something like that or an eBike is a great use case for solar, especially since [Tim] happened upon a 450W PV panel on the cheap. Sadly, the panel was a commercial unit, and compatible off-the-shelf MPPT, or maximum power-point tracking, controllers are expensive.

His solution was to build his own controller using a cheap DC-DC converter that just so happens to have serial remote control. An ESP32 monitors the panel voltage and controls the buck converter to run whatever he wants. When he’s not charging his eWheel, the system runs his laptop and router. As a bonus, the ESP32 talks to IoT services like Adafruit.io and Thingspeak, allowing him to track MPPT data without shipping it off to parts unknown.

While we appreciate a DIY MPPT controller and like [Tim]’s build, we feel like the documentation needs a bit of fleshing out. With solar installations, the devil is in the details, and not addressing seemingly mundane issues like cable routing and connector installation can lead to disaster.

Ambitious LED Cube Provides Endless Video Game Scrolling; Plays Castlevania

LED cubes are all the rage right now, and rightly so given the amount of work that goes into them and the interesting things people find to do with them. Not content to make yet another position-sensitive display or an abstract design, though, [Greig Stewart] opted for something a bit more ambitious: an LED cube with a playable game of Castlevania.

As ambitious projects often do, this one required leveraging the previous art, some of which we’ve featured before. [Greig] pulled inspiration and information from cube builders like [polyfloyd], [Greg Davill], and [kbob] to put the six 64-LED matrix panels to work. Getting the structural elements figured out was an early stumbling block, but [Greig] pulled it off with 3D-printed brackets and a hinge that’s a work of art in itself; the whole thing looks like something the Borg would have built. The Raspberry Pi inside made a Gameboy emulator possible, and his first stab at it was to have six different games running at once, one on each panel. He settled on just one game, the classic side-scroller Castlevania, played on just four of the panels. Some wizardry was required to de-scroll the game so that the character walks around the cube rather than having the background scroll; you can check out the results in the clip below.

Currently, the cube sits on a lazy susan with a small motor controlling the swiveling in response to a foot control. [Greig] wants to put the motor under control of the game so that physical scrolling is synced with gameplay; we heartily endorse that plan and look forward to the results.

Continue reading “Ambitious LED Cube Provides Endless Video Game Scrolling; Plays Castlevania”

Rise And Shine With This Japanese-Inspired Clock

On the Hackaday.io page for his gorgeous “Sunrise Alarm Clock”, [The Big One] is quick to point out that his design is only inspired by Japanese lanterns, and does not use authentic materials or traditional woodworking techniques. Perhaps that’s an important fact to some, but we’ll just say that the materials used seem far less important when the end result looks this good.

Unfortunately [The Big One] hasn’t provided any interior shots of his clock, as it sounds like the aesthetics of the internal wiring isn’t quite up to the standard set by the outside of it. But he has provided a concise parts list, a wiring diagram, and source code, so we’ve got a pretty good idea of what’s under the hood.

The clock is powered by the uBBB 32u4, an ATMega32u4 development board that [The Big One] developed in conjunction with [Warren Janssens]. It uses the popular MAX7219 LED matrix for the display, and a DS3231 RTC module to help keep the time. There’s also a DFPlayer Mini module onboard that allows him to play whatever sound effects or music he wants when the alarm goes off.

Of course the star of the show is the LED strips which illuminate the shōji-style column. These have apparently been wrapped around a coffee can of all things, which not only serves as a convenient way of holding the strips, but [The Big One] says actually makes the speaker sound a bit better. Hey, whatever works.

This isn’t the first “lantern” clock to grace these pages, but compared to the high-tech presentation of previous projects, we can’t help but be impressed by the grace and elegance of this wooden masterpiece.

Google Creates Debuggable IPhone

Apple is known for a lot of things, but opening up their platforms to the world isn’t one of those things. According to a recent Google post by [Brandon Azad], there do exist special iPhones that are made for development with JTAG ports and other magic capabilities. The port is in all iPhones (though unpopulated), but is locked down by default. We don’t know what it takes to get a magic iPhone, but we are guessing Google can’t send in the box tops to three Macbook Pros to get on the waiting list. But what is locked can be unlocked, and [Brandon] set out to build a debuggable iPhone.

Exploiting some debug registers, it is possible to debug the A11 CPU at any point in its execution. [Brandon’s] tool single steps the system reset and makes some modifications to the CPU after key instructions to prevent the lockdown of kernel memory. After that, the world’s your oyster. KTRW is a tool built using this technique that can debug an iPhone with a standard cable.

Continue reading “Google Creates Debuggable IPhone”

Hackaday Links Column Banner

Hackaday Links: November 3, 2019

Depending on how you look at it, the Internet turned 50 years old last week. On October 29, 1969, the first message was transmitted between two of the four nodes that made up ARPANET, the Internet’s predecessor network. ARPANET was created after a million dollars earmarked for ballistic missile defense was diverted from the Advanced Research Projects Agency budget to research packet-switched networks. It’s said that ARPANET was designed to survive a nuclear war; there’s plenty of debate about whether that was a specific design goal, but if it was, it certainly didn’t look promising out of the gate, since the system crashed after only two characters of the first message were sent. So happy birthday, Internet, and congratulations: you’re now old enough to start getting junk mail from the AARP.

Good news for space nerds: NASA has persuaded Boeing to livestream an upcoming Starliner test. This won’t be a launch per se, but a test of the pad abort system intended to get astronauts out of harm’s way in the event of a launch emergency. The whole test will only last about 90 seconds and never reach more than 1.5 kilometers above the White Sands Missile Range test site, but it’s probably a wise move for Boeing to be as transparent as possible at this point in their history. The test is scheduled for 9:00 AM Eastern time — don’t forget Daylight Savings Time ends this weekend in most of the US — and will air on NASA Television.

Speaking of space, here’s yet another crowd-sourced effort you might want to consider getting in on if you’re of an astronomical bent. The Habitable Exoplanet Hunting Project is looking for a new home for humanity, and they need more eyes on the skies to do it. An introductory video explains all about it; we have to admit being surprised to learn that the sensitive measurements needed to see exoplanets transiting their stars are possible for amateur astronomers, but it seems doable with relatively modest equipment. Such are the advances in optics, CCD cameras, and image processing software, it seems. The project is looking for exoplanets within 100 light-years of Earth, perhaps on the hope that a generation ship will have somewhere to go to someday.

Space may be hard, but it’s nothing compared to running a hackerspace right here on Earth. Or at least it seems that way at times, especially when those times include your building collapsing, a police raid, and being forced to operate out of a van for months while searching for a new home, all tragedies that have befallen the Cairo Hackerspace over the last few years. They’re finally back on their feet, though, to the point where they’re ready to host Egypt’s first robotics meetup this month. If you’re in the area, stop by and perhaps consider showing off a build or even giving a talk. This group knows a thing or two about persistence, and they’ve undoubtedly got the coolest hackerspace logo in the world.

And finally, no matter how bad your job may be, it’s probably not as bad as restoring truck batteries by hand. Alert reader [rasz_pl] tipped us off to this video, which shows an open-air shop in Pakistan doing the dirty but profitable work of gutting batteries and refurbishing them. The entire process is an environmental and safety nightmare, with used electrolyte tossed into the gutter, molten lead being slung around by the bucketful, and not a pair of safety glasses or steel-toed shoes (or any-toed, for that matter) to be seen. But the hacks are pretty cool, like pouring new lead tabs onto the plates, or using a bank of batteries to heat an electrode for welding the plates together. We’ve talked about the recyclability of lead-acid batteries before and how automated plants can achieve nearly 100% reuse; there’s nothing automated here, though, and the process is so labor-intensive that only three batteries can be refurbished a day. It’s still fascinating to watch.

Continue reading “Hackaday Links: November 3, 2019”